prex_cleval.m
来自「matlab的模式识别toolbox」· M 代码 · 共 20 行
M
20 行
%PREX_CLEVAL PRTools example on learning curves%% Presents the learning curves for Highleyman's classes%help prex_clevalecho on % Set desired learning sizes learnsize = [3 5 10 15 20 30]; % Generate Highleyman's classes A = gendath([100,100]); % Define classifiers (untrained) W = {ldc,qdc,knnc([],1),treec}; % Average error over 10 repetitions (it may take a while) % Test set is the complementary part of the training set E = cleval(A,W,learnsize,10); % Output E is a structure, specially designed for plotr plotr(E) echo off
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?