]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/diskprediction_local: Reverted dependencies, added HGST models
authorKaranraj Chauhan <chauhank@bu.edu>
Wed, 6 Nov 2019 18:46:45 +0000 (13:46 -0500)
committerKaranraj Chauhan <chauhank@bu.edu>
Thu, 7 Nov 2019 13:38:48 +0000 (08:38 -0500)
commit334aeee3f19fec93c513f0868815dd194d88e7db
treecf1153c011d185c7cea9374f432ac18174d236bf
parent50033bc32455235d7e377fac7fd79bdf4d9040f8
mgr/diskprediction_local: Reverted dependencies, added HGST models

Removed pandas from requirements.txt, ceph.spec.in, and debian/control
because of installation issues in RHEL/CentOS.

Replaced pandas usages in RHDiskFailurePredictor with similar numpy
counterparts (e.g. structured array instead of dataframe)
Replaced joblib usages with pickle because older version of scikit-learn
did not list joblib as a dependency and so it wasnt getting installed.
Using joblib would have required specifying it as a separate dependency
in spec file and requirements.

Added HGST models for RHDiskFailurePredictor.

Signed-off-by: Karanraj Chauhan <kachauha@redhat.com>
ceph.spec.in
debian/control
src/pybind/mgr/diskprediction_local/models/redhat/config.json
src/pybind/mgr/diskprediction_local/models/redhat/hgst_predictor.pkl [new file with mode: 0644]
src/pybind/mgr/diskprediction_local/models/redhat/hgst_scaler.pkl [new file with mode: 0644]
src/pybind/mgr/diskprediction_local/models/redhat/seagate_predictor.joblib [deleted file]
src/pybind/mgr/diskprediction_local/models/redhat/seagate_predictor.pkl [new file with mode: 0644]
src/pybind/mgr/diskprediction_local/models/redhat/seagate_scaler.joblib [deleted file]
src/pybind/mgr/diskprediction_local/models/redhat/seagate_scaler.pkl [new file with mode: 0644]
src/pybind/mgr/diskprediction_local/predictor.py
src/pybind/mgr/diskprediction_local/requirements.txt