How to set the weighting strategy for a regression task , using API
Mohammed
Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Registered Posts: 43 ✭✭✭
Hi,
I'm working on a regression task. I'm using the API to automate the model-building cycle.
I want to use the "sample weights" weighting strategy and the "year" column as the weights. How do I achieve this using the API?
Best Answer
-
You can use DSSPredictionMLTaskSettings#set_weighting, e.g. on the Visual ML usage examples, that'd be on the
settings
object.