Skip to content
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

Support implicit feature scaling #32

Open
iamDecode opened this issue Jul 27, 2021 · 0 comments
Open

Support implicit feature scaling #32

iamDecode opened this issue Jul 27, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@iamDecode
Copy link
Owner

SVM models exported from R using the e1071 library will apply feature scaling by default, which is also translated into the resulting PMML model. This feature scaling is currently ignored, so users have to scale the features themselves before using the model in Python. To ensure generated models from R can be used directly in Python without addditional steps, its worth checking out whether we can support feature scaling.

I expect the best place to implement this will be setting up the scaler in PMMLBaseEstimator.__init__(), and applying that scaler in PMMLBaseEstimator._prepare_data().

@iamDecode iamDecode added the enhancement New feature or request label Jul 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant