Module Import alias identifier ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam NameParam defaults body Assert CompareEq Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad For NameStore NameLoad body Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Assert CompareEq SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str NameLoad Expr Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str keyword Num keyword BinOpMod Str TupleLoad NameLoad NameLoad Expr Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str keyword Num keyword BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword Num Assign NameStore Call NameLoad NameLoad keyword Num keyword NameLoad keyword NameLoad keyword Str keyword Num keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Dict Num Num Num Dict Str Str Str Num Call AttributeLoad NameLoad attr ListLoad Num TupleLoad Num Dict Str Str Str Num Call AttributeLoad NameLoad attr ListLoad Num TupleLoad Num Num Dict Str Str Str Num Call AttributeLoad NameLoad attr ListLoad Num TupleLoad Num Num Num Expr Call NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword Num Assign NameStore Call NameLoad NameLoad keyword Num keyword NameLoad keyword NameLoad keyword Str keyword Num keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr AttributeLoad NameLoad attr Assign NameStore Dict Num Num Num Dict Str Str Str Num Call AttributeLoad NameLoad attr ListLoad Num Num Num Num TupleLoad Num Dict Str Str Str Num Call AttributeLoad NameLoad attr ListLoad Num Num Num Num TupleLoad Num Num Dict Str Str Str Num Call AttributeLoad NameLoad attr ListLoad Num Num Num Num TupleLoad Num Num Num Expr Call NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword Num Assign NameStore Call NameLoad NameLoad keyword Num keyword NameLoad keyword NameLoad keyword Str keyword Num keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr TupleLoad Num Num Num decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword Num Assign NameStore Call NameLoad NameLoad keyword Num keyword NameLoad keyword NameLoad keyword Str keyword Num keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr TupleLoad Num Num Num decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword Num Assign NameStore Call NameLoad NameLoad keyword Num keyword NameLoad keyword NameLoad keyword Str keyword Num keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr TupleLoad Num Num Num decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword Num Assign NameStore Call NameLoad NameLoad keyword Num keyword NameLoad keyword NameLoad keyword Str keyword Num keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr TupleLoad Num Num Num decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword Num Assign NameStore Call NameLoad NameLoad keyword Num keyword NameLoad keyword NameLoad keyword Str keyword Num keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Num Assign NameStore Call NameLoad NameLoad keyword Num keyword NameLoad keyword NameLoad keyword Str keyword Num keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Num decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Assign TupleStore NameStore NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad keyword Num keyword NameLoad keyword NameLoad keyword Str keyword Num keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Num decorator_list
N/A N/A numpy np numpy.testing assert_almost_equal mlxtend.feature_selection SequentialFeatureSelector SFS sklearn.neighbors KNeighborsClassifier sklearn.datasets load_iris sklearn.linear_model LinearRegression sklearn.datasets load_boston dict_compare_utility N/A N/A d1 d2 N/A N/A N/A N/A N/A N/A d1 keys N/A N/A d2 keys N/A %s != %s N/A d1 d2 N/A i d1 N/A N/A err_msg N/A d1[%s]['feature_idx'] != d2[%s]['feature_idx'] N/A i i N/A N/A N/A N/A d1 N/A i N/A feature_idx N/A N/A d1 N/A i N/A feature_idx err_msg N/A N/A assert_almost_equal N/A N/A d1 N/A i N/A avg_score N/A N/A d2 N/A i N/A avg_score decimal 3 err_msg N/A d1[%s]['avg_score'] != d2[%s]['avg_score'] N/A i i N/A N/A assert_almost_equal N/A N/A d1 N/A i N/A cv_scores N/A N/A d2 N/A i N/A cv_scores decimal 3 err_msg N/A d1[%s]['cv_scores'] != d2[%s]['cv_scores'] N/A i i N/A test_knn_wo_cv N/A N/A N/A N/A N/A iris N/A load_iris N/A X N/A iris data N/A y N/A iris target N/A knn N/A KNeighborsClassifier n_neighbors 4 N/A sfs1 N/A SFS knn k_features 3 forward True floating False scoring accuracy cv 0 skip_if_stuck True print_progress False N/A sfs1 N/A N/A sfs1 fit X y N/A expect N/A 1 2 3 N/A avg_score cv_scores feature_idx 0.96 N/A N/A np array N/A 0.96 N/A 3 N/A avg_score cv_scores feature_idx 0.973333333333 N/A N/A np array N/A 0.97333333 N/A 2 3 N/A avg_score cv_scores feature_idx 0.973333333333 N/A N/A np array N/A 0.97333333 N/A 1 2 3 N/A N/A dict_compare_utility d1 expect d2 N/A sfs1 subsets_ N/A test_knn_cv3 N/A N/A N/A N/A N/A iris N/A load_iris N/A X N/A iris data N/A y N/A iris target N/A knn N/A KNeighborsClassifier n_neighbors 4 N/A sfs1 N/A SFS knn k_features 3 forward True floating False scoring accuracy cv 4 skip_if_stuck True print_progress False N/A sfs1 N/A N/A sfs1 fit X y N/A N/A sfs1 subsets_ N/A expect N/A 1 2 3 N/A avg_score cv_scores feature_idx 0.952991452991 N/A N/A np array N/A 0.97435897 0.94871795 0.88888889 1.0 N/A 3 N/A avg_score cv_scores feature_idx 0.959935897436 N/A N/A np array N/A 0.97435897 0.94871795 0.91666667 1.0 N/A 2 3 N/A avg_score cv_scores feature_idx 0.972756410256 N/A N/A np array N/A 0.97435897 1.0 0.94444444 0.97222222 N/A 1 2 3 N/A N/A dict_compare_utility d1 expect d2 N/A sfs1 subsets_ N/A test_knn_option_sfs N/A N/A N/A N/A N/A iris N/A load_iris N/A X N/A iris data N/A y N/A iris target N/A knn N/A KNeighborsClassifier n_neighbors 4 N/A sfs1 N/A SFS knn k_features 3 forward True floating False scoring accuracy cv 4 skip_if_stuck True print_progress False N/A sfs1 N/A N/A sfs1 fit X y N/A N/A N/A sfs1 k_feature_idx_ N/A 1 2 3 N/A test_knn_option_sffs N/A N/A N/A N/A N/A iris N/A load_iris N/A X N/A iris data N/A y N/A iris target N/A knn N/A KNeighborsClassifier n_neighbors 4 N/A sfs2 N/A SFS knn k_features 3 forward True floating True scoring accuracy cv 4 skip_if_stuck True print_progress False N/A sfs2 N/A N/A sfs2 fit X y N/A N/A N/A sfs2 k_feature_idx_ N/A 1 2 3 N/A test_knn_option_sbs N/A N/A N/A N/A N/A iris N/A load_iris N/A X N/A iris data N/A y N/A iris target N/A knn N/A KNeighborsClassifier n_neighbors 4 N/A sfs3 N/A SFS knn k_features 3 forward False floating False scoring accuracy cv 4 skip_if_stuck True print_progress False N/A sfs3 N/A N/A sfs3 fit X y N/A N/A N/A sfs3 k_feature_idx_ N/A 1 2 3 N/A test_knn_option_sfbs N/A N/A N/A N/A N/A iris N/A load_iris N/A X N/A iris data N/A y N/A iris target N/A knn N/A KNeighborsClassifier n_neighbors 4 N/A sfs4 N/A SFS knn k_features 3 forward False floating True scoring accuracy cv 4 skip_if_stuck True print_progress False N/A sfs4 N/A N/A sfs4 fit X y N/A N/A N/A sfs4 k_feature_idx_ N/A 1 2 3 N/A test_knn_scoring_metric N/A N/A N/A N/A N/A iris N/A load_iris N/A X N/A iris data N/A y N/A iris target N/A knn N/A KNeighborsClassifier n_neighbors 4 N/A sfs5 N/A SFS knn k_features 3 forward False floating True scoring accuracy cv 4 skip_if_stuck True print_progress False N/A sfs5 N/A N/A sfs5 fit X y N/A N/A N/A round N/A sfs5 k_score_ 4 0.9728 N/A sfs6 N/A SFS knn k_features 3 forward False floating True scoring precision cv 4 skip_if_stuck True print_progress False N/A sfs6 N/A N/A sfs6 fit X y N/A N/A N/A round N/A sfs6 k_score_ 4 0.9737 N/A test_regression N/A N/A N/A N/A N/A boston N/A load_boston N/A N/A X y N/A N/A boston data N/A boston target N/A lr N/A LinearRegression N/A sfs_r N/A SFS lr k_features 13 forward True floating False scoring mean_squared_error cv 10 skip_if_stuck True print_progress False N/A sfs_r N/A N/A sfs_r fit X y N/A N/A N/A round N/A sfs_r k_score_ 4 -34.7631 N/A