文件名称:LSM
介绍说明--下载内容均来自于网络,请自行研究使用
最小二乘法拟合function [TrainingTime, TestingTime, TrainingAccuracy, TestingAccuracy] = LSM(Inputs, Targets, No_of_Output)
a1=[];
a2=[];
a3=[];
a4=[];
%%%%%%%%%%%%% Selecte training set randomly
a = Inputs;
b = Targets;
c = [ b' a'];
[M,N] = size(c);
id = randperm(M,floor(0.7*M)).';
train1 = c(id,:);
c(id',:) = [];
test1 = c;(function [TrainingTime, TestingTime, TrainingAccuracy, TestingAccuracy] = LSM(Inputs, Targets, No_of_Output)
a1=[];
a2=[];
a3=[];
a4=[];
%%%%%%%%%%%%% Selecte training set randomly
a = Inputs;
b = Targets;
c = [ b' a'];
[M,N] = size(c);
id = randperm(M,floor(0.7*M)).';
train1 = c(id,:);
c(id',:) = [];
test1 = c;)
a1=[];
a2=[];
a3=[];
a4=[];
%%%%%%%%%%%%% Selecte training set randomly
a = Inputs;
b = Targets;
c = [ b' a'];
[M,N] = size(c);
id = randperm(M,floor(0.7*M)).';
train1 = c(id,:);
c(id',:) = [];
test1 = c;(function [TrainingTime, TestingTime, TrainingAccuracy, TestingAccuracy] = LSM(Inputs, Targets, No_of_Output)
a1=[];
a2=[];
a3=[];
a4=[];
%%%%%%%%%%%%% Selecte training set randomly
a = Inputs;
b = Targets;
c = [ b' a'];
[M,N] = size(c);
id = randperm(M,floor(0.7*M)).';
train1 = c(id,:);
c(id',:) = [];
test1 = c;)
相关搜索: 最小二乘法
(系统自动生成,下载前可以参看下载内容)
下载文件列表
LSM
LSM\bvgbhhh.mat
LSM\LSM.m
LSM\bvgbhhh.mat
LSM\LSM.m