Module Import alias identifier Import alias identifier Import alias Import alias alias alias alias alias alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryExcept body Assign NameStore Call NameLoad NameLoad SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad If CompareIn Str NameLoad body Assign TupleStore TupleStore NameStore NameStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str If CompareIn Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore TupleLoad TupleLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIn Str NameLoad body Assign NameStore Call NameLoad NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Call NameLoad NameLoad Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Dict Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore TupleStore NameStore NameStore NameStore Call NameLoad NameLoad Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign TupleStore TupleStore NameStore NameStore NameStore Call NameLoad NameLoad If CompareNotIn Str NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Dict Str Num orelse Assign NameStore Call NameLoad NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Dict Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return IfExp NameLoad TupleLoad NameLoad TupleLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list
N/A N/A pandas pd N/A numpy np N/A logging N/A config utils datasets model_types predict cross_validation N/A logger N/A N/A logging getLogger __name__ make_model N/A N/A name N/A N/A N/A cfgs N/A N/A config model_configs name N/A N/A N/A model_class N/A getattr model_types N/A cfgs N/A model N/A N/A N/A AttributeError N/A N/A N/A AttributeError N/A Unable to find model                                %s in model_types.py N/A cfgs N/A model N/A N/A N/A logger info N/A Creating model %s name N/A model N/A model_class N/A cfgs N/A args N/A model N/A train_model N/A N/A name N/A N/A N/A N/A N/A model N/A N/A utils load_from_cache name N/A N/A N/A logger info N/A Loading model %s from cache name N/A N/A N/A IOError N/A N/A cfgs N/A N/A config model_configs name N/A model N/A make_model name N/A data N/A get_model_data name N/A N/A N/A logger info N/A Training model %s name N/A N/A target cfgs N/A N/A N/A N/A train_data target test_data data N/A N/A N/A model fit train_data target N/A N/A N/A N/A model fit data N/A N/A N/A utils save_to_cache model name N/A model N/A get_model_data N/A N/A name N/A N/A N/A cfgs N/A N/A config model_configs name N/A data N/A N/A datasets load_dataset N/A cfgs N/A dataset N/A N/A target cfgs N/A N/A target N/A N/A datasets load_dataset N/A cfgs N/A target N/A n_train N/A N/A target shape N/A 0 N/A N/A train_data test_data N/A N/A cross_validation train_test_split data n_train N/A data N/A N/A train_data target test_data N/A data N/A predict_model N/A N/A name data model N/A None N/A N/A N/A model None N/A N/A model N/A train_model name N/A N/A N/A pred N/A N/A model predict data N/A N/A N/A AttributeError N/A N/A N/A AttributeError N/A Model %s does not implement a predict function name N/A cfgs N/A N/A config model_configs name N/A N/A postprocess_pred cfgs N/A N/A postprocess_pred N/A getattr predict N/A N/A cfgs N/A postprocess_pred N/A name N/A pred N/A postprocess_pred pred N/A N/A N/A cfgs N/A postprocess_pred get args N/A N/A pred N/A test_model N/A N/A name N/A N/A N/A N/A N/A train_data target test_data N/A get_model_data name N/A N/A predict_model name test_data N/A validate_model N/A N/A name return_data N/A False N/A N/A cfgs N/A N/A config model_configs name N/A N/A N/A train_data target test_data N/A get_model_data name N/A N/A validator cfgs N/A N/A validator N/A cross_validation train_test_split N/A args N/A n_train 0.8 N/A N/A validator N/A getattr cross_validation N/A N/A cfgs N/A validator N/A name N/A args N/A N/A N/A cfgs N/A validator get args N/A N/A N/A X_train X_cv N/A validator train_data args N/A N/A y_train y_cv N/A validator target args N/A model N/A make_model name N/A N/A N/A model fit X_train y_train N/A score N/A N/A model score X_cv y_cv N/A N/A return_data N/A score N/A N/A N/A model predict X_cv y_cv score N/A