Module Import alias identifier ImportFrom alias identifier ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults Num body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call NameLoad NameLoad Str Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Assign SubscriptStore NameLoad Slice AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list Assign NameStore BinOpMult ListLoad NameLoad NameLoad Num Assign NameStore ListLoad Num Num Num Num Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Num attr Num Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Num Num Num attr Num Num Assign NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad ExtSlice Slice Slice Num Num Num Assign NameStore ListLoad Num Num Assign NameStore Call NameLoad Str Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Slice Num Num Str FunctionDef arguments args defaults body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call NameLoad attr NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad Expr Call NameLoad NameLoad Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad ListLoad Num ListLoad Num decorator_list FunctionDef arguments args defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Call NameLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call NameLoad NameLoad Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Call AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad attr AttributeLoad NameLoad attr attr Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad attr AttributeLoad NameLoad attr attr Expr Call NameLoad NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad ListLoad Num ListLoad Num decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad Expr Call NameLoad NameLoad Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad ListLoad Num ListLoad Num decorator_list FunctionDef arguments args defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Call NameLoad NameLoad attr Call NameLoad NameLoad Expr Call NameLoad NameLoad Call AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad attr AttributeLoad NameLoad attr attr Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad attr AttributeLoad NameLoad attr attr Expr Call NameLoad NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad ListLoad Num ListLoad Num decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call NameLoad NameLoad Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Call AttributeLoad NameLoad attr keyword NameLoad decorator_list
N/A N/A numpy np scipy sparse sp nose.tools assert_raises assert_equal numpy.testing assert_array_equal sklearn.base BaseEstimator sklearn.feature_selection.base SelectorMixin sklearn.utils check_array StepSelector N/A SelectorMixin BaseEstimator N/A N/A Retain every `step` features (beginning with 0) __init__ N/A N/A self step N/A 2 N/A N/A N/A self step step N/A fit N/A N/A self X y N/A None N/A N/A X N/A check_array X csc N/A N/A self n_input_feats N/A N/A X shape N/A 1 N/A self N/A _get_support_mask N/A N/A self N/A N/A N/A mask N/A N/A np zeros N/A self n_input_feats dtype bool N/A N/A mask N/A N/A self step True N/A mask N/A N/A N/A support N/A N/A True False 5 N/A support_inds N/A 0 2 4 6 8 N/A X N/A N/A N/A N/A np arange 20 reshape 2 10 N/A Xt N/A N/A N/A N/A np arange 0 20 2 reshape 2 5 N/A Xinv N/A N/A X copy N/A N/A Xinv N/A N/A N/A 1 2 0 N/A y N/A 0 1 N/A feature_names N/A list ABCDEFGHIJ N/A feature_names_t N/A feature_names N/A 2 N/A feature_names_inv N/A N/A np array feature_names N/A N/A feature_names_inv N/A 1 2 test_transform_dense N/A N/A N/A N/A N/A sel N/A StepSelector N/A Xt_actual N/A N/A N/A N/A sel fit X y transform X N/A Xt_actual2 N/A N/A N/A StepSelector fit_transform X y N/A N/A assert_array_equal Xt Xt_actual N/A N/A assert_array_equal Xt Xt_actual2 N/A N/A assert_equal N/A np int32 N/A N/A N/A sel transform N/A N/A X astype N/A np int32 dtype N/A N/A assert_equal N/A np float32 N/A N/A N/A sel transform N/A N/A X astype N/A np float32 dtype N/A names_t_actual N/A N/A sel transform N/A feature_names N/A N/A assert_array_equal feature_names_t N/A N/A names_t_actual ravel N/A N/A assert_raises ValueError N/A sel transform N/A N/A np array N/A N/A 1 N/A 2 N/A test_transform_sparse N/A N/A N/A N/A N/A sparse N/A sp csc_matrix N/A sel N/A StepSelector N/A Xt_actual N/A N/A N/A N/A sel fit N/A sparse X transform N/A sparse X N/A Xt_actual2 N/A N/A sel fit_transform N/A sparse X N/A N/A assert_array_equal Xt N/A N/A Xt_actual toarray N/A N/A assert_array_equal Xt N/A N/A Xt_actual2 toarray N/A N/A assert_equal N/A np int32 N/A N/A N/A sel transform N/A N/A N/A sparse X astype N/A np int32 dtype N/A N/A assert_equal N/A np float32 N/A N/A N/A sel transform N/A N/A N/A sparse X astype N/A np float32 dtype N/A N/A assert_raises ValueError N/A sel transform N/A N/A np array N/A N/A 1 N/A 2 N/A test_inverse_transform_dense N/A N/A N/A N/A N/A sel N/A StepSelector N/A Xinv_actual N/A N/A N/A N/A sel fit X y inverse_transform Xt N/A N/A assert_array_equal Xinv Xinv_actual N/A N/A assert_equal N/A np int32 N/A N/A N/A sel inverse_transform N/A N/A Xt astype N/A np int32 dtype N/A N/A assert_equal N/A np float32 N/A N/A N/A sel inverse_transform N/A N/A Xt astype N/A np float32 dtype N/A names_inv_actual N/A N/A sel inverse_transform N/A feature_names_t N/A N/A assert_array_equal feature_names_inv N/A N/A names_inv_actual ravel N/A N/A assert_raises ValueError N/A sel inverse_transform N/A N/A np array N/A N/A 1 N/A 2 N/A test_inverse_transform_sparse N/A N/A N/A N/A N/A sparse N/A sp csc_matrix N/A sel N/A StepSelector N/A Xinv_actual N/A N/A N/A N/A sel fit N/A sparse X inverse_transform N/A sparse Xt N/A N/A assert_array_equal Xinv N/A N/A Xinv_actual toarray N/A N/A assert_equal N/A np int32 N/A N/A N/A sel inverse_transform N/A N/A N/A sparse Xt astype N/A np int32 dtype N/A N/A assert_equal N/A np float32 N/A N/A N/A sel inverse_transform N/A N/A N/A sparse Xt astype N/A np float32 dtype N/A N/A assert_raises ValueError N/A sel inverse_transform N/A N/A np array N/A N/A 1 N/A 2 N/A test_get_support N/A N/A N/A N/A N/A sel N/A StepSelector N/A N/A N/A sel fit X y N/A N/A assert_array_equal support N/A N/A sel get_support N/A N/A assert_array_equal support_inds N/A N/A sel get_support indices True N/A