Displaying 3 results from an estimated 3 matches for "treino".
Did you mean:
treinz
2003 Jul 22
6
variable names
Dear helpers
I want to use rpart several times in a loop to build a classification tree. My problem is that rpart needs a formula as argument and for that the variables need to have names and this doesn't happen in my case. Every iteration in the loop has a different dataset with several variables (ex. 38 or more) and so I can't type the names by hand every time. Is there any function
2003 Jan 25
1
plot/screen
Dear helpers
I have this code to make 10 plots in the same device
a<-1
split.screen(c(2:5))
for (i in 1:10){
nova.matriz<-a*sigma+(1-a)*S
proj<-calculo.comp(treino,nova.matriz)
print(proj[,1:2])
screen(i)
plot(Re(proj[c(2,3,6,9:11,14,23),1:2]),xlim=range(c(-
15:15)),ylim=range(c(-5:5)),col="black")
points(Re(proj[c(1,4:5,7:8,12:13,15:22,24:27),1:2]),col="red")
points(Re(proj[28:38,1:2]),col="blue")
a<-a-.1
}
Is this the best...
2011 Nov 18
2
Export Tree for latex
Hello everybody.
I'm trying to send the result of a decision tree for latex, but I do not
get with the package(xtable), there is a package that make this export
Export this for latex
marital.status = Divorced
| educational.num <= 12: <=50K (1795.0/90.0)
| educational.num > 12
| | hours.per.week <= 41: <=50K (302.0/58.0)
| | hours.per.week > 41
| | |