我要评分
获取效率
正确性
完整性
易理解

fault_predict

Prototype

def fault_predict(data_path, model_path)

Description

Fault prediction interface. It is used to predict faults based on an existing model.

Working Principle

Reads data and parameters to predict data and output results based on an existing model.

Parameters

Parameter

Description

Input/Output

data_path

Path to the data file to be predicted

Input

model_path

Path to the existing model file

Input

Return Value

Option

Parameter

alert_sn_list

Returns the list of SNs of faulty drives after the prediction is done.

Example: