eflow.model_analysis.outlier_analysis¶
Functions
|
Checks if the given directory path exists. Raises an error if doesn’t |
|
Attempts to make the filename string valid. |
|
Attempts to convert the directory path to a proper one by removing |
|
Creates required directory structures inside the parent |
|
Creates a unique folder in the proper directory structure. |
|
Writes a dict to a json file. |
|
Gets directories names with the provided path. |
|
Gets all filenames with the provided path. |
|
Iterate through directory structure until a unique folder name can be |
|
Returns back the dictionary from of a json file. |
|
|
|
Writes the object to a pickle file. |
|
Writes the object’s string representation to a text file. |
|
Any zscore that is between the negative and positive of the ‘zscore_val’ will be return as a pandas series object. |
Classes
|
All objects in model_analysis folder of eflow are related to this object. |
|
Analyzes a classification model’s result’s based on the prediction function(s) passed to it. |
-
class
OutlierAnalysis
(dataset_name, model, model_name, feature_order, df_features, project_sub_dir='Outlier Analysis', overwrite_full_path=None, save_models=True, notebook_mode=False)[source]¶ Analyzes a classification model’s result’s based on the prediction function(s) passed to it. Creates graphs and tables to be saved in directory structure.