I'm going to resurrect this thread in hopes that in the 6 months since, someone has
found a solution?
After recently upgrading my mgr's to 20.04 and 15.2.8, the diskprediction_local module
is failing for me in the exact same manner.
$ dpkg -l | grep sklearn
ii python3-sklearn 0.22.2.post1+dfsg-5 all
Python modules for machine learning and data mining - Python 3
ii python3-sklearn-lib 0.22.2.post1+dfsg-5 amd64
low-level implementations and bindings for scikit-learn - Python 3
$ pip3 freeze | grep learn
scikit-learn==0.22.2.post1
I see v0.24.0 in pypi <https://pypi.org/project/scikit-learn/>, however I prefer to
use apt packages where possible for easier management, and everything I've found
points to 0.19.2 as the version required, which 0.22.2 would assume fulfill.
Thanks,
Reed
On Jun 4, 2020, at 2:24 PM, Eric Dold
<dold.eric(a)gmail.com> wrote:
Hello
the mgr module diskprediction_local fails under ubuntu 20.04 focal with
python3-sklearn version 0.22.2
Ceph version is 15.2.3
when the module is enabled i get the following error:
File "/usr/share/ceph/mgr/diskprediction_local/module.py", line 112, in
serve
self.predict_all_devices()
File "/usr/share/ceph/mgr/diskprediction_local/module.py", line 279, in
predict_all_devices
result = self._predict_life_expentancy(devInfo['devid'])
File "/usr/share/ceph/mgr/diskprediction_local/module.py", line 222, in
_predict_life_expentancy
predicted_result = obj_predictor.predict(predict_datas)
File "/usr/share/ceph/mgr/diskprediction_local/predictor.py", line 457,
in predict
pred = clf.predict(ordered_data)
File "/usr/lib/python3/dist-packages/sklearn/svm/_base.py", line 585, in
predict
if self.break_ties and self.decision_function_shape == 'ovo':
AttributeError: 'SVC' object has no attribute 'break_ties'
Best Regards
Eric
_______________________________________________
ceph-users mailing list -- ceph-users(a)ceph.io
To unsubscribe send an email to ceph-users-leave(a)ceph.io