-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PCA transformation included in the PMML provided by r2pmml #6
Comments
Sure, if your model has specific data pre-processing needs, then it would be desirable to have a way of including those into the PMML document. The main problem is that R lacks proper abstractions in this area. So, every transformation has to be specified and implemented separately. In Python/Scikit-Learn you have everything collected nicely together into the Can you provide example R code about using the PCA transformation in your workflow? The obvious candidate would be the |
Here is the R code
|
The Data pre-processing can also be done in standalone mode, it doesn't need to be coupled to the
The current implementation supports |
I'd like to apply PCA before training a classifier and include both PCA transformation and the classifier into the PMML using the r2pmml package.
There is already a R package called pmmlTransformations that does a similar job, but I see that this is already possible in the Python version "sklearn2pmml" so I was wondering if this feature will be available in the future for r2pmml.
The text was updated successfully, but these errors were encountered: