rapid_matching_python package¶
rapid_matching_python module¶
-
rapid_matching_python.
convert
(mode, data_json_path)¶ Converts input data.
Parameters: mode : {‘cls’, ‘reg’} or None
Problem type; ‘cls’: classification, ‘reg’: regression.
data_json_path : str
The json file absolute path of analytics case configuration.
-
rapid_matching_python.
train_matching
(mode, data_json_path, hparam_json_path=None)¶ Generates matching model.
Parameters: mode : {‘cls’, ‘reg’} or None
Problem type; ‘cls’: classification, ‘reg’: regression.
data_json_path : str or None
The json file absolute path of analytics case configuration.
hparam_json_path : str or None, default: None
The json file absolute path for hyper parameter configuration. If None, all hyper parameters are set to default value (for details, see chapter 5.1.4 for ssi in RAPID machine learning Matching v2.2 User Guide).
-
rapid_matching_python.
train_filtering
(mode, data_json_path, hparam_json_path=None)¶ Generates filtering model.
Parameters: mode : {‘cls’, ‘reg’} or None
Problem type; ‘cls’: classification, ‘reg’: regression.
data_json_path : str or None
The json file absolute path of analytics case configuration.
hparam_json_path : str or None, default: None
The json file absolute path for hyper parameter configuration. If None, all hyper parameters are set to default value (for details, see chapter 5.1.4 for sse in RAPID machine learning Matching v2.2 User Guide).
-
rapid_matching_python.
predict_matching
(mode, data_json_path, hparam_json_path=None)¶ Predicts the score for matching.
Parameters: mode : {“cls”, “reg”}
Problem type. This value must be same as train’s.
data_json_path : str
The json file absolute path of analytics case configuration.
hparam_json_path : str or None, default: None
The json file absolute path for hyper parameter configuration. Hyper parameter configuration must be same as train’s.
-
rapid_matching_python.
predict_filtering
(mode, data_json_path, hparam_json_path=None)¶ Predicts the score for filtering.
Parameters: mode : {“cls”, “reg”}
Problem type. This value must be same as train’s.
data_json_path : str
The json file absolute path of analytics case configuration.
hparam_json_path : str or None, default: None
The json file absolute path for hyper parameter configuration. Hyper parameter configuration must be same as train’s.
-
rapid_matching_python.
gen_idd
(data_path)¶ Generates an information of input data definition.
Parameters: data_path : str
The file absolute path for input data.