Survey banner
The Dataiku Community is moving to a new home! Some short term disruption starting next week: LEARN MORE

No intercept required for OLS

Solved!
ChrisS
Level 1
No intercept required for OLS

When using the LAB to undertake some OLS modelling I could not find where to tell Dataiku to not fit an intercept? Does the option exist? If so, please could someone point to where that is.

Thanks.

0 Kudos
1 Solution
JordanB
Dataiker

Hi @ChrisS,

As of now, it is not. The scikit-learn fit_intercept argument is hardcoded to True for all regression algorithms in the visual ML. If you need this option, you can create a custom model in the Visual ML (ref: https://knowledge.dataiku.com/latest/ml-analytics/custom-models/tutorial-custom-modeling.html)

Let us know if you have any further questions.

Thanks!

Jordan

View solution in original post

0 Kudos
2 Replies
JordanB
Dataiker

Hi @ChrisS,

As of now, it is not. The scikit-learn fit_intercept argument is hardcoded to True for all regression algorithms in the visual ML. If you need this option, you can create a custom model in the Visual ML (ref: https://knowledge.dataiku.com/latest/ml-analytics/custom-models/tutorial-custom-modeling.html)

Let us know if you have any further questions.

Thanks!

Jordan

0 Kudos
ChrisS
Level 1
Author

Thankyou. I'll give that a go.