You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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().
The text was updated successfully, but these errors were encountered:
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 inPMMLBaseEstimator._prepare_data()
.The text was updated successfully, but these errors were encountered: