]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/diskprediction_local: Updated prediction models to use only supported python...
authorKaranraj Chauhan <chauhank@bu.edu>
Tue, 10 Sep 2019 15:20:45 +0000 (11:20 -0400)
committerKaranraj Chauhan <chauhank@bu.edu>
Thu, 7 Nov 2019 13:38:44 +0000 (08:38 -0500)
commitddb80d979a5783f7af9c84e7a47e25e27ed45446
tree7c4cb27a837c4ca30e9574c40ec30cac75c9d960
parent26ea7b670a9127c2e6f8640ada9efcb371a132d8
mgr/diskprediction_local: Updated prediction models to use only supported python packages.

Removed non-supported python packages from requirements.txt
Added scikit-learn based models, removed rgf-python based models.
Updated config.json and DiskPredictor.__preprocess for the same.
Also added manufacturer as argument to DiskPredictor.__preprocess

Updated manufacturer lookup - first check if available as smartctl field,
if not then try to infer from model name.
Updated predicted class to be the prediction for the most recent day in
time series data given.
Updated naming convention from "preprocessor" to "scaler".

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