Module Import alias identifier Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias alias alias alias alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore Num FunctionDef arguments args defaults body Assign NameStore Call NameLoad Call NameLoad keyword Num Expr Call NameLoad NameLoad AttributeLoad NameLoad attr ListLoad Expr Call NameLoad NameLoad AttributeLoad Call NameLoad Call NameLoad attr Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num ListLoad Num Num Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num ListLoad Num Num Expr Call NameLoad NameLoad AttributeLoad Call NameLoad Call NameLoad attr Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num ListLoad Num Num Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num ListLoad Num Num decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad Num Num Num Num Assign NameStore Call NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Call NameLoad keyword Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad keyword Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Call NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args defaults body Assign TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Num Assign NameStore Call NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num SubscriptLoad NameLoad Slice Num Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num SubscriptLoad NameLoad Slice Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Call NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad Call NameLoad AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Num Assign NameStore Call NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice Num SubscriptLoad AttributeLoad NameLoad attr Slice Num Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice Num SubscriptLoad AttributeLoad NameLoad attr Slice Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad Call NameLoad AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Call NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad ListLoad Num Num Num Expr Call NameLoad Call AttributeLoad NameLoad attr CompareEq NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad Call NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad AttributeLoad NameLoad attr BinOpDiv BinOpMult NameLoad BinOpSub NameLoad Num Num Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad ListLoad Num Num Num Expr Call NameLoad Call AttributeLoad NameLoad attr CompareEq NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args defaults body For NameStore ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call NameLoad keyword Num Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr keyword Num keyword Num keyword Num keyword Num keyword Num keyword NameLoad keyword Num Assign TupleStore NameStore NameStore TupleLoad SubscriptLoad NameLoad Slice Num SubscriptLoad NameLoad Slice Num Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr NameLoad Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore CompareGt NameLoad Num Expr Call NameLoad NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call NameLoad Call AttributeLoad NameLoad attr attr NameLoad Call NameLoad NameLoad Assign NameStore Call AttributeLoad CompareGt Call AttributeLoad NameLoad attr NameLoad Num attr NameLoad Expr Call NameLoad NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Num Num Assign SubscriptStore NameLoad ExtSlice Slice Num Slice Num Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Num Num Assign SubscriptStore NameLoad ExtSlice Slice Num Index Num Num Assign SubscriptStore NameLoad ExtSlice Slice Index Num Num Assign SubscriptStore NameLoad ExtSlice Slice Index Num Num Assign NameStore Call NameLoad Call NameLoad Expr Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Slice Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad SubscriptLoad NameLoad ExtSlice Slice Index Num Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Num Num Assign SubscriptStore NameLoad ExtSlice Slice Num Index Num Num Assign NameStore Call NameLoad Call NameLoad Expr Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad SubscriptLoad NameLoad ExtSlice Slice Index Num Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num Assign NameStore ListLoad Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num Assign NameStore Call NameLoad Call AttributeLoad Str attr For NameStore TupleLoad Call NameLoad Call NameLoad keyword Num Call NameLoad Call NameLoad Call NameLoad body Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr NameLoad NameLoad Expr Call NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num Index Num Expr Call NameLoad Call NameLoad NameLoad Call NameLoad Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr NameLoad NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num Index Num Expr Call NameLoad NameLoad ListLoad Num Num Num decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num Assign NameStore ListLoad Str Str Str Str Str Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num Num Num attr Assign NameStore Call NameLoad Call AttributeLoad Str attr FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr NameLoad NameLoad Expr Call NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num Index Num Expr Call NameLoad Call NameLoad NameLoad Call NameLoad Str If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Num Call NameLoad SubscriptLoad NameLoad Index Num Expr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Call AttributeLoad NameLoad attr NameLoad keyword Num Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr NameLoad NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num Index Num Expr Call NameLoad NameLoad Num decorator_list For NameStore TupleLoad Call NameLoad keyword Num Call NameLoad Call NameLoad Call NameLoad body Expr Call NameLoad NameLoad For NameStore TupleLoad Call NameLoad Call NameLoad keyword NameLoad Call NameLoad body Expr Call NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num For NameStore TupleLoad Call NameLoad Call NameLoad keyword Num Call NameLoad Call NameLoad Call NameLoad Call NameLoad keyword Num body Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr NameLoad NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num Index Num Expr Call NameLoad NameLoad ListLoad Num Num Num Expr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad AttributeLoad NameLoad attr Num Expr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad keyword Num For TupleStore NameStore NameStore NameStore Call NameLoad TupleLoad NameLoad NameLoad TupleLoad Num Num TupleLoad Num Num body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr keyword Num keyword Num keyword Num keyword Num keyword Num keyword NameLoad keyword Num Assign TupleStore NameStore NameStore TupleLoad SubscriptLoad NameLoad Slice Num SubscriptLoad NameLoad Slice Num Assign TupleStore NameStore NameStore TupleLoad SubscriptLoad NameLoad Slice Num SubscriptLoad NameLoad Slice Num Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad NameLoad NameLoad keyword Str NameLoad keyword Num Expr Call NameLoad Call NameLoad NameLoad NameLoad keyword Str NameLoad keyword Num decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad keyword Num For NameStore TupleLoad NameLoad NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr keyword Num keyword Num keyword Num keyword Num keyword Num keyword NameLoad keyword Num Assign TupleStore NameStore NameStore TupleLoad SubscriptLoad NameLoad Slice Num SubscriptLoad NameLoad Slice Num Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad Call NameLoad Call AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore CompareGt NameLoad Num Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad keyword Num Assign TupleStore NameStore NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore TupleLoad SubscriptLoad NameLoad Slice Num SubscriptLoad NameLoad Slice Num Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad Call NameLoad Call AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr keyword Num Num Assign NameStore Call AttributeLoad NameLoad attr ListComp Call AttributeLoad NameLoad attr comprehension NameStore NameLoad Expr Call NameLoad Call AttributeLoad BinOpSub NameLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr keyword Num keyword Num keyword Num keyword Num keyword Num keyword NameLoad keyword Num Assign TupleStore NameStore NameStore TupleLoad SubscriptLoad NameLoad Slice Num SubscriptLoad NameLoad Slice Num Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore Call AttributeLoad Call NameLoad Call AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call NameLoad Call AttributeLoad CompareGt Call AttributeLoad NameLoad attr NameLoad Num attr NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr keyword Num keyword Num keyword Num Assign TupleStore NameStore NameStore TupleLoad SubscriptLoad NameLoad Slice Num SubscriptLoad NameLoad Slice Num Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore Call AttributeLoad Call NameLoad Call AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call NameLoad CompareGt Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Num Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Call NameLoad keyword Num Assign NameStore ListLoad Num Num Num Assign NameStore Call NameLoad NameLoad Dict Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num attr Expr Call NameLoad CompareIn NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad ListLoad TupleLoad Str Call NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body For NameStore ListLoad Call NameLoad keyword Str keyword Num Call NameLoad keyword Num body Assign NameStore Call NameLoad NameLoad For NameStore ListLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad SubscriptLoad NameLoad Index Num NameLoad Expr Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Expr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Call NameLoad keyword Num Expr Call NameLoad NameLoad Lambda arguments args NameParam defaults AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Lambda arguments args NameParam defaults AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Call NameLoad keyword Num Expr Call NameLoad NameLoad AttributeLoad NameLoad attr ListLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Call NameLoad keyword Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore ListComp Call NameLoad NameLoad comprehension NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad Call NameLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Call NameLoad keyword Num Expr Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad AttributeLoad NameLoad attr BinOpDiv BinOpMult NameLoad BinOpSub NameLoad Num Num Assign NameStore Call NameLoad Call NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad AttributeLoad NameLoad attr BinOpDiv BinOpMult NameLoad BinOpSub NameLoad Num Num decorator_list FunctionDef arguments args defaults body Assign TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num SubscriptLoad NameLoad Slice Num Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num SubscriptLoad NameLoad Slice Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Call NameLoad AttributeLoad NameLoad attr BinOpDiv BinOpMult NameLoad BinOpSub NameLoad Num Num Expr Call NameLoad Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Num Expr Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice Num SubscriptLoad AttributeLoad NameLoad attr Slice Num Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice Num SubscriptLoad AttributeLoad NameLoad attr Slice Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad Call NameLoad AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args defaults body Assign NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Assign NameStore Call NameLoad Call NameLoad keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr keyword Num Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign NameStore Num For NameStore Call NameLoad NameLoad body For NameStore Call NameLoad BinOpAdd NameLoad Num NameLoad body Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr AttributeLoad NameLoad attr AugAssignAdd SubscriptStore NameLoad Index TupleLoad CompareEq NameLoad Num NameLoad Num AugAssignAdd SubscriptStore NameLoad Index TupleLoad CompareEq NameLoad Num NameLoad Num AugAssignAdd NameStore Num Expr Call NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad For NameStore Call NameLoad NameLoad body Expr Call NameLoad Call AttributeLoad Call NameLoad SubscriptLoad NameLoad ExtSlice Slice Index NameLoad attr Call NameLoad ListLoad Num Num Num Expr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Index NameLoad Num decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Call NameLoad keyword Num Assign NameStore ListLoad Num Num Num Assign NameStore Call NameLoad NameLoad Dict Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num attr Expr Call NameLoad CompareIn NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad Num Num Num Num Assign NameStore Call NameLoad Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpSub NameLoad NameLoad Expr Call NameLoad SubscriptLoad NameLoad ExtSlice Index Num Slice Num Expr Call NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num keyword Num SubscriptLoad NameLoad Slice Num Expr Call NameLoad SubscriptLoad NameLoad Index Num Call AttributeLoad SubscriptLoad NameLoad Index Num attr decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad Num Num Num Num For NameStore Call NameLoad Num body Assign NameStore BinOpMod BinOpAdd NameLoad NameLoad Num Assign NameStore Call NameLoad Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad attr NameLoad Expr Call NameLoad SubscriptLoad NameLoad Index Num BinOpMod NameLoad Num decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Assign NameStore Call NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Call NameLoad keyword Num Expr Call NameLoad NameLoad AttributeLoad NameLoad attr ListLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Call NameLoad keyword Num keyword Num keyword Num Expr Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad AttributeLoad NameLoad attr BinOpMult NameLoad Num Assign NameStore Call NameLoad Call NameLoad keyword Num keyword Num Expr Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad AttributeLoad NameLoad attr BinOpMult NameLoad Num decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Call NameLoad keyword Num keyword Num Assign NameStore ListLoad Num Num Num Assign NameStore Call NameLoad NameLoad Dict Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num attr Expr Call NameLoad CompareIn NameLoad NameLoad decorator_list
N/A N/A numpy np N/A scipy.sparse sp sklearn.utils.testing assert_array_equal sklearn.utils.testing assert_equal sklearn.utils.testing assert_almost_equal sklearn.utils.testing assert_true sklearn.utils.testing assert_false sklearn.utils.testing assert_raises sklearn.utils.testing assert_warns sklearn.utils.testing assert_greater sklearn.utils.testing assert_raise_message sklearn.multiclass OneVsRestClassifier sklearn.multiclass OneVsOneClassifier sklearn.multiclass OutputCodeClassifier sklearn.utils.multiclass check_classification_targets type_of_target sklearn.utils shuffle sklearn.metrics precision_score sklearn.metrics recall_score sklearn.svm LinearSVC SVC sklearn.naive_bayes MultinomialNB sklearn.linear_model LinearRegression Lasso ElasticNet Ridge Perceptron LogisticRegression SGDClassifier sklearn.tree DecisionTreeClassifier DecisionTreeRegressor sklearn.model_selection GridSearchCV sklearn.pipeline Pipeline sklearn svm sklearn datasets sklearn.externals.six.moves zip N/A iris N/A N/A datasets load_iris N/A rng N/A N/A N/A np random RandomState 0 N/A perm N/A N/A rng permutation N/A N/A iris target size N/A N/A iris data N/A N/A iris data N/A perm N/A N/A iris target N/A N/A iris target N/A perm N/A n_classes 3 test_ovr_exceptions N/A N/A N/A N/A N/A ovr N/A OneVsRestClassifier N/A LinearSVC random_state 0 N/A N/A assert_raises ValueError N/A ovr predict N/A N/A N/A assert_raises ValueError N/A N/A OneVsRestClassifier N/A MultinomialNB fit N/A N/A np array N/A N/A 1 0 N/A 0 1 N/A N/A np array N/A N/A 1 2 N/A 3 1 N/A N/A assert_raises ValueError N/A N/A OneVsRestClassifier N/A MultinomialNB fit N/A N/A np array N/A N/A 1 0 N/A 0 1 N/A N/A np array N/A N/A 1.5 2.4 N/A 3.1 0.8 N/A test_check_classification_targets N/A N/A N/A N/A N/A y N/A N/A np array N/A 0.0 1.1 2.0 3.0 N/A msg N/A type_of_target y N/A N/A assert_raise_message ValueError msg check_classification_targets y N/A test_ovr_fit_predict N/A N/A N/A N/A N/A ovr N/A OneVsRestClassifier N/A LinearSVC random_state 0 N/A pred N/A N/A N/A N/A ovr fit N/A iris data N/A iris target predict N/A iris data N/A N/A assert_equal N/A len N/A ovr estimators_ n_classes N/A clf N/A LinearSVC random_state 0 N/A pred2 N/A N/A N/A N/A clf fit N/A iris data N/A iris target predict N/A iris data N/A N/A assert_equal N/A N/A np mean N/A N/A iris target pred N/A N/A np mean N/A N/A iris target pred2 N/A ovr N/A OneVsRestClassifier N/A MultinomialNB N/A pred N/A N/A N/A N/A ovr fit N/A iris data N/A iris target predict N/A iris data N/A N/A assert_greater N/A N/A np mean N/A N/A iris target pred 0.65 N/A test_ovr_partial_fit N/A N/A N/A N/A N/A N/A X y N/A shuffle N/A iris data N/A iris target random_state 0 N/A ovr N/A OneVsRestClassifier N/A MultinomialNB N/A N/A N/A ovr partial_fit N/A X N/A 100 N/A y N/A 100 N/A N/A np unique y N/A N/A N/A ovr partial_fit N/A X N/A 100 N/A y N/A 100 N/A pred N/A N/A ovr predict X N/A ovr2 N/A OneVsRestClassifier N/A MultinomialNB N/A pred2 N/A N/A N/A N/A ovr2 fit X y predict X N/A N/A assert_almost_equal pred pred2 N/A N/A assert_equal N/A len N/A ovr estimators_ N/A len N/A N/A np unique y N/A N/A assert_greater N/A N/A np mean N/A y pred 0.65 N/A ovr N/A OneVsRestClassifier N/A MultinomialNB N/A N/A N/A ovr partial_fit N/A N/A iris data N/A 60 N/A N/A iris target N/A 60 N/A N/A np unique N/A iris target N/A N/A N/A ovr partial_fit N/A N/A iris data N/A 60 N/A N/A iris target N/A 60 N/A pred N/A N/A ovr predict N/A iris data N/A ovr2 N/A OneVsRestClassifier N/A MultinomialNB N/A pred2 N/A N/A N/A N/A ovr2 fit N/A iris data N/A iris target predict N/A iris data N/A N/A assert_almost_equal pred pred2 N/A N/A assert_equal N/A len N/A ovr estimators_ N/A len N/A N/A np unique N/A iris target N/A N/A assert_greater N/A N/A np mean N/A N/A iris target pred 0.65 N/A test_ovr_ovo_regressor N/A N/A N/A N/A N/A ovr N/A OneVsRestClassifier N/A DecisionTreeRegressor N/A pred N/A N/A N/A N/A ovr fit N/A iris data N/A iris target predict N/A iris data N/A N/A assert_equal N/A len N/A ovr estimators_ n_classes N/A N/A assert_array_equal N/A N/A np unique pred N/A 0 1 2 N/A N/A assert_greater N/A N/A np mean N/A pred N/A iris target 0.9 N/A ovr N/A OneVsOneClassifier N/A DecisionTreeRegressor N/A pred N/A N/A N/A N/A ovr fit N/A iris data N/A iris target predict N/A iris data N/A N/A assert_equal N/A len N/A ovr estimators_ N/A N/A n_classes N/A n_classes 1 2 N/A N/A assert_array_equal N/A N/A np unique pred N/A 0 1 2 N/A N/A assert_greater N/A N/A np mean N/A pred N/A iris target 0.9 N/A test_ovr_fit_predict_sparse N/A N/A N/A N/A N/A sparse N/A N/A sp csr_matrix N/A sp csc_matrix N/A sp coo_matrix N/A sp dok_matrix N/A sp lil_matrix N/A N/A base_clf N/A MultinomialNB alpha 1 N/A N/A X Y N/A N/A datasets make_multilabel_classification n_samples 100 n_features 20 n_classes 5 n_labels 3 length 50 allow_unlabeled True random_state 0 N/A N/A X_train Y_train N/A N/A X N/A 80 N/A Y N/A 80 N/A X_test N/A X N/A 80 N/A clf N/A N/A N/A OneVsRestClassifier base_clf fit X_train Y_train N/A Y_pred N/A N/A clf predict X_test N/A clf_sprs N/A N/A N/A OneVsRestClassifier base_clf fit X_train N/A sparse Y_train N/A Y_pred_sprs N/A N/A clf_sprs predict X_test N/A N/A assert_true N/A clf multilabel_ N/A N/A assert_true N/A N/A sp issparse Y_pred_sprs N/A N/A assert_array_equal N/A N/A Y_pred_sprs toarray Y_pred N/A Y_proba N/A N/A clf_sprs predict_proba X_test N/A pred N/A Y_proba 0.5 N/A N/A assert_array_equal pred N/A N/A Y_pred_sprs toarray N/A clf_sprs N/A N/A N/A OneVsRestClassifier N/A N/A svm SVC fit X_train N/A sparse Y_train N/A dec_pred N/A N/A N/A N/A N/A clf_sprs decision_function X_test 0 astype int N/A N/A assert_array_equal dec_pred N/A N/A N/A N/A clf_sprs predict X_test toarray N/A test_ovr_always_present N/A N/A N/A N/A N/A X N/A N/A np ones N/A 10 2 N/A N/A X N/A N/A 5 N/A 0 N/A y N/A N/A np zeros N/A 10 3 N/A N/A y N/A N/A 5 N/A 0 1 N/A N/A y N/A N/A N/A 1 1 N/A N/A y N/A N/A N/A 2 1 N/A ovr N/A OneVsRestClassifier N/A LogisticRegression N/A N/A assert_warns UserWarning N/A ovr fit X y N/A y_pred N/A N/A ovr predict X N/A N/A assert_array_equal N/A N/A np array y_pred N/A N/A np array y N/A y_pred N/A N/A ovr decision_function X N/A N/A assert_equal N/A N/A np unique N/A y_pred N/A N/A N/A -2 1 N/A y_pred N/A N/A ovr predict_proba X N/A N/A assert_array_equal N/A y_pred N/A N/A N/A -1 N/A N/A np ones N/A N/A X shape N/A 0 N/A y N/A N/A np zeros N/A 10 2 N/A N/A y N/A N/A 5 N/A 0 1 N/A ovr N/A OneVsRestClassifier N/A LogisticRegression N/A N/A assert_warns UserWarning N/A ovr fit X y N/A y_pred N/A N/A ovr predict_proba X N/A N/A assert_array_equal N/A y_pred N/A N/A N/A -1 N/A N/A np zeros N/A N/A X shape N/A 0 N/A test_ovr_multiclass N/A N/A N/A N/A N/A X N/A N/A np array N/A N/A 0 0 5 N/A 0 5 0 N/A 3 0 0 N/A 0 0 6 N/A 6 0 0 N/A y N/A eggs spam ham eggs ham N/A Y N/A N/A np array N/A N/A 0 0 1 N/A 0 1 0 N/A 1 0 0 N/A 0 0 1 N/A 1 0 0 N/A classes N/A set N/A N/A ham eggs spam split N/A base_clf N/A N/A MultinomialNB N/A LinearSVC random_state 0 N/A LinearRegression N/A Ridge N/A ElasticNet N/A N/A clf N/A N/A N/A OneVsRestClassifier base_clf fit X y N/A N/A assert_equal N/A set N/A clf classes_ classes N/A y_pred N/A N/A N/A clf predict N/A N/A np array N/A N/A 0 0 4 N/A 0 N/A N/A assert_equal N/A set y_pred N/A set eggs N/A clf N/A N/A N/A OneVsRestClassifier base_clf fit X Y N/A y_pred N/A N/A N/A clf predict N/A N/A 0 0 4 N/A 0 N/A N/A assert_array_equal y_pred N/A 0 0 1 N/A test_ovr_binary N/A N/A N/A N/A N/A X N/A N/A np array N/A N/A 0 0 5 N/A 0 5 0 N/A 3 0 0 N/A 0 0 6 N/A 6 0 0 N/A y N/A eggs spam spam eggs spam N/A Y N/A N/A N/A np array N/A N/A 0 1 1 0 1 T N/A classes N/A set N/A N/A eggs spam split conduct_test N/A N/A base_clf test_predict_proba N/A False N/A N/A clf N/A N/A N/A OneVsRestClassifier base_clf fit X y N/A N/A assert_equal N/A set N/A clf classes_ classes N/A y_pred N/A N/A N/A clf predict N/A N/A np array N/A N/A 0 0 4 N/A 0 N/A N/A assert_equal N/A set y_pred N/A set eggs N/A test_predict_proba N/A N/A X_test N/A N/A np array N/A N/A 0 0 4 N/A probabilities N/A N/A clf predict_proba X_test N/A N/A assert_equal 2 N/A len N/A probabilities N/A 0 N/A N/A assert_equal N/A N/A clf classes_ N/A N/A N/A np argmax probabilities axis 1 N/A N/A clf predict X_test N/A clf N/A N/A N/A OneVsRestClassifier base_clf fit X Y N/A y_pred N/A N/A N/A clf predict N/A N/A 3 0 0 N/A 0 N/A N/A assert_equal y_pred 1 N/A N/A base_clf N/A N/A LinearSVC random_state 0 N/A LinearRegression N/A Ridge N/A ElasticNet N/A N/A N/A conduct_test base_clf N/A base_clf N/A N/A MultinomialNB N/A SVC probability True N/A LogisticRegression N/A N/A N/A conduct_test base_clf test_predict_proba True N/A test_ovr_multilabel N/A N/A N/A N/A N/A X N/A N/A np array N/A N/A 0 4 5 N/A 0 5 0 N/A 3 3 3 N/A 4 0 6 N/A 6 0 0 N/A y N/A N/A np array N/A N/A 0 1 1 N/A 0 1 0 N/A 1 1 1 N/A 1 0 1 N/A 1 0 0 N/A base_clf N/A N/A MultinomialNB N/A LinearSVC random_state 0 N/A LinearRegression N/A Ridge N/A ElasticNet N/A Lasso alpha 0.5 N/A N/A clf N/A N/A N/A OneVsRestClassifier base_clf fit X y N/A y_pred N/A N/A N/A clf predict N/A N/A 0 4 4 N/A 0 N/A N/A assert_array_equal y_pred N/A 0 1 1 N/A N/A assert_true N/A clf multilabel_ N/A test_ovr_fit_predict_svc N/A N/A N/A N/A N/A ovr N/A OneVsRestClassifier N/A N/A svm SVC N/A N/A N/A ovr fit N/A iris data N/A iris target N/A N/A assert_equal N/A len N/A ovr estimators_ 3 N/A N/A assert_greater N/A N/A ovr score N/A iris data N/A iris target 0.9 N/A test_ovr_multilabel_dataset N/A N/A N/A N/A N/A base_clf N/A MultinomialNB alpha 1 N/A N/A au prec recall N/A zip N/A True False N/A 0.51 0.66 N/A 0.51 0.8 N/A N/A N/A X Y N/A N/A datasets make_multilabel_classification n_samples 100 n_features 20 n_classes 5 n_labels 2 length 50 allow_unlabeled au random_state 0 N/A N/A X_train Y_train N/A N/A X N/A 80 N/A Y N/A 80 N/A N/A X_test Y_test N/A N/A X N/A 80 N/A Y N/A 80 N/A clf N/A N/A N/A OneVsRestClassifier base_clf fit X_train Y_train N/A Y_pred N/A N/A clf predict X_test N/A N/A assert_true N/A clf multilabel_ N/A N/A assert_almost_equal N/A precision_score Y_test Y_pred average micro prec decimal 2 N/A N/A assert_almost_equal N/A recall_score Y_test Y_pred average micro recall decimal 2 N/A test_ovr_multilabel_predict_proba N/A N/A N/A N/A N/A base_clf N/A MultinomialNB alpha 1 N/A au N/A False True N/A N/A N/A X Y N/A N/A datasets make_multilabel_classification n_samples 100 n_features 20 n_classes 5 n_labels 3 length 50 allow_unlabeled au random_state 0 N/A N/A X_train Y_train N/A N/A X N/A 80 N/A Y N/A 80 N/A X_test N/A X N/A 80 N/A clf N/A N/A N/A OneVsRestClassifier base_clf fit X_train Y_train N/A decision_only N/A N/A N/A OneVsRestClassifier N/A N/A svm SVR fit X_train Y_train N/A N/A assert_raises AttributeError N/A decision_only predict_proba X_test N/A decision_only N/A OneVsRestClassifier N/A N/A svm SVC probability False N/A N/A N/A decision_only fit X_train Y_train N/A N/A assert_raises AttributeError N/A decision_only predict_proba X_test N/A Y_pred N/A N/A clf predict X_test N/A Y_proba N/A N/A clf predict_proba X_test N/A pred N/A Y_proba 0.5 N/A N/A assert_array_equal pred Y_pred N/A test_ovr_single_label_predict_proba N/A N/A N/A N/A N/A base_clf N/A MultinomialNB alpha 1 N/A N/A X Y N/A N/A iris data N/A iris target N/A N/A X_train Y_train N/A N/A X N/A 80 N/A Y N/A 80 N/A X_test N/A X N/A 80 N/A clf N/A N/A N/A OneVsRestClassifier base_clf fit X_train Y_train N/A decision_only N/A N/A N/A OneVsRestClassifier N/A N/A svm SVR fit X_train Y_train N/A N/A assert_raises AttributeError N/A decision_only predict_proba X_test N/A Y_pred N/A N/A clf predict X_test N/A Y_proba N/A N/A clf predict_proba X_test N/A N/A assert_almost_equal N/A N/A Y_proba sum axis 1 1.0 N/A pred N/A N/A np array N/A N/A N/A l argmax N/A l Y_proba N/A N/A assert_false N/A N/A N/A pred Y_pred any N/A test_ovr_multilabel_decision_function N/A N/A N/A N/A N/A N/A X Y N/A N/A datasets make_multilabel_classification n_samples 100 n_features 20 n_classes 5 n_labels 3 length 50 allow_unlabeled True random_state 0 N/A N/A X_train Y_train N/A N/A X N/A 80 N/A Y N/A 80 N/A X_test N/A X N/A 80 N/A clf N/A N/A N/A OneVsRestClassifier N/A N/A svm SVC fit X_train Y_train N/A N/A assert_array_equal N/A N/A N/A N/A N/A clf decision_function X_test 0 astype int N/A N/A clf predict X_test N/A test_ovr_single_label_decision_function N/A N/A N/A N/A N/A N/A X Y N/A N/A datasets make_classification n_samples 100 n_features 20 random_state 0 N/A N/A X_train Y_train N/A N/A X N/A 80 N/A Y N/A 80 N/A X_test N/A X N/A 80 N/A clf N/A N/A N/A OneVsRestClassifier N/A N/A svm SVC fit X_train Y_train N/A N/A assert_array_equal N/A N/A N/A N/A N/A clf decision_function X_test ravel 0 N/A N/A clf predict X_test N/A test_ovr_gridsearch N/A N/A N/A N/A N/A ovr N/A OneVsRestClassifier N/A LinearSVC random_state 0 N/A Cs N/A 0.1 0.5 0.8 N/A cv N/A GridSearchCV ovr N/A estimator__C Cs N/A N/A N/A cv fit N/A iris data N/A iris target N/A best_C N/A N/A N/A N/A cv best_estimator_ estimators_ N/A 0 C N/A N/A assert_true N/A best_C Cs N/A test_ovr_pipeline N/A N/A N/A N/A N/A clf N/A Pipeline N/A N/A tree N/A DecisionTreeClassifier N/A ovr_pipe N/A OneVsRestClassifier clf N/A N/A N/A ovr_pipe fit N/A iris data N/A iris target N/A ovr N/A OneVsRestClassifier N/A DecisionTreeClassifier N/A N/A N/A ovr fit N/A iris data N/A iris target N/A N/A assert_array_equal N/A N/A ovr predict N/A iris data N/A N/A ovr_pipe predict N/A iris data N/A test_ovr_coef_ N/A N/A N/A N/A N/A base_classifier N/A N/A SVC kernel linear random_state 0 N/A LinearSVC random_state 0 N/A N/A ovr N/A OneVsRestClassifier base_classifier N/A X N/A N/A iris data N/A N/A sp csr_matrix N/A iris data N/A N/A N/A N/A ovr fit X N/A iris target N/A shape N/A N/A ovr coef_ shape N/A N/A assert_equal N/A shape N/A 0 n_classes N/A N/A assert_equal N/A shape N/A 1 N/A N/A N/A iris data shape N/A 1 N/A N/A assert_equal N/A N/A sp issparse N/A N/A N/A ovr estimators_ N/A 0 coef_ N/A N/A sp issparse N/A ovr coef_ N/A test_ovr_coef_exceptions N/A N/A N/A N/A N/A ovr N/A OneVsRestClassifier N/A LinearSVC random_state 0 N/A N/A assert_raises ValueError N/A N/A N/A x N/A N/A ovr coef_ None N/A ovr N/A OneVsRestClassifier N/A DecisionTreeClassifier N/A N/A N/A ovr fit N/A iris data N/A iris target N/A N/A assert_raises AttributeError N/A N/A N/A x N/A N/A ovr coef_ None N/A test_ovo_exceptions N/A N/A N/A N/A N/A ovo N/A OneVsOneClassifier N/A LinearSVC random_state 0 N/A N/A assert_raises ValueError N/A ovo predict N/A N/A test_ovo_fit_on_list N/A N/A N/A N/A N/A ovo N/A OneVsOneClassifier N/A LinearSVC random_state 0 N/A prediction_from_array N/A N/A N/A N/A ovo fit N/A iris data N/A iris target predict N/A iris data N/A iris_data_list N/A N/A list a N/A a N/A iris data N/A prediction_from_list N/A N/A N/A N/A ovo fit iris_data_list N/A list N/A iris target predict iris_data_list N/A N/A assert_array_equal prediction_from_array prediction_from_list N/A test_ovo_fit_predict N/A N/A N/A N/A N/A ovo N/A OneVsOneClassifier N/A LinearSVC random_state 0 N/A N/A N/A N/A N/A ovo fit N/A iris data N/A iris target predict N/A iris data N/A N/A assert_equal N/A len N/A ovo estimators_ N/A N/A n_classes N/A n_classes 1 2 N/A ovo N/A OneVsOneClassifier N/A MultinomialNB N/A N/A N/A N/A N/A ovo fit N/A iris data N/A iris target predict N/A iris data N/A N/A assert_equal N/A len N/A ovo estimators_ N/A N/A n_classes N/A n_classes 1 2 N/A test_ovo_partial_fit_predict N/A N/A N/A N/A N/A N/A X y N/A shuffle N/A iris data N/A iris target N/A ovo1 N/A OneVsOneClassifier N/A MultinomialNB N/A N/A N/A ovo1 partial_fit N/A X N/A 100 N/A y N/A 100 N/A N/A np unique y N/A N/A N/A ovo1 partial_fit N/A X N/A 100 N/A y N/A 100 N/A pred1 N/A N/A ovo1 predict X N/A ovo2 N/A OneVsOneClassifier N/A MultinomialNB N/A N/A N/A ovo2 fit X y N/A pred2 N/A N/A ovo2 predict X N/A N/A assert_equal N/A len N/A ovo1 estimators_ N/A N/A n_classes N/A n_classes 1 2 N/A N/A assert_greater N/A N/A np mean N/A y pred1 0.65 N/A N/A assert_almost_equal pred1 pred2 N/A ovo1 N/A OneVsOneClassifier N/A MultinomialNB N/A N/A N/A ovo1 partial_fit N/A N/A iris data N/A 60 N/A N/A iris target N/A 60 N/A N/A np unique N/A iris target N/A N/A N/A ovo1 partial_fit N/A N/A iris data N/A 60 N/A N/A iris target N/A 60 N/A pred1 N/A N/A ovo1 predict N/A iris data N/A ovo2 N/A OneVsOneClassifier N/A MultinomialNB N/A pred2 N/A N/A N/A N/A ovo2 fit N/A iris data N/A iris target predict N/A iris data N/A N/A assert_almost_equal pred1 pred2 N/A N/A assert_equal N/A len N/A ovo1 estimators_ N/A len N/A N/A np unique N/A iris target N/A N/A assert_greater N/A N/A np mean N/A N/A iris target pred1 0.65 N/A test_ovo_decision_function N/A N/A N/A N/A N/A n_samples N/A N/A N/A iris data shape N/A 0 N/A ovo_clf N/A OneVsOneClassifier N/A LinearSVC random_state 0 N/A N/A N/A ovo_clf fit N/A iris data N/A iris target N/A decisions N/A N/A ovo_clf decision_function N/A iris data N/A N/A assert_equal N/A decisions shape N/A n_samples n_classes N/A N/A assert_array_equal N/A N/A decisions argmax axis 1 N/A N/A ovo_clf predict N/A iris data N/A votes N/A N/A np zeros N/A n_samples n_classes N/A k 0 N/A i N/A range n_classes N/A N/A j N/A range N/A i 1 n_classes N/A N/A pred N/A N/A N/A N/A ovo_clf estimators_ N/A k predict N/A iris data N/A N/A votes N/A N/A N/A pred 0 i 1 N/A N/A votes N/A N/A N/A pred 1 j 1 N/A k 1 N/A N/A assert_array_equal votes N/A N/A np round decisions N/A class_idx N/A range n_classes N/A N/A N/A assert_true N/A N/A N/A set N/A votes N/A N/A N/A class_idx issubset N/A set N/A 0.0 1.0 2.0 N/A N/A assert_greater N/A len N/A N/A np unique N/A decisions N/A N/A N/A class_idx 146 N/A test_ovo_gridsearch N/A N/A N/A N/A N/A ovo N/A OneVsOneClassifier N/A LinearSVC random_state 0 N/A Cs N/A 0.1 0.5 0.8 N/A cv N/A GridSearchCV ovo N/A estimator__C Cs N/A N/A N/A cv fit N/A iris data N/A iris target N/A best_C N/A N/A N/A N/A cv best_estimator_ estimators_ N/A 0 C N/A N/A assert_true N/A best_C Cs N/A test_ovo_ties N/A N/A N/A N/A N/A X N/A N/A np array N/A N/A 1 2 N/A 2 1 N/A -2 1 N/A -2 -1 N/A y N/A N/A np array N/A 2 0 1 2 N/A multi_clf N/A OneVsOneClassifier N/A Perceptron shuffle False N/A ovo_prediction N/A N/A N/A N/A multi_clf fit X y predict X N/A ovo_decision N/A N/A multi_clf decision_function X N/A votes N/A N/A np round ovo_decision N/A normalized_confidences N/A ovo_decision votes N/A N/A assert_array_equal N/A votes N/A N/A 0 N/A 1 N/A N/A assert_array_equal N/A N/A np argmax N/A votes N/A 1 axis 1 N/A ovo_prediction N/A 1 N/A N/A assert_equal N/A ovo_prediction N/A 0 N/A N/A N/A normalized_confidences N/A 0 argmax N/A test_ovo_ties2 N/A N/A N/A N/A N/A X N/A N/A np array N/A N/A 1 2 N/A 2 1 N/A -2 1 N/A -2 -1 N/A y_ref N/A N/A np array N/A 2 0 1 2 N/A i N/A range 3 N/A N/A y N/A N/A y_ref i 3 N/A multi_clf N/A OneVsOneClassifier N/A Perceptron shuffle False N/A ovo_prediction N/A N/A N/A N/A multi_clf fit X y predict X N/A N/A assert_equal N/A ovo_prediction N/A 0 N/A i 3 N/A test_ovo_string_y N/A N/A N/A N/A N/A X N/A N/A np eye 4 N/A y N/A N/A np array N/A a b c d N/A ovo N/A OneVsOneClassifier N/A LinearSVC N/A N/A N/A ovo fit X y N/A N/A assert_array_equal y N/A N/A ovo predict X N/A test_ecoc_exceptions N/A N/A N/A N/A N/A ecoc N/A OutputCodeClassifier N/A LinearSVC random_state 0 N/A N/A assert_raises ValueError N/A ecoc predict N/A N/A test_ecoc_fit_predict N/A N/A N/A N/A N/A ecoc N/A OutputCodeClassifier N/A LinearSVC random_state 0 code_size 2 random_state 0 N/A N/A N/A N/A N/A ecoc fit N/A iris data N/A iris target predict N/A iris data N/A N/A assert_equal N/A len N/A ecoc estimators_ N/A n_classes 2 N/A ecoc N/A OutputCodeClassifier N/A MultinomialNB code_size 2 random_state 0 N/A N/A N/A N/A N/A ecoc fit N/A iris data N/A iris target predict N/A iris data N/A N/A assert_equal N/A len N/A ecoc estimators_ N/A n_classes 2 N/A test_ecoc_gridsearch N/A N/A N/A N/A N/A ecoc N/A OutputCodeClassifier N/A LinearSVC random_state 0 random_state 0 N/A Cs N/A 0.1 0.5 0.8 N/A cv N/A GridSearchCV ecoc N/A estimator__C Cs N/A N/A N/A cv fit N/A iris data N/A iris target N/A best_C N/A N/A N/A N/A cv best_estimator_ estimators_ N/A 0 C N/A N/A assert_true N/A best_C Cs N/A