How to set the weighting strategy for a regression task , using API

Mohammed
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

Setup Info
    Tags
      Help me…