⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 make_a_draw.m

📁 Duda的《模式分类》第二版的配套的Matlab源代码
💻 M
字号:
function [test_indices, train_indices] = make_a_draw(how_many, out_of_how_many)

%Choose a number of indices out of the maximum number allowed.

indices		  = randperm(out_of_how_many);
train_indices = sort(indices(1:how_many));
test_indices  = sort(indices(how_many+1:out_of_how_many));

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -