📄 prex_plotc.m
字号:
%PREX_PLOTC PRTools example on the dataset scatter and classifier plothelp prex_plotcecho on % Generate Higleyman dataA = gendath([100 100]); % Split the data into the training and test sets[C,D] = gendat(A,[20 20]); % Compute classifiersw1 = ldc(C); % linearw2 = qdc(C); % quadraticw3 = parzenc(C); % Parzenw4 = lmnc(C,3); % neural net % Compute and display errors % Store classifiers in a cellW = {w1,w2,w3,w4}; % Plot errorsdisp(D*W*testc); % Plot the data and classifiersfigure % Make a scatter-plotscatterd(A); % Plot classifiersplotc({w1,w2,w3,w4}); echo off
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -