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

📄 exampleg50c.m

📁 然後稍微檢查一下 tcl、tck 的版本與路徑
💻 M
字号:
% Example on how to use LDS on the g50c datasetload g50c;for i=1:10  Xl = X(idxLabs(i,:),:)';    Xu = X(idxUnls(i,:),:)';  Yl = y(idxLabs(i,:));  Yu = y(idxUnls(i,:));    opt.C = 0.1; % For this dataset, the classes overlap and it's               % better to have a small value of C  rho = 1;     % Anyvalue smaller than 3 is good (cf figure 5)  Yp = lds(Xl,Xu,Yl,rho,opt);    te(i) = mean( Yp.*Yu < 0 );  fprintf('    -> Test error after %d split(s): %f\n\n',i,mean(te));end;

⌨️ 快捷键说明

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