[R] exporting adaBoost model
bob at calcworks.net
Tue Aug 19 03:40:25 CEST 2008
I was not aware of the Orange library. Since import via PMML
is not possible I guess I could simply build the model in Python
using this library. I'll give this a shot and compare it with
the approach via Rpy.
Thanks for the help!
On Sun, 2008-08-17 at 23:31 -0700, Hans W. Borchers wrote:
> One way to port these kinds of models between applications is the
> Predictive Model Markup Language (PMML). The R package 'PMML' supports
> linear regression, rpart, SVM, and others, not adaBoost. On the other
> side, not even the Python machine learning library Orange does have
> an import function for PMML.
> Perhaps a more attractive possibility is to call R functions from Python
> through the 'Rpy' <http://rpy.sourceforge.net/> Python interface to R.
> You could send data from Python to R for being handled by adaBoost and
> get back the results. Of course, R and Python need 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. Is it possible to export the model in some
> > way to make translating into python easier?
> > Any help would be greatly appreciated. Thanks.
> > Bob
> > ______________________________________________
> > R-help at r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide
> > http://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.
More information about the R-help