Module Import alias Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Import alias Import alias identifier Import alias identifier ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str BinOpAdd BinOpMult ListLoad Num Num BinOpMult ListLoad Num Num Assign SubscriptStore NameLoad Index Str BinOpAdd BinOpMult ListLoad Num Num BinOpMult ListLoad Num Num Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad NameLoad ListLoad Str Str Str Str Assign NameStore Call NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call NameLoad Call NameLoad Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Num Assign NameStore ListLoad Call NameLoad Str Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str BinOpAdd BinOpAdd BinOpMult ListLoad Num Num BinOpMult ListLoad Num Num BinOpMult ListLoad Num Num Assign SubscriptStore NameLoad Index Str BinOpAdd BinOpMult ListLoad Num Num BinOpMult ListLoad Num Num Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad NameLoad ListLoad Str Str Str Str Assign NameStore Call NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call NameLoad Call NameLoad Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Num Assign NameStore ListLoad Call NameLoad Str Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A sys N/A N/A N/A N/A sys path append ../.. N/A unittest N/A numpy np N/A pandas pd pandas DataFrame Series Index pandas.util.testing assert_almost_equal ramp.builders * ramp.estimators.base Probabilities ramp.features.base F Map ramp.features.trained Predictions ramp.model_definition ModelDefinition ramp.selectors BinaryFeatureSelector ramp.tests.test_features make_data TestSelectors N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self data N/A make_data 100 N/A test_binary_selectors N/A N/A self N/A N/A N/A d N/A self data N/A N/A d N/A target N/A N/A N/A 0 50 N/A N/A 1 50 N/A N/A d N/A good_feature N/A N/A N/A 0 35 N/A N/A 1 65 N/A N/A d N/A best_feature N/A d N/A target N/A features N/A map F N/A a b good_feature best_feature N/A selector N/A BinaryFeatureSelector N/A N/A x ffs N/A build_featureset_safe features N/A self data N/A N/A y ff N/A build_target_safe N/A F target N/A self data N/A cols N/A N/A selector select x y 2 N/A feature_rank N/A N/A F best_feature N/A F good_feature N/A N/A N/A self assertEqual cols N/A N/A f unique_name N/A f feature_rank N/A test_binary_selectors_multiclass N/A N/A self N/A N/A N/A d N/A self data N/A N/A d N/A target N/A N/A N/A N/A 0 50 N/A N/A 1 25 N/A N/A 2 25 N/A N/A d N/A good_feature N/A N/A N/A 0 35 N/A N/A 1 65 N/A N/A d N/A best_feature N/A d N/A target N/A features N/A map F N/A a b good_feature best_feature N/A selector N/A BinaryFeatureSelector N/A N/A x ffs N/A build_featureset_safe features N/A self data N/A N/A y ff N/A build_target_safe N/A F target N/A self data N/A cols N/A N/A selector select x y 2 N/A feature_rank N/A N/A F best_feature N/A F good_feature N/A N/A N/A self assertEqual cols N/A N/A f unique_name N/A f feature_rank N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main