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

📄 exp_perceptron.m

📁 支持向量机工具箱
💻 M
字号:
% binary linear classifier with Perceptron
%addpath('f:/Matlab_EXP/stprtool');
figure('name','LinearFuction_perceptron');
clear;clc;

data = genlsdata( 2, 50, 1); % generate training data
model = perceptron( data ); % call perceptron
figure;
ppatterns( data,'num' ); % plot training data
% ppatterns( data,8 ); % plot training data
pline( model ); % plot separating hyperplane

⌨️ 快捷键说明

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