csinva / imodels

Interpretable ML package 🔍 for concise, transparent, and accurate predictive modeling (sklearn-compatible).
https://csinva.io/imodels
MIT License
1.36k stars 121 forks source link

cannot import FIGSRegressorCV #105

Closed athammad closed 2 years ago

athammad commented 2 years ago

Hi guys,

This is an amazing library! Thank you for your hard work.

I am testing the FIGSRegressor algorithm after reading your paper but it seems that I cannot load the CV implementation. I have tried both FIGSRegressorCV and FIGSCV but I keep getting ImportError: cannot import name 'FIGSCV' from 'imodels'.

Thank you

csinva commented 2 years ago

Thanks for your interest in the library! Sorry about that - we hadn't been fully supporting FIGSRegressorCV, since best practice is likely to wrap the standard FIGSRegressor with sklearn's cross-validation methods.

I just updated imodels to support it though, so if you run pip install --upgrade imodels, you should be able to import FIGSRegressorCV!