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

📄 exp2_gda.m

📁 支持向量机工具箱
💻 M
字号:
%Example: GDA
% Description:
%  This function is implimentation of the Generalized Discriminant
%  Analysis (GDA) [Baudat01]. The GDA is kernelized version of
%  the Linear Discriminant Analysis (LDA). It produce the kernel data
%  projection which increases class separability of the projected 
%  training data.
  in_data = load('iris');
  subplot(2,1,1);title('原始分布');
 ppatterns(in_data);
  model = gda(in_data,struct('ker','rbf','arg',1));
 out_data = kernelproj( in_data, model );
  subplot(2,1,2);title('新的分布');
  ppatterns( out_data );

⌨️ 快捷键说明

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