最小二乘法拟合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; (2017-06-19, C/C++, 249KB, 下载2次)
适合使用NUVOTON nuc501 做开发的参考。
The NUC501 is an ARM7TDMI-based MCU, specifically designed to offer low-cost and high-performance for various applications, like interactive toys, edutainment robots, and home appliances. It integrates the 32-bit RISC CPU with 32KB high-speed SRAM, crypo engine with OTP key, boot ROM, LDO regulator, ADC, DAC, I2C, SPI, USB2.0 FS Device, & GPIO into a cost-affordable whil feature-rich micro-controller. (2010-10-29, C/C++, 1044KB, 下载13次)
三个txt数据文件的意义及其数据格式举例
97县名称号码、纬度、经度
Txt data files of three of the significance of the data formats, for example the name of 97 the county number, latitude, longitude (2009-05-21, C/C++, 4KB, 下载2次)
C++源代码,递归实现。原问题描述:鼓上蚤时迁到一个山洞里去盗宝,里面有n件宝贝,价值分别是a1,a2......an,并且满足ai大于a1+a2+....+a(i-1)的和。他身上有一个背包,能装的东西最大价值是K,他只能进洞一次,请问他最多能带出多少?
要求:输入K,n,a1,a2......an
输出:他能最多带出的宝物价值
C++ Source code Recursive achieve. The original problem description: drum when flea盗宝going to move in a cave, there are n pieces of treasure, valued are a1, a2 ...... an, and to meet ai than a1+ A22B !....+ a (i-1) and. Him to have a backpack, things can hold the greatest value is K, he could only hole once, to ask him to bring out the maximum number of? Requirements: Enter K, n, a1, a2 ...... an output: he can bring out the maximum value of the treasures (2008-12-02, C/C++, 1KB, 下载9次)