Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias identifier Import alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Expr Call NameLoad Str Return Assign NameStore Call AttributeLoad NameLoad attr ListLoad SubscriptLoad AttributeLoad NameLoad attr Slice Num SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad Num Num attr Num Num Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad Num For NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad SubscriptLoad NameLoad ExtSlice Index Num Slice Num Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad Num Num attr Num Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad NameLoad ExtSlice Slice Slice Num Assign NameStore SubscriptLoad NameLoad ExtSlice Slice Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr SubscriptLoad NameLoad ExtSlice Index Num Slice Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore SubscriptLoad NameLoad ExtSlice Slice Slice Num Assign NameStore Call AttributeLoad SubscriptLoad NameLoad ExtSlice Slice Index Num attr Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad keyword AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults ListLoad Num Num body Expr Str Assign NameStore BinOpSub SubscriptLoad AttributeLoad NameLoad attr Index Num Num Assign NameStore BinOpAdd BinOpSub BinOpSub BinOpAdd SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad NameLoad NameLoad Num Expr Call NameLoad Str NameLoad Assign NameStore BinOpSub BinOpSub NameLoad NameLoad Num Assign NameStore BinOpMult Call AttributeLoad SubscriptLoad NameLoad ExtSlice Slice Num UnaryOpUSub NameLoad Index Num attr Num Num Call AttributeLoad NameLoad attr TupleLoad Num NameLoad Assign SubscriptStore NameLoad ExtSlice Slice NameLoad Slice Num BinOpSub SubscriptLoad NameLoad ExtSlice Slice NameLoad Slice Num NameLoad Assign NameStore ListLoad Assign NameStore ListLoad For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice BinOpAdd NameLoad NameLoad BinOpSub BinOpAdd BinOpAdd NameLoad NameLoad NameLoad Num Slice NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore BinOpAdd SubscriptLoad SubscriptLoad NameLoad Index Num Index Num SubscriptLoad NameLoad Index TupleLoad NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index TupleLoad BinOpAdd BinOpAdd NameLoad NameLoad NameLoad Num Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore NameLoad With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword AttributeLoad NameLoad attr handlers ExceptHandler body Expr Call NameLoad Str NameLoad Return orelse Expr Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore NameLoad With Call NameLoad NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler body Expr Call NameLoad Str NameLoad Return Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Str Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str body If CompareIs Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Str body If CompareEq NameLoad Str body Assign NameStore BinOpSub NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad Str body Assign NameStore BinOpSub NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad NameLoad attr orelse If CompareEq NameLoad Str body Assign NameStore BinOpSub NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad BinOpPow NameLoad Num attr orelse If CompareEq NameLoad Str body Assign NameStore BinOpSub NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad BinOpPow NameLoad Num attr orelse If CompareEq NameLoad Str body If CompareEq Call AttributeLoad NameLoad attr CompareNotEq NameLoad Num Num body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad AttributeLoad NameLoad attr orelse Assign NameStore CompareNotEq NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore BinOpDiv BinOpSub NameLoad NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad BinOpMult Num Call AttributeLoad NameLoad attr orelse If CompareEq NameLoad Str body If CompareEq Call AttributeLoad NameLoad attr CompareNotEq NameLoad Num Num body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad AttributeLoad NameLoad attr orelse Assign NameStore CompareNotEq NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore BinOpDiv BinOpSub NameLoad NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad BinOpMult Num Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr orelse If CompareEq NameLoad Str body Assign NameStore BinOpSub NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq NameLoad Str body Assign NameStore BinOpMult NameLoad NameLoad If CompareEq Call AttributeLoad NameLoad attr CompareNotEq NameLoad Num Num body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad AttributeLoad NameLoad attr orelse Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad BinOpDiv Call AttributeLoad NameLoad attr CompareGt NameLoad Num Call AttributeLoad NameLoad attr CompareNotEq NameLoad Num orelse If CompareEq NameLoad Str body Assign NameStore NameLoad Assign NameStore NameLoad If CompareEq Call AttributeLoad NameLoad attr CompareGt NameLoad Num Num body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad AttributeLoad NameLoad attr orelse Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad BinOpDiv Call AttributeLoad NameLoad attr BinOpMult CompareGt NameLoad Num CompareGt NameLoad Num Call AttributeLoad NameLoad attr CompareGt NameLoad Num orelse If CompareEq NameLoad Str body Assign NameStore NameLoad Assign NameStore NameLoad If CompareEq Call AttributeLoad NameLoad attr CompareLt NameLoad Num Num body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad AttributeLoad NameLoad attr orelse Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad BinOpDiv Call AttributeLoad NameLoad attr BinOpMult CompareLt NameLoad Num CompareLt NameLoad Num Call AttributeLoad NameLoad attr CompareLt NameLoad Num orelse If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad BinOpDiv Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad AttributeLoad NameLoad attr orelse Expr Call NameLoad Str NameLoad Str Return decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr TryExcept body ImportFrom alias Assign NameStore Call NameLoad ListLoad Str Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str For NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr ListLoad NameLoad Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad keyword Num Expr Call NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr keyword Str Expr Call NameLoad handlers ExceptHandler type NameLoad body Expr Call NameLoad Str Expr Call NameLoad For NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call NameLoad NameLoad Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad keyword Num Expr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Str Str Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad BinOpSub AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad BinOpSub AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Str Return TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad BinOpSub AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict For NameStore AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad ListLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Num Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore AttributeLoad NameLoad attr body For NameStore AttributeLoad NameLoad attr body If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Str body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad For NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call NameLoad NameLoad Str SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Expr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Str Expr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Return SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore BinOpSub NameLoad NameLoad orelse If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad BinOpMult NameLoad NameLoad orelse Raise Call NameLoad Str Assign NameStore SubscriptLoad NameLoad ExtSlice Slice Num NameLoad Slice Assign NameStore SubscriptLoad NameLoad ExtSlice Slice NameLoad Slice Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num NameLoad body Expr Str If CompareLt NameLoad Num body Expr Call NameLoad Str Return Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call NameLoad BinOpDiv NameLoad NameLoad Assign NameStore ListLoad For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice BinOpMult NameLoad NameLoad BinOpMult BinOpAdd NameLoad Num NameLoad Slice Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore ListLoad For NameStore Call NameLoad BinOpSub NameLoad Num body If CompareGt NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad keyword Num Assign NameStore SubscriptLoad NameLoad Index BinOpAdd NameLoad Num If CompareIsNot NameLoad NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num NameLoad body Expr Str If CompareLt NameLoad Num body Expr Call NameLoad Str Return Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore BinOpSub SubscriptLoad AttributeLoad NameLoad attr Index Num Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad NameLoad attr BinOpDiv NameLoad NameLoad Assign NameStore ListLoad For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice BinOpMult NameLoad NameLoad BinOpMult BinOpAdd NameLoad Num NameLoad Slice Assign NameStore ListLoad Assign NameStore ListLoad For NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr BinOpAdd SubscriptLoad NameLoad Slice NameLoad SubscriptLoad NameLoad Slice BinOpAdd NameLoad Num Num attr Num BinOpAdd NameLoad Num If CompareLt NameLoad BinOpSub NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index NameLoad If CompareIsNot NameLoad NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list Return NameLoad decorator_list
N/A N/A 
    This file contains MLTools class and all developed methods.
 __future__ unicode_literals __future__ division __future__ absolute_import __future__ print_function N/A numpy np N/A pickle MLTools N/A object N/A N/A 
        A Python implementation of several methods needed for machine learning
        classification/regression.

        Attributes:
            last_training_pattern (numpy.ndarray): Full path to the package
                to  test.
            has_trained (boolean): package_name str
            cv_best_rmse (float): package_name str

     __init__ N/A N/A self N/A N/A N/A N/A self last_training_pattern N/A N/A N/A self has_trained False N/A N/A self cv_best_rmse Not cross-validated N/A _local_train N/A N/A self training_patterns training_expected_targets params N/A N/A N/A 
            Should be overridden.
         N/A None N/A _local_test N/A N/A self testing_patterns testing_expected_targets predicting N/A N/A N/A 
            Should be overridden.
         N/A None N/A _ml_search_param N/A N/A self database dataprocess path_filename save cv min_f N/A N/A N/A 
            Should be overridden.
         N/A None N/A _ml_print_parameters N/A N/A self N/A N/A N/A 
            Should be overridden.
         N/A None N/A _ml_predict N/A N/A self horizon N/A 1 N/A N/A 
            Predict next targets based on previous training.

            Arguments:
                horizon (int): number of predictions.

            Returns:
                numpy.ndarray: a column vector containing all predicted targets.
         N/A N/A N/A self has_trained N/A N/A N/A print Error: Train before predict. N/A N/A new_pattern N/A N/A np hstack N/A N/A N/A self last_training_pattern N/A 2 N/A N/A self last_training_pattern N/A 0 N/A new_pattern N/A N/A N/A N/A np insert new_pattern 0 1 reshape 1 -1 N/A predicted_targets N/A N/A np zeros N/A horizon 1 N/A t_counter N/A range horizon N/A N/A te_errors N/A N/A self test new_pattern predicting True N/A predicted_value N/A te_errors predicted_targets N/A N/A predicted_targets N/A t_counter predicted_value N/A new_pattern N/A N/A np hstack N/A N/A new_pattern N/A N/A 0 N/A 2 N/A N/A np squeeze predicted_value N/A new_pattern N/A N/A N/A N/A np insert new_pattern 0 1 reshape 1 -1 N/A predicted_targets N/A _ml_train N/A N/A self training_matrix params N/A N/A N/A 
            wr

         N/A training_patterns N/A training_matrix N/A N/A N/A 1 N/A training_expected_targets N/A training_matrix N/A N/A N/A 0 N/A training_predicted_targets N/A N/A self _local_train training_patterns training_expected_targets params N/A training_errors N/A Error training_expected_targets training_predicted_targets regressor_name N/A self regressor_name N/A N/A self last_training_pattern N/A training_matrix N/A N/A -1 N/A N/A N/A self has_trained True N/A training_errors N/A _ml_test N/A N/A self testing_matrix predicting N/A False N/A N/A  wr

         N/A testing_patterns N/A testing_matrix N/A N/A N/A 1 N/A testing_expected_targets N/A N/A N/A testing_matrix N/A N/A N/A 0 reshape -1 1 N/A testing_predicted_targets N/A N/A self _local_test testing_patterns testing_expected_targets predicting N/A testing_errors N/A Error testing_expected_targets testing_predicted_targets regressor_name N/A self regressor_name N/A testing_errors N/A _ml_train_iterative N/A N/A self database_matrix params sliding_window k N/A N/A 168 1 N/A N/A 
            Training method used by Fred 09 paper.
         N/A p N/A N/A N/A database_matrix shape N/A 1 1 N/A number_iterations N/A N/A N/A N/A N/A N/A database_matrix shape N/A 0 p k sliding_window 1 N/A N/A print Number of iterations:  number_iterations N/A tr_size N/A N/A sliding_window p 1 N/A z N/A N/A N/A N/A database_matrix N/A N/A 0 N/A k N/A 1 reshape -1 1 N/A N/A np ones N/A 1 p N/A N/A database_matrix N/A N/A k N/A 1 N/A N/A database_matrix N/A N/A k N/A 1 z N/A pr_target N/A N/A ex_target N/A N/A i N/A range number_iterations N/A N/A N/A N/A self _ml_train N/A database_matrix N/A N/A N/A k i N/A N/A N/A k i tr_size 1 N/A params N/A pr_t N/A N/A self _ml_predict horizon 1 N/A pr_t N/A N/A N/A pr_t N/A 0 N/A 0 N/A z N/A N/A i 0 N/A N/A N/A pr_target append pr_t N/A N/A N/A ex_target append N/A database_matrix N/A N/A N/A N/A k i tr_size 0 N/A pr_result N/A Error expected ex_target predicted pr_target N/A pr_result N/A save_regressor N/A N/A self file_name N/A N/A N/A 
            Save current classifier/regressor to file_name file.
         N/A N/A N/A file file_name N/A N/A open file wb f N/A N/A N/A N/A pickle dump self f protocol N/A pickle HIGHEST_PROTOCOL N/A N/A N/A N/A N/A print Error while saving  file_name N/A N/A N/A N/A print Saved model as:  file_name N/A load_regressor N/A N/A self file_name N/A N/A N/A 
            Load classifier/regressor to memory.
         N/A N/A N/A file file_name N/A N/A open file rb f N/A N/A self N/A N/A pickle load f N/A N/A N/A N/A N/A print Error while loading  file_name N/A N/A self N/A N/A Error N/A object N/A N/A 
        Error is a class that saves expected and predicted values to calculate
        error metrics.

        Attributes:
            regressor_name (str): Deprecated.
            expected_targets (numpy.ndarray): array of expected values.
            predicted_targets (numpy.ndarray): array of predicted values.
            dict_errors (dict): a dictionary containing all calculated errors
                and their values.

     N/A available_error_metrics N/A rmse mse mae me mpe mape std hr hr+ hr- accuracy __init__ N/A N/A self expected predicted regressor_name N/A N/A N/A N/A N/A type expected list N/A N/A expected N/A N/A np array expected N/A N/A N/A type predicted list N/A N/A predicted N/A N/A np array predicted N/A expected N/A N/A expected flatten N/A predicted N/A N/A predicted flatten N/A N/A self regressor_name regressor_name N/A N/A self expected_targets expected N/A N/A self predicted_targets predicted N/A N/A self dict_errors N/A N/A error N/A self available_error_metrics N/A N/A N/A N/A self dict_errors N/A error Not calculated N/A _calc N/A N/A self name expected predicted N/A N/A N/A 
            a
         N/A N/A N/A N/A self dict_errors N/A name Not calculated N/A N/A N/A name mae N/A N/A error N/A expected predicted N/A N/A N/A self dict_errors N/A name N/A N/A np mean N/A N/A np fabs error N/A N/A N/A name me N/A N/A error N/A expected predicted N/A N/A N/A self dict_errors N/A name N/A N/A error mean N/A N/A N/A name mse N/A N/A error N/A expected predicted N/A N/A N/A self dict_errors N/A name N/A N/A N/A error 2 mean N/A N/A N/A name rmse N/A N/A error N/A expected predicted N/A N/A N/A self dict_errors N/A name N/A N/A np sqrt N/A N/A N/A error 2 mean N/A N/A N/A name mpe N/A N/A N/A N/A N/A np count_nonzero N/A expected 0 0 N/A N/A N/A N/A self dict_errors N/A name N/A np nan N/A N/A find_zero N/A expected 0 N/A _et N/A N/A np extract find_zero expected N/A _pt N/A N/A np extract find_zero predicted N/A relative_error N/A N/A _et _pt _et N/A N/A N/A self dict_errors N/A name N/A 100 N/A N/A relative_error mean N/A N/A N/A name mape N/A N/A N/A N/A N/A np count_nonzero N/A expected 0 0 N/A N/A N/A N/A self dict_errors N/A name N/A np nan N/A N/A find_zero N/A expected 0 N/A _et N/A N/A np extract find_zero expected N/A _pt N/A N/A np extract find_zero predicted N/A relative_error N/A N/A _et _pt _et N/A N/A N/A self dict_errors N/A name N/A 100 N/A N/A N/A N/A np fabs relative_error mean N/A N/A N/A name std N/A N/A error N/A expected predicted N/A N/A N/A self dict_errors N/A name N/A N/A np std error N/A N/A N/A name hr N/A N/A _c N/A expected predicted N/A N/A N/A N/A np count_nonzero N/A _c 0 0 N/A N/A N/A N/A self dict_errors N/A name N/A np nan N/A N/A N/A N/A self dict_errors N/A name N/A N/A N/A np count_nonzero N/A _c 0 N/A N/A np count_nonzero N/A _c 0 N/A N/A N/A name hr+ N/A N/A _a expected N/A _b predicted N/A N/A N/A N/A np count_nonzero N/A _b 0 0 N/A N/A N/A N/A self dict_errors N/A name N/A np nan N/A N/A N/A N/A self dict_errors N/A name N/A N/A N/A np count_nonzero N/A N/A _a 0 N/A _b 0 N/A N/A np count_nonzero N/A _b 0 N/A N/A N/A name hr- N/A N/A _a expected N/A _b predicted N/A N/A N/A N/A np count_nonzero N/A _b 0 0 N/A N/A N/A N/A self dict_errors N/A name N/A np nan N/A N/A N/A N/A self dict_errors N/A name N/A N/A N/A np count_nonzero N/A N/A _a 0 N/A _b 0 N/A N/A np count_nonzero N/A _b 0 N/A N/A N/A name accuracy N/A N/A _a N/A N/A expected astype int N/A _b N/A N/A N/A N/A np round predicted astype int N/A N/A N/A self dict_errors N/A name N/A N/A N/A np count_nonzero N/A _a _b N/A _b size N/A N/A N/A print Error: name - Invalid error or not available to calculate. N/A N/A calc_metrics N/A N/A self N/A N/A N/A 
            Calculate all error metrics.

            Available error metrics are "rmse", "mse", "mae", "me", "mpe",
            "mape", "std", "hr", "hr+", "hr-" and "accuracy".

         N/A error N/A sorted N/A N/A N/A self dict_errors keys N/A N/A N/A N/A self _calc error N/A self expected_targets N/A self predicted_targets N/A print_errors N/A N/A self N/A N/A N/A 
            Print all errors metrics.

            Note:
                For better printing format, install :mod:`prettytable`.

         N/A N/A N/A self calc_metrics N/A N/A prettytable PrettyTable N/A table N/A PrettyTable N/A Error Value N/A N/A N/A table align N/A Error l N/A N/A N/A table align N/A Value l N/A error N/A sorted N/A N/A N/A self dict_errors keys N/A N/A N/A N/A table add_row N/A error N/A N/A np around N/A N/A self dict_errors N/A error decimals 8 N/A N/A print N/A N/A print N/A N/A table get_string sortby Error N/A N/A print N/A N/A N/A ImportError N/A N/A N/A print For better table format install 'prettytable' module. N/A N/A print N/A error N/A sorted N/A N/A N/A self dict_errors keys N/A N/A N/A print error N/A N/A np around N/A N/A self dict_errors N/A error decimals 8 N/A N/A print N/A print_values N/A N/A self N/A N/A N/A 
            Print expected and predicted values.
         N/A N/A print Expected:  N/A N/A N/A self expected_targets reshape 1 -1 Predicted:  N/A N/A N/A self predicted_targets reshape 1 -1 N/A get N/A N/A self error N/A N/A N/A 
            Calculate and return value of an error.

            Arguments:
                error (str): Error to be calculated.

            Returns:
                float: value of desired error.
         N/A N/A N/A self _calc error N/A self expected_targets N/A self predicted_targets N/A N/A N/A self dict_errors N/A error N/A get_std N/A N/A self N/A N/A N/A N/A N/A self _calc std N/A self expected_targets N/A self predicted_targets N/A N/A N/A self dict_errors N/A std N/A get_mae N/A N/A self N/A N/A N/A N/A N/A self _calc mae N/A self expected_targets N/A self predicted_targets N/A N/A N/A self dict_errors N/A mae N/A get_mse N/A N/A self N/A N/A N/A N/A N/A self _calc mse N/A self expected_targets N/A self predicted_targets N/A N/A N/A self dict_errors N/A mse N/A get_rmse N/A N/A self N/A N/A N/A N/A N/A self _calc rmse N/A self expected_targets N/A self predicted_targets N/A N/A N/A self dict_errors N/A rmse N/A get_mpe N/A N/A self N/A N/A N/A N/A N/A self _calc mpe N/A self expected_targets N/A self predicted_targets N/A N/A N/A self dict_errors N/A mpe N/A get_mape N/A N/A self N/A N/A N/A N/A N/A self _calc mape N/A self expected_targets N/A self predicted_targets N/A N/A N/A self dict_errors N/A mape N/A get_me N/A N/A self N/A N/A N/A N/A N/A self _calc me N/A self expected_targets N/A self predicted_targets N/A N/A N/A self dict_errors N/A me N/A get_hr N/A N/A self N/A N/A N/A N/A N/A self _calc hr N/A self expected_targets N/A self predicted_targets N/A N/A N/A self dict_errors N/A hr N/A get_hrm N/A N/A self N/A N/A N/A N/A N/A self _calc hr- N/A self expected_targets N/A self predicted_targets N/A N/A N/A self dict_errors N/A hr- N/A get_hrp N/A N/A self N/A N/A N/A N/A N/A self _calc hr+ N/A self expected_targets N/A self predicted_targets N/A N/A N/A self dict_errors N/A hr+ N/A get_accuracy N/A N/A self N/A N/A N/A N/A N/A self _calc accuracy N/A self expected_targets N/A self predicted_targets N/A N/A N/A self dict_errors N/A accuracy N/A get_error N/A N/A self N/A N/A N/A N/A N/A N/A N/A self expected_targets N/A self predicted_targets flatten N/A get_anderson N/A N/A self N/A N/A N/A 
            Anderson-Darling test for data coming from a particular
            distribution.

            Returns:
                tuple: statistic value, critical values and significance values.

            Note:
                Need scipy.stats module to perform Anderson-Darling test.
         N/A N/A scipy stats N/A N/A N/A ImportError N/A N/A N/A ImportError Need 'scipy.stats' module to calculate anderson-darling test. N/A error N/A N/A N/A N/A self expected_targets N/A self predicted_targets flatten N/A N/A ad_statistic ad_c ad_s N/A N/A stats anderson error norm N/A N/A ad_statistic ad_c ad_s N/A get_shapiro N/A N/A self N/A N/A N/A 
            Perform the Shapiro-Wilk test for normality.

            Returns:
                tuple: statistic value and p-value.

            Note:
                Need scipy.stats module to perform Shapiro-Wilk test.
         N/A N/A scipy stats N/A N/A N/A ImportError N/A N/A N/A ImportError Need 'scipy.stats' module to calculate shapiro-wilk test. N/A error N/A N/A N/A N/A self expected_targets N/A self predicted_targets flatten N/A N/A sw_statistic sw_p_value N/A N/A stats shapiro error N/A N/A sw_statistic sw_p_value N/A N/A CVError N/A object N/A N/A 
        CVError is a class that saves :class:`Error` objects from all folds
        of a cross-validation method.

        Attributes:
            fold_errors (list of :class:`Error`): a list of all Error objects
                created through cross-validation process.
            all_fold_errors (dict): a dictionary containing lists of error
                values of all folds.
            all_fold_mean_errors (dict): a dictionary containing the mean of
                *all_fold_errors* lists.
     __init__ N/A N/A self fold_errors N/A N/A N/A N/A self fold_errors fold_errors N/A N/A self all_fold_errors N/A N/A N/A self all_fold_mean_errors N/A N/A error N/A N/A N/A self fold_errors N/A 0 available_error_metrics N/A N/A N/A N/A self all_fold_errors N/A error N/A N/A N/A N/A self all_fold_mean_errors N/A error -99 N/A N/A N/A self calc_metrics N/A calc_metrics N/A N/A self N/A N/A N/A 
            Calculate a folds mean of all error metrics.

            Available error metrics are "rmse", "mse", "mae", "me", "mpe",
            "mape", "std", "hr", "hr+", "hr-" and "accuracy".
         N/A fold N/A self fold_errors N/A N/A error N/A fold dict_errors N/A N/A N/A N/A N/A fold dict_errors N/A error Not calculated N/A N/A N/A N/A fold dict_errors N/A error N/A N/A fold get error N/A N/A N/A N/A N/A self all_fold_errors N/A error append N/A N/A fold dict_errors N/A error N/A error N/A sorted N/A N/A N/A self all_fold_errors keys N/A N/A N/A N/A self all_fold_mean_errors N/A error N/A N/A np mean N/A N/A self all_fold_errors N/A error N/A print_errors N/A N/A self N/A N/A N/A 
            Print a mean of all error through all folds.
         N/A error N/A sorted N/A N/A N/A self all_fold_errors keys N/A N/A N/A print error  mean: N/A N/A self all_fold_mean_errors N/A error N/A N/A print N/A N/A self all_fold_errors N/A error N/A N/A print N/A get N/A N/A self error N/A N/A N/A N/A N/A self all_fold_mean_errors N/A error N/A get_rmse N/A N/A self N/A N/A N/A N/A N/A self all_fold_mean_errors N/A rmse N/A get_accuracy N/A N/A self N/A N/A N/A N/A N/A self all_fold_mean_errors N/A accuracy N/A N/A read N/A N/A file_name N/A N/A N/A 
        Read data from txt file.

        Arguments:
            file_name (str): path and file name.

        Returns:
            numpy.ndarray: a matrix containing all read data.
     N/A data N/A N/A np loadtxt file_name N/A data N/A write N/A N/A file_name data N/A N/A N/A 
        Write data to txt file.

        Arguments:
            file_name (str): path and file name.
            data (numpy.ndarray): data to be written.

     N/A N/A N/A np savetxt file_name data N/A split_sets N/A N/A data training_percent n_test_samples perm N/A None None False N/A N/A 
        Split data matrix into training and test matrices.

        Training matrix size will be set using the training_percent
        parameter, so its samples are the firsts samples found at
        data matrix, the rest of samples will be testing matrix.

        If neither training_percent or number_test_samples are set, an error
        will happen, only one of the parameters can be set at a time.

        Arguments:
            data (numpy.ndarray): A matrix containing nxf patterns features.
            training_percent (float): An optional parameter used to
                calculate the number of patterns of training matrix.
            n_test_samples (int): An optional parameter used to set the
                number of patterns of testing matrix.
            perm (bool): A flag to choose if should permute(shuffle) database
                before splitting sets.

        Returns:
            tuple: Both training and test matrices.

     N/A number_of_samples N/A N/A data shape N/A 0 N/A perm N/A N/A N/A N/A N/A np random shuffle data N/A N/A n_test_samples None N/A N/A training_samples N/A number_of_samples n_test_samples N/A N/A N/A training_percent None N/A N/A training_samples N/A round N/A number_of_samples training_percent N/A N/A N/A Exception Error: Missing "training_percent" or "numberTestSamples"parameter. N/A training_matrix N/A data N/A N/A 0 training_samples N/A N/A testing_matrix N/A data N/A N/A training_samples N/A N/A N/A training_matrix testing_matrix N/A time_series_cross_validation N/A N/A ml database params number_folds dataprocess N/A 10 None N/A N/A 
        Performs a k-fold cross-validation on a Time Series as described by
        Rob Hyndman.

        See Also:
            http://robjhyndman.com/hyndsight/crossvalidation/

        Arguments:
            ml (:class:`ELMKernel` or :class:`ELMRandom`):
            database (numpy.ndarray): uses 'data' matrix to perform
                cross-validation.
            params (list): list of parameters from *ml* to train/test.
            number_folds (int): number of folds to be created from training and
                testing matrices.
            dataprocess (:class:`DataProcess`): an object that will pre-process
                database before training. Defaults to None.

        Returns:
            tuple: tuple of :class:`CVError` from training and testing.
     N/A N/A number_folds 2 N/A N/A N/A print Error: Must have at least 2-folds. N/A N/A number_patterns N/A N/A database shape N/A 0 N/A fold_size N/A round N/A number_patterns number_folds N/A folds N/A N/A k N/A range number_folds N/A N/A N/A N/A folds append N/A database N/A N/A N/A k fold_size N/A N/A k 1 fold_size N/A N/A training_errors N/A N/A testing_errors N/A N/A training_matrix N/A folds N/A 0 N/A testing_matrix N/A N/A k N/A range N/A number_folds 1 N/A N/A N/A k 0 N/A N/A training_matrix N/A N/A np concatenate N/A training_matrix testing_matrix axis 0 N/A testing_matrix N/A folds N/A N/A k 1 N/A N/A dataprocess None N/A N/A N/A training_matrix testing_matrix N/A N/A dataprocess auto training_matrix testing_matrix N/A tr_error N/A N/A ml train training_matrix params N/A te_error N/A N/A ml test testing_matrix N/A N/A N/A training_errors append tr_error N/A N/A N/A testing_errors append te_error N/A cv_training_error N/A CVError training_errors N/A cv_testing_error N/A CVError testing_errors N/A N/A cv_training_error cv_testing_error N/A kfold_cross_validation N/A N/A ml database params number_folds dataprocess N/A 10 None N/A N/A 
        Performs a k-fold cross-validation.

        Arguments:
            ml (:class:`ELMKernel` or :class:`ELMRandom`):
            database (numpy.ndarray): uses 'data' matrix to perform
                cross-validation.
            params (list): list of parameters from *ml* to train/test.
            number_folds (int): number of folds to be created from training and
                testing matrices.
            dataprocess (:class:`DataProcess`): an object that will pre-process
                database before training. Defaults to None.

        Returns:
            tuple: tuple of :class:`CVError` from training and testing.

     N/A N/A number_folds 2 N/A N/A N/A print Error: Must have at least 2-folds. N/A N/A N/A N/A N/A np random shuffle database N/A n_dim N/A N/A N/A database shape N/A 1 1 N/A number_patterns N/A N/A database shape N/A 0 N/A fold_size N/A N/A np ceil N/A number_patterns number_folds N/A folds N/A N/A k N/A range number_folds N/A N/A N/A N/A folds append N/A database N/A N/A N/A k fold_size N/A N/A k 1 fold_size N/A N/A training_errors N/A N/A testing_errors N/A N/A k N/A range number_folds N/A N/A training_matrix N/A N/A N/A N/A np array N/A N/A folds N/A k N/A folds N/A N/A k 1 -1 reshape -1 N/A n_dim 1 N/A N/A k N/A number_folds 1 N/A N/A training_matrix N/A N/A np vstack N/A training_matrix N/A folds N/A -1 N/A testing_matrix N/A folds N/A k N/A N/A dataprocess None N/A N/A N/A training_matrix testing_matrix N/A N/A dataprocess auto training_matrix testing_matrix N/A N/A N/A training_errors append N/A N/A ml train training_matrix params N/A N/A N/A testing_errors append N/A N/A ml test testing_matrix N/A cv_training_error N/A CVError training_errors N/A cv_testing_error N/A CVError testing_errors N/A N/A cv_training_error cv_testing_error N/A copy_doc_of N/A N/A fun N/A N/A decorator N/A N/A f N/A N/A N/A N/A f __doc__ N/A fun __doc__ N/A f N/A N/A decorator N/A