Is it possible to give more weight to certain features in model training ?
Jérémie_BORDIER
Registered Posts: 3 ✭✭✭✭
Hi,
I have a list of ~30 features and among them some can really reduce the number of prediction errors if only I could give them more weight.
Is this possible ?
Thanks !
I have a list of ~30 features and among them some can really reduce the number of prediction errors if only I could give them more weight.
Is this possible ?
Thanks !
Tagged:
Answers
-
Hi Jérémie,
We do not support this in the model interface. Indeed, we think that modifying the coefficients by hand is not the best way to go since they are optimised based on past data. I am not sure modifying them will actually increase your classifier performance.
If you really want to pursue this idea, it is actually possible via python. You would need to export the model to an ipython notebook, run it again and play with the coef_ attribute of your classifier.