1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
| data = load(' sample');
datasample=data(:,2);
% Data input
Entree(:,1)=datasample(1:268);
Entree(:,2)=datasample(2:269);
Entree(:,3)=datasample(3:270);
Entree(:,4)=datasample(4:271);
Entree(:,5)=datasample(5:272);
Entree(:,6)=datasample(6:273);
Entree(:,7)=datasample(7:274);
Entree(:,8)=datasample(8:275);
Entree(:,9)=datasample(9:276);
Entree(:,10)=datasample(10:277);
Entree(:,11)=datasample(11:278);
Entree(:,12)=datasample(12:279);
% Data output
Sortie=datasample(13:280);
% Bases : Apprentissage, Validation et Test
DappInput=Entree(1:209,:); % Learning input
DappOutput=Sortie(1:209); % Learning output |
Partager