Skip to content

QuantileLinearRegression causing __init__() got an unexpected keyword argument 'normalize' #114

@salmazenn

Description

@salmazenn

Hi there,

I have noticed that due to (a437ba8) (Or at least, I suspect that it is the cause of the issue I report below :) )

The following code is no longer working (I used the same code during the summer, but is no longer working)

QuantileLinearRegression(fit_intercept=True,
                         max_iter=50,
                         quantile=0.5,
                         verbose=False)

Is this function call deprecated as well?

I am getting this exception()

 __init__() got an unexpected keyword argument 'normalize'

I also tried to fallback to using QuantileRegression from sklearn (As shown below, failinf to find the parameter to set max_iter in sklearn's model), but it doesn't seem to fit the data the same way, so I would love to continue using mlinsights :)

from sklearn.linear_model import QuantileRegressor
quantile_regressor = QuantileRegressor(fit_intercept=True, quantile=0.5)

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions