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.
>
>
--
View this message in context:
http://www.nabble.com/exporting-adaBoost-model-tp19005415p19026563.html
Sent from the R help mailing list archive at Nabble.com.