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

📄 prex3.m

📁 模式识别工具包
💻 M
字号:
%PREX3 PRTOOLS example of multi-class classifier plothelp prex3echo onglobal GRIDSIZEgs = GRIDSIZE;GRIDSIZE = 100;						% generate 2 x 2 normal distributed classesa = +gendath(20);		% data onlyb = +gendath(20);		% data onlyA = [a; b + 5];			% shift 2 over [5,5]lab = genlab([20 20 20 20],[1 2 3 4]');% generate 4-class labelsA = dataset(A,lab);		% construct datasethold off; 				% clear figurescatterd(A,'.'); drawnow;% make scatter plot for right sizew = qdc(A);				% compute normal densities based quadratic classifierplotd(w,'col'); drawnow;% plot classification regionshold on;scatterd(A);			% redraw scatter plotecho offGRIDSIZE = gs;

⌨️ 快捷键说明

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