Code Documentation: Configuration file parser¶
mastml.conf_parser Module¶
The conf_parser module is used for handling, parsing, and checking MAST-ML input configuration files
Functions¶
check_models_mixed (model_names) |
Method used to check whether the user has mixed regression and classification tasks |
fix_types (maybe_list) |
Method that returns true datatype of values passed as string or list of strings, parsed from configuration file |
make_scorer (score_func, *[, …]) |
Make a scorer from a performance metric or loss function. |
mybool (string) |
Method that converts a string equal to ‘True’ or ‘False’ into type bool |
parse_conf_file (filepath[, from_dict]) |
Method that accepts the filepath of an input configuration file and returns its parsed dictionary |