Displaying 1 result from an estimated 1 matches for "klasyfikacja".
2010 Jun 06
1
I need help in analyzing
...3 -0.4412781
x8 -2.2934686 0.8713075 1.4076988
x9 -0.3536417 -0.2746371 -0.4208209
x10 0.2013050 -0.5773421 0.3025799
Proportion of trace:
LD1 LD2 LD3
0.6918 0.2574 0.0508
> w=sample(1:60,20)
> test=dane[w,]
> ucz=dane[-w,]
> m=lda(y~.,ucz)
> test.x=test[,-11]
> klasyfikacja=predict(m,test.x)
> table(klasyfikacja$class,test$y)
blond braz czarne rude
blond 2 1 1 0
braz 2 3 2 1
czarne 0 2 2 0
rude 1 1 1 1
model=rpart(y~.,dane,method="class",control=rpart.control(xval=...