about summary refs log tree commit diff
path: root/sourcecodes/bnt-master/SLP/examples/UCI_DataSets/wineD.m
blob: bbe2e392393d817a62e369abd1afd754b144e944 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
load -ascii wine

[N, m] = size(wine)

class = 1

rand('state',0); randn('state',0);
wine = wine(:,randperm(m));

Napp = 80
Ntest = m-Napp

app  = wine(:,1:Napp);size(app)
test = wine(:,Napp+1:151);size(test)

%unique(app(class,:))
%unique(test(class,:))

%app  = wine;
%test = wine;
%disp('test en apprentissage');

ns = max(wine')
clear wine

% N, ns(class), Napp, Ntest, mean(ns),