Closed joelager closed 3 months ago
@joelager Thanks - I'll look into that. I guess that there was some change in scikit-learn Lasso
or LassoLars
that we need to fix.
Yes, there has been a change:
Deprecated since version 1.0: normalize was deprecated in version 1.0 and will be removed in 1.2.
@joelager Ah, yes, I see that too... not sure how long that has been a problem! But, it also looks pretty straightforward to fix.
Running the example code from https://github.com/xraypy/xraylarch/tree/master/examples/xanes but with
lasso_train
instead ofpls_train
Error message: TypeError: LassoLars.init() got an unexpected keyword argument 'normalize'
This worked in previous versions but seems not to work in v0.9.74