Dear R Users,
I'm having trouble reproducing the results in Section 5.1 of
Culp, M., Johnson, K., Michailidis, G. (2006). ada: an R Package for
Stochastic Boosting Journal of Statistical Software, 16
They build and display a boosting model with the code:
library(ada)
n - 12000
p - 10
Dear All,
I'm reading Frank Harrell's wonderful Regression
Modeling Strategies book and ran into a problem
following the example in Chapter 8. I'm working
on
platform: Ubuntu 8.04 (i486-pc-linux-gnu)
R version: 2.7.2 (2008-08-25)
and my command sequence was:
library(chron)
be installed on your
machine and you cannot generate a single executable.,
// Hans Werner Borchers
Bob Flagg wrote:
Dear all,
I'm using adaBoost from the ada package to build a classification
model. After training the model in R I'd like to use it in a
Python application
Dear all,
I'm using adaBoost from the ada package to build a classification
model. After training the model in R I'd like to use it in a
Python application. Is it possible to export the model in some
way to make translating into python easier?
Any help would be greatly appreciated. Thanks.
Steve,
I think you can use:
write.table(x, file = /Users/Desktop/Data.txt, sep = , append=T,
row.names = F, col.names = F)
I used that for the data
PERSHRUB DISTX AGE RODENTSP
166 2100 501
290 914 201
375 1676 341
475 243
Anisah,
You just need to omit the indices in the return statements:
mm-function(m,n){ #matrix function
w-matrix(nrow=m, ncol=n)
for(i in 1:m){
for(j in 1:n){
w[i,j]=i+j
}
}
w
}
6 matches
Mail list logo