Closed sergeyf closed 7 years ago
Hmm,
You are right. I will look into this if you have any suggestions you are welcome to contribute.
Thanks.
I renamed self._center_data
to self._preprocess_data
in a bunch of place and it seems to have worked, but I can't test because tester.py
seems to be out of date.
I just think a lot of people still use old versions of scikit-learn, where there is no _preprocess_data method ( I was one of those people ). I think it will be easier to write simple _center_data method. As for testing, I am working on my test suite , but you can use check_estimator method from scikit-learn for testing any Linear Regression Model in skbayes.
Hi, Sergey=)
I added _center_method to linear models issue should be resolved.
Thank you very much, that fixed it!
Hello,
I'm trying to use
skbayes
with the latest scikit-learn (0.18.x). It looks likeself._center_data
is no longer being used in sklearn: