AttributeError: module 'sklearn.linear_model' has no attribute 'ridge'
joshua-doolan opened this issue · 1 comments
joshua-doolan commented
When learning the clusters for MithralEncoder, at this line I ran into the following issue:
bolt/experiments/python/clusterize.py
Line 890 in 99dfffb
AttributeError: module 'sklearn.linear_model' has no attribute 'ridge'
Upon inspection, it seems that perhaps modifying the line to replace .ridge.Ridge
with either .Ridge
or ._ridge.Ridge
may fix the issue. Is it possible there is an sklearn version mismatch with my installation?
dblalock commented
Fixed. Thanks for the bug report @joshua-doolan!