Module Expr Str Import alias identifier Import alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias alias alias alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num Assign NameStore ListLoad Num Num Num Num Num Num Assign NameStore ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num Assign NameStore ListLoad Num Num Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad 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 FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str attr NameLoad NameLoad Expr Call NameLoad AttributeLoad NameLoad attr ListLoad ListLoad Num Num Expr Call NameLoad AttributeLoad NameLoad attr ListLoad Num Num Expr Call NameLoad AttributeLoad NameLoad attr TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Expr Call NameLoad AttributeLoad NameLoad attr ListLoad Num Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args defaults body For NameStore TupleLoad Str Str body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr CompareEq Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr CompareEq NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword Str NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr CompareEq NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Num keyword Str keyword Num Expr Call NameLoad Call AttributeLoad NameLoad attr CompareEq NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Num keyword Str keyword Num Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword Num attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num decorator_list NameLoad FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr ListLoad ListLoad Num Num Expr Call NameLoad AttributeLoad NameLoad attr ListLoad Num Num Expr Call NameLoad AttributeLoad NameLoad attr ListLoad Num Expr Call NameLoad AttributeLoad NameLoad attr ListLoad Num Num Expr Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore Call NameLoad Call NameLoad NameLoad body For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad NameLoad Assign NameStore Lambda arguments args NameParam NameParam defaults Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad AttributeLoad NameLoad attr ListLoad ListLoad Num Num Expr Call NameLoad AttributeLoad NameLoad attr ListLoad Num Expr Call NameLoad AttributeLoad NameLoad attr ListLoad Num Num Expr Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr CompareEq NameLoad AttributeLoad NameLoad attr Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr body For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr CompareEq NameLoad AttributeLoad NameLoad attr Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr CompareEq NameLoad AttributeLoad NameLoad attr Num keyword Num decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr For NameStore TupleLoad Call AttributeLoad NameLoad attr keyword Str keyword Num keyword Num Call AttributeLoad NameLoad attr keyword Str keyword Num keyword Num Call AttributeLoad NameLoad attr keyword Str keyword Num Call AttributeLoad NameLoad attr keyword Num Call AttributeLoad NameLoad attr keyword Num body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword Num attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str keyword Num attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareLt BinOpDiv Call AttributeLoad AttributeLoad NameLoad attr attr BinOpSub AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Num Assert CompareLt Call AttributeLoad NameLoad attr BinOpSub NameLoad NameLoad Num decorator_list FunctionDef arguments args defaults body Assign NameStore ListLoad ListLoad Num ListLoad Num Assign NameStore ListLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr keyword Lambda arguments args NameParam NameParam defaults Call AttributeLoad NameLoad attr ListLoad ListLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad ListLoad Num Num Num Expr Call NameLoad AttributeLoad NameLoad attr ListLoad Num keyword Num Expr Call NameLoad AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num Num Num Num keyword Num Expr Call NameLoad NameLoad Lambda arguments args defaults AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Num Assign NameStore BinOpMult Num Call AttributeLoad NameLoad attr Num Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad BinOpAdd NameLoad Num BinOpSub NameLoad Num Assign NameStore BinOpMult Num Call AttributeLoad NameLoad attr Num Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad BinOpAdd NameLoad Num BinOpSub NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Num keyword TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Str keyword Num Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr CompareEq NameLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr CompareEq NameLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Call AttributeLoad CompareGt NameLoad Num attr CompareEq NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Call AttributeLoad CompareGt NameLoad Num attr CompareEq NameLoad Num decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call NameLoad AttributeLoad NameLoad attr ListLoad ListLoad Num Num Expr Call NameLoad Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num ListLoad Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Expr Call NameLoad Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num ListLoad Num decorator_list FunctionDef arguments args defaults body For NameStore TupleLoad Call AttributeLoad NameLoad attr keyword NameLoad keyword Num keyword Num Call AttributeLoad NameLoad attr keyword NameLoad keyword Num body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Num Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Expr Call NameLoad CompareGt Call AttributeLoad NameLoad attr CompareEq Call AttributeLoad NameLoad attr NameLoad Num Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str keyword Num keyword Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Call AttributeLoad CompareGt Call AttributeLoad NameLoad attr NameLoad Num attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad Num Num Num Num Num Num Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Num keyword Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str keyword Num keyword Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr TupleLoad Call NameLoad AttributeLoad NameLoad attr Num Expr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword Num Assign TupleStore NameStore NameStore Call NameLoad keyword Num keyword Num keyword Num Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad NameLoad keyword Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str keyword Num keyword Str attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad AttributeLoad NameLoad attr TupleLoad Call NameLoad NameLoad Num Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad keyword Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str keyword Num keyword Str attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad AttributeLoad NameLoad attr TupleLoad Call NameLoad NameLoad Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str keyword Num attr NameLoad NameLoad Assign NameStore Str Assign NameStore Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr NameLoad Expr Call NameLoad AttributeLoad NameLoad attr TupleLoad Call NameLoad NameLoad Num decorator_list FunctionDef arguments args defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str keyword Num attr NameLoad NameLoad Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str keyword Num attr NameLoad NameLoad Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Dict Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad BinOpMult ListLoad Num Num Assign TupleStore NameStore NameStore Call NameLoad keyword Num keyword Num keyword ListLoad Num Num keyword Num For NameStore TupleLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Num Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr keyword Dict Num Num Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num SubscriptLoad NameLoad Slice Num Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num Expr Call NameLoad CompareGt Call NameLoad SubscriptLoad NameLoad Slice Num NameLoad Num decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr ListLoad SubscriptLoad NameLoad Index Num ListLoad Num Assign NameStore BinOpAdd BinOpMult ListLoad Num Num BinOpMult ListLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr ListLoad SubscriptLoad NameLoad Index Num ListLoad Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body ImportFrom alias ImportFrom alias Assign TupleStore NameStore NameStore TupleLoad SubscriptLoad AttributeLoad NameLoad attr ExtSlice Slice Slice Num BinOpAdd AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad Call AttributeLoad NameLoad attr CompareGt NameLoad Num Index Num Slice Num Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Assign NameStore Call NameLoad Str NameLoad SubscriptLoad NameLoad Index NameLoad Expr Call NameLoad CompareEq Call AttributeLoad NameLoad attr NameLoad Num For NameStore TupleLoad Call AttributeLoad NameLoad attr keyword Str Call AttributeLoad NameLoad attr keyword Num Call NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad Expr Call NameLoad CompareLtE Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Str Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Str decorator_list FunctionDef arguments args defaults body Expr Call NameLoad NameLoad AttributeLoad Call AttributeLoad NameLoad attr keyword Num attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Num Expr Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Slice Num Expr Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad NameLoad For NameStore TupleLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr NameLoad TupleLoad Num Num attr Assign NameStore SubscriptLoad NameLoad ExtSlice Slice Index Num Expr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad NameLoad keyword Call NameLoad BinOpSub Call NameLoad NameLoad Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call NameLoad NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num ListLoad Num Num TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Num Num Assert UnaryOpNot Str handlers ExceptHandler type NameLoad name NameStore body Expr Call NameLoad Str Call NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore ListLoad Str Str Str Str Assign TupleStore NameStore NameStore TupleLoad ListLoad Str Str Str ListLoad NameLoad NameLoad Assign TupleStore NameStore NameStore Call NameLoad keyword Num keyword Num For TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad If BoolOpOr CompareEq TupleLoad NameLoad NameLoad TupleLoad Str Str CompareEq TupleLoad NameLoad NameLoad NameLoad TupleLoad Str Str NameLoad CompareEq TupleLoad NameLoad NameLoad TupleLoad Str NameLoad CompareEq NameLoad Str CompareEq NameLoad Str body Expr Call NameLoad NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call NameLoad NameLoad Str AttributeLoad Call AttributeLoad NameLoad attr keyword Str attr NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign TupleStore NameStore NameStore TupleLoad ListLoad ListLoad Num ListLoad Num ListLoad Num Num Assign NameStore Str Expr Call NameLoad NameLoad BinOpMod NameLoad TupleLoad Str Str Str Str AttributeLoad Call AttributeLoad NameLoad attr keyword Str attr NameLoad NameLoad Expr Call NameLoad NameLoad BinOpMod NameLoad TupleLoad Str Str Str Str AttributeLoad Call AttributeLoad NameLoad attr keyword Str attr NameLoad NameLoad Expr Call NameLoad NameLoad BinOpMod NameLoad TupleLoad Str Str Str Str AttributeLoad Call AttributeLoad NameLoad attr keyword Str attr NameLoad NameLoad Expr Call NameLoad NameLoad BinOpMod NameLoad TupleLoad Str Str Str Str AttributeLoad Call AttributeLoad NameLoad attr keyword Str attr NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign TupleStore NameStore NameStore TupleLoad ListLoad ListLoad Num ListLoad Num ListLoad Num Num Expr Call NameLoad NameLoad Str AttributeLoad Call AttributeLoad NameLoad attr keyword Str attr NameLoad NameLoad Expr Call NameLoad NameLoad Str AttributeLoad Call AttributeLoad NameLoad attr keyword Str attr NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword Num attr NameLoad NameLoad Expr Call NameLoad AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call NameLoad AttributeLoad NameLoad attr ListLoad Num keyword Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str keyword Str keyword NameLoad keyword Num attr NameLoad NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str keyword NameLoad keyword Num attr NameLoad NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str keyword NameLoad keyword Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpAdd Call AttributeLoad CompareGt NameLoad Num attr AttributeLoad NameLoad attr Num Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword Num attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad CompareGt Call AttributeLoad CompareEq Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr Num Expr Call NameLoad Call AttributeLoad CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr Expr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Num Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign TupleStore NameStore NameStore Call NameLoad keyword Num keyword Num For NameStore TupleLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr keyword NameLoad keyword Str keyword Num attr NameLoad NameLoad attr NameLoad NameLoad Expr Call NameLoad NameLoad Num decorator_list FunctionDef arguments args defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword Num attr AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr CompareEq Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Call AttributeLoad NameLoad attr NameLoad Num Expr Call NameLoad NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults AttributeLoad NameLoad attr body Assign NameStore ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num Assign NameStore ListLoad Num Num Num Num Assign NameStore Call NameLoad keyword NameLoad keyword Str keyword Str keyword NameLoad keyword Num keyword Num keyword Num Expr Call NameLoad CompareEq AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call NameLoad AttributeLoad NameLoad attr Num keyword Num Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Num Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad keyword Num decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad Assign NameStore ListLoad ListLoad Num Num ListLoad Num Num ListLoad Num Num ListLoad Num Num Assign NameStore ListLoad Num Num Num Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore ListLoad Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str attr AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call NameLoad NameLoad AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Num Expr Call NameLoad TupleLoad NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Num Num Num decorator_list FunctionDef arguments args defaults body Import alias Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad NameLoad attr Index Num Num Assign NameStore Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Lambda arguments args NameParam NameParam defaults Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr keyword NameLoad keyword Num keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword NameLoad keyword Num keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Num Expr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Lambda arguments args NameParam NameParam defaults NameLoad Expr Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Lambda arguments args NameParam NameParam defaults Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr keyword NameLoad keyword Num keyword Num Expr Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Str AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Str AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword Num keyword Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword Num keyword Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Num Expr Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Expr Call NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num attr Num Num Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num attr Num For NameStore ListLoad Call AttributeLoad NameLoad attr keyword Str Call AttributeLoad NameLoad attr keyword Str Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad BinOpAdd Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body For NameStore ListLoad Num Num body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore BinOpMod Str AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call NameLoad Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call NameLoad Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad NameLoad Str Assign AttributeStore NameLoad attr NameLoad Expr Call NameLoad Call NameLoad NameLoad Str Assign NameStore Str Expr Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body For NameStore ListLoad Num Num body Assign TupleStore NameStore NameStore Call NameLoad keyword NameLoad keyword Num For NameStore ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad Call NameLoad Call NameLoad keyword Str attr NameLoad NameLoad Expr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad decorator_list
N/A N/A 
Testing for Support Vector Machine module (sklearn.svm)

TODO: remove hard coded numerical results when possible
 N/A numpy np N/A itertools numpy.testing assert_array_equal assert_array_almost_equal numpy.testing assert_almost_equal scipy sparse nose.tools assert_raises assert_true assert_equal assert_false sklearn svm linear_model datasets metrics base sklearn.model_selection train_test_split sklearn.datasets make_classification make_blobs sklearn.metrics f1_score sklearn.metrics.pairwise rbf_kernel sklearn.utils check_random_state sklearn.utils.testing assert_greater assert_in assert_less sklearn.utils.testing assert_raises_regexp assert_warns sklearn.utils.testing assert_warns_message assert_raise_message sklearn.utils.testing ignore_warnings sklearn.exceptions ChangedBehaviorWarning sklearn.exceptions ConvergenceWarning sklearn.exceptions NotFittedError sklearn.multiclass OneVsRestClassifier N/A X N/A N/A -2 -1 N/A -1 -1 N/A -1 -2 N/A 1 1 N/A 1 2 N/A 2 1 N/A Y N/A 1 1 1 2 2 2 N/A T N/A N/A -1 -1 N/A 2 2 N/A 3 2 N/A true_result N/A 1 2 2 N/A iris N/A N/A datasets load_iris N/A rng N/A check_random_state 42 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 test_libsvm_parameters N/A N/A N/A N/A N/A clf N/A N/A N/A N/A svm SVC kernel linear fit X Y N/A N/A assert_array_equal N/A clf dual_coef_ N/A N/A -0.25 0.25 N/A N/A assert_array_equal N/A clf support_ N/A 1 3 N/A N/A assert_array_equal N/A clf support_vectors_ N/A N/A X N/A 1 N/A X N/A 3 N/A N/A assert_array_equal N/A clf intercept_ N/A 0.0 N/A N/A assert_array_equal N/A N/A clf predict X Y N/A test_libsvm_iris N/A N/A N/A N/A N/A k N/A linear rbf N/A N/A clf N/A N/A N/A N/A svm SVC kernel k fit N/A iris data N/A iris target N/A N/A assert_greater N/A N/A np mean N/A N/A N/A clf predict N/A iris data N/A iris target 0.9 N/A N/A assert_array_equal N/A clf classes_ N/A N/A np sort N/A clf classes_ N/A model N/A N/A N/A svm libsvm fit N/A iris data N/A N/A N/A iris target astype N/A np float64 N/A pred N/A N/A N/A svm libsvm predict N/A iris data model N/A N/A assert_greater N/A N/A np mean N/A pred N/A iris target 0.95 N/A model N/A N/A N/A svm libsvm fit N/A iris data N/A N/A N/A iris target astype N/A np float64 kernel linear N/A pred N/A N/A N/A svm libsvm predict N/A iris data kernel linear model N/A N/A assert_greater N/A N/A np mean N/A pred N/A iris target 0.95 N/A pred N/A N/A N/A svm libsvm cross_validation N/A iris data N/A N/A N/A iris target astype N/A np float64 5 kernel linear random_seed 0 N/A N/A assert_greater N/A N/A np mean N/A pred N/A iris target 0.95 N/A pred2 N/A N/A N/A svm libsvm cross_validation N/A iris data N/A N/A N/A iris target astype N/A np float64 5 kernel linear random_seed 0 N/A N/A assert_array_equal pred pred2 N/A test_single_sample_1d N/A N/A N/A N/A N/A clf N/A N/A N/A N/A svm SVC fit X Y N/A N/A N/A clf predict N/A X N/A 0 N/A clf N/A N/A N/A N/A svm LinearSVC random_state 0 fit X Y N/A N/A N/A clf predict N/A X N/A 0 N/A ignore_warnings test_precomputed N/A N/A N/A N/A N/A clf N/A N/A svm SVC kernel precomputed N/A K N/A N/A np dot X N/A N/A N/A np array X T N/A N/A N/A clf fit K Y N/A KT N/A N/A np dot T N/A N/A N/A np array X T N/A pred N/A N/A clf predict KT N/A N/A assert_raises ValueError N/A clf predict N/A KT T N/A N/A assert_array_equal N/A clf dual_coef_ N/A N/A -0.25 0.25 N/A N/A assert_array_equal N/A clf support_ N/A 1 3 N/A N/A assert_array_equal N/A clf intercept_ N/A 0 N/A N/A assert_array_almost_equal N/A clf support_ N/A 1 3 N/A N/A assert_array_equal pred true_result N/A KT N/A N/A np zeros_like KT N/A i N/A range N/A len T N/A N/A j N/A clf support_ N/A N/A N/A KT N/A N/A i j N/A N/A np dot N/A T N/A i N/A X N/A j N/A pred N/A N/A clf predict KT N/A N/A assert_array_equal pred true_result N/A kfunc N/A N/A N/A x y N/A N/A N/A np dot x N/A y T N/A clf N/A N/A svm SVC kernel kfunc N/A N/A N/A clf fit X Y N/A pred N/A N/A clf predict T N/A N/A assert_array_equal N/A clf dual_coef_ N/A N/A -0.25 0.25 N/A N/A assert_array_equal N/A clf intercept_ N/A 0 N/A N/A assert_array_almost_equal N/A clf support_ N/A 1 3 N/A N/A assert_array_equal pred true_result N/A clf N/A N/A svm SVC kernel precomputed N/A clf2 N/A N/A svm SVC kernel linear N/A K N/A N/A np dot N/A iris data N/A N/A iris data T N/A N/A N/A clf fit K N/A iris target N/A N/A N/A clf2 fit N/A iris data N/A iris target N/A pred N/A N/A clf predict K N/A N/A assert_array_almost_equal N/A clf support_ N/A clf2 support_ N/A N/A assert_array_almost_equal N/A clf dual_coef_ N/A clf2 dual_coef_ N/A N/A assert_array_almost_equal N/A clf intercept_ N/A clf2 intercept_ N/A N/A assert_almost_equal N/A N/A np mean N/A pred N/A iris target 0.99 decimal 2 N/A K N/A N/A np zeros_like K N/A i N/A range N/A len N/A iris data N/A N/A j N/A clf support_ N/A N/A N/A K N/A N/A i j N/A N/A np dot N/A N/A iris data N/A i N/A N/A iris data N/A j N/A pred N/A N/A clf predict K N/A N/A assert_almost_equal N/A N/A np mean N/A pred N/A iris target 0.99 decimal 2 N/A clf N/A N/A svm SVC kernel kfunc N/A N/A N/A clf fit N/A iris data N/A iris target N/A N/A assert_almost_equal N/A N/A np mean N/A pred N/A iris target 0.99 decimal 2 N/A test_svr N/A N/A N/A N/A N/A diabetes N/A N/A datasets load_diabetes N/A clf N/A N/A N/A svm NuSVR kernel linear nu 0.4 C 1.0 N/A N/A svm NuSVR kernel linear nu 0.4 C 10.0 N/A N/A svm SVR kernel linear C 10.0 N/A N/A svm LinearSVR C 10.0 N/A N/A svm LinearSVR C 10.0 N/A N/A N/A N/A clf fit N/A diabetes data N/A diabetes target N/A N/A assert_greater N/A N/A clf score N/A diabetes data N/A diabetes target 0.02 N/A N/A N/A N/A N/A svm SVR fit N/A diabetes data N/A N/A np ones N/A len N/A diabetes data N/A N/A N/A N/A N/A svm LinearSVR fit N/A diabetes data N/A N/A np ones N/A len N/A diabetes data N/A test_linearsvr N/A N/A N/A N/A N/A diabetes N/A N/A datasets load_diabetes N/A lsvr N/A N/A N/A N/A svm LinearSVR C 1000.0 fit N/A diabetes data N/A diabetes target N/A score1 N/A N/A lsvr score N/A diabetes data N/A diabetes target N/A svr N/A N/A N/A N/A svm SVR kernel linear C 1000.0 fit N/A diabetes data N/A diabetes target N/A score2 N/A N/A svr score N/A diabetes data N/A diabetes target N/A N/A N/A N/A N/A N/A np linalg norm N/A N/A lsvr coef_ N/A svr coef_ N/A N/A N/A np linalg norm N/A svr coef_ 0.1 N/A N/A N/A N/A np abs N/A score1 score2 0.1 N/A test_svr_errors N/A N/A N/A N/A N/A X N/A N/A 0.0 N/A 1.0 N/A y N/A 0.0 0.5 N/A clf N/A N/A svm SVR kernel N/A N/A N/A x y N/A N/A N/A np array N/A N/A 1.0 N/A N/A N/A clf fit X y N/A N/A assert_raises ValueError N/A clf predict X N/A test_oneclass N/A N/A N/A N/A N/A clf N/A N/A svm OneClassSVM N/A N/A N/A clf fit X N/A pred N/A N/A clf predict T N/A N/A assert_array_almost_equal pred N/A -1 -1 -1 N/A N/A assert_array_almost_equal N/A clf intercept_ N/A -1.008 decimal 3 N/A N/A assert_array_almost_equal N/A clf dual_coef_ N/A N/A 0.632 0.233 0.633 0.234 0.632 0.633 decimal 3 N/A N/A assert_raises ValueError N/A N/A N/A N/A N/A clf coef_ N/A test_oneclass_decision_function N/A N/A N/A N/A N/A clf N/A N/A svm OneClassSVM N/A rnd N/A check_random_state 2 N/A X N/A 0.3 N/A N/A rnd randn 100 2 N/A X_train N/A N/A np r_ N/A N/A N/A X 2 N/A X 2 N/A X N/A 0.3 N/A N/A rnd randn 20 2 N/A X_test N/A N/A np r_ N/A N/A N/A X 2 N/A X 2 N/A X_outliers N/A N/A rnd uniform low -4 high 4 size N/A 20 2 N/A clf N/A N/A svm OneClassSVM nu 0.1 kernel rbf gamma 0.1 N/A N/A N/A clf fit X_train N/A y_pred_test N/A N/A clf predict X_test N/A N/A assert_greater N/A N/A np mean N/A y_pred_test 1 0.9 N/A y_pred_outliers N/A N/A clf predict X_outliers N/A N/A assert_greater N/A N/A np mean N/A y_pred_outliers -1 0.9 N/A dec_func_test N/A N/A clf decision_function X_test N/A N/A assert_array_equal N/A N/A N/A dec_func_test 0 ravel N/A y_pred_test 1 N/A dec_func_outliers N/A N/A clf decision_function X_outliers N/A N/A assert_array_equal N/A N/A N/A dec_func_outliers 0 ravel N/A y_pred_outliers 1 N/A test_tweak_params N/A N/A N/A N/A N/A clf N/A N/A svm SVC kernel linear C 1.0 N/A N/A N/A clf fit X Y N/A N/A assert_array_equal N/A clf dual_coef_ N/A N/A -0.25 0.25 N/A N/A assert_array_equal N/A N/A clf predict N/A N/A -0.1 -0.1 N/A 1 N/A N/A clf _dual_coef_ N/A N/A np array N/A N/A 0.0 1.0 N/A N/A assert_array_equal N/A N/A clf predict N/A N/A -0.1 -0.1 N/A 2 N/A test_probability N/A N/A N/A N/A N/A clf N/A N/A N/A svm SVC probability True random_state 0 C 1.0 N/A N/A svm NuSVC probability True random_state 0 N/A N/A N/A N/A clf fit N/A iris data N/A iris target N/A prob_predict N/A N/A clf predict_proba N/A iris data N/A N/A assert_array_almost_equal N/A N/A np sum prob_predict 1 N/A N/A np ones N/A N/A N/A iris data shape N/A 0 N/A N/A assert_true N/A N/A N/A np mean N/A N/A N/A np argmax prob_predict 1 N/A N/A clf predict N/A iris data 0.9 N/A N/A assert_almost_equal N/A N/A clf predict_proba N/A iris data N/A N/A np exp N/A N/A clf predict_log_proba N/A iris data 8 N/A test_decision_function N/A N/A N/A N/A N/A clf N/A N/A N/A N/A svm SVC kernel linear C 0.1 decision_function_shape ovo fit N/A iris data N/A iris target N/A dec N/A N/A N/A np dot N/A iris data N/A N/A clf coef_ T N/A clf intercept_ N/A N/A assert_array_almost_equal dec N/A N/A clf decision_function N/A iris data N/A N/A N/A clf fit X Y N/A dec N/A N/A N/A np dot X N/A N/A clf coef_ T N/A clf intercept_ N/A prediction N/A N/A clf predict X N/A N/A assert_array_almost_equal N/A N/A dec ravel N/A N/A clf decision_function X N/A N/A assert_array_almost_equal prediction N/A N/A clf classes_ N/A N/A N/A N/A N/A N/A clf decision_function X 0 astype N/A np int N/A expected N/A N/A np array N/A -1.0 -0.66 -1.0 0.66 1.0 1.0 N/A N/A assert_array_almost_equal N/A N/A clf decision_function X expected 2 N/A clf N/A N/A svm SVC kernel rbf gamma 1 decision_function_shape ovo N/A N/A N/A clf fit X Y N/A rbfs N/A rbf_kernel X N/A clf support_vectors_ gamma N/A clf gamma N/A dec N/A N/A N/A np dot rbfs N/A N/A clf dual_coef_ T N/A clf intercept_ N/A N/A assert_array_almost_equal N/A N/A dec ravel N/A N/A clf decision_function X N/A test_decision_function_shape N/A N/A N/A N/A N/A clf N/A N/A N/A N/A svm SVC kernel linear C 0.1 decision_function_shape ovr fit N/A iris data N/A iris target N/A dec N/A N/A clf decision_function N/A iris data N/A N/A assert_equal N/A dec shape N/A N/A len N/A iris data 3 N/A N/A assert_array_equal N/A N/A clf predict N/A iris data N/A N/A np argmax dec axis 1 N/A N/A X y N/A make_blobs n_samples 80 centers 5 random_state 0 N/A N/A X_train X_test y_train y_test N/A train_test_split X y random_state 0 N/A clf N/A N/A N/A N/A svm SVC kernel linear C 0.1 decision_function_shape ovr fit X_train y_train N/A dec N/A N/A clf decision_function X_test N/A N/A assert_equal N/A dec shape N/A N/A len X_test 5 N/A N/A assert_array_equal N/A N/A clf predict X_test N/A N/A np argmax dec axis 1 N/A clf N/A N/A N/A N/A svm SVC kernel linear C 0.1 decision_function_shape ovo fit X_train y_train N/A dec N/A N/A clf decision_function X_train N/A N/A assert_equal N/A dec shape N/A N/A len X_train 10 N/A clf N/A N/A N/A N/A svm SVC kernel linear C 0.1 fit X_train y_train N/A msg change the shape of the decision function N/A dec N/A assert_warns_message ChangedBehaviorWarning msg N/A clf decision_function X_train N/A N/A assert_equal N/A dec shape N/A N/A len X_train 10 N/A test_svr_predict N/A N/A N/A N/A N/A X N/A iris data N/A y N/A iris target N/A reg N/A N/A N/A N/A svm SVR kernel linear C 0.1 fit X y N/A dec N/A N/A N/A np dot X N/A N/A reg coef_ T N/A reg intercept_ N/A N/A assert_array_almost_equal N/A N/A dec ravel N/A N/A N/A N/A reg predict X ravel N/A reg N/A N/A N/A N/A svm SVR kernel rbf gamma 1 fit X y N/A rbfs N/A rbf_kernel X N/A reg support_vectors_ gamma N/A reg gamma N/A dec N/A N/A N/A np dot rbfs N/A N/A reg dual_coef_ T N/A reg intercept_ N/A N/A assert_array_almost_equal N/A N/A dec ravel N/A N/A N/A N/A reg predict X ravel N/A test_weight N/A N/A N/A N/A N/A clf N/A N/A svm SVC class_weight N/A 1 0.1 N/A N/A N/A clf fit X Y N/A N/A assert_array_almost_equal N/A N/A clf predict X N/A N/A 2 6 N/A N/A X_ y_ N/A make_classification n_samples 200 n_features 10 weights N/A 0.833 0.167 random_state 2 N/A clf N/A N/A N/A linear_model LogisticRegression N/A N/A svm LinearSVC random_state 0 N/A N/A svm SVC N/A N/A N/A N/A clf set_params class_weight N/A 0 1 0.1 10 N/A N/A N/A clf fit N/A X_ N/A 100 N/A y_ N/A 100 N/A y_pred N/A N/A clf predict N/A X_ N/A 100 N/A N/A assert_true N/A N/A f1_score N/A y_ N/A 100 y_pred 0.3 N/A test_sample_weights N/A N/A N/A N/A N/A clf N/A N/A svm SVC N/A N/A N/A clf fit X Y N/A N/A assert_array_equal N/A N/A clf predict N/A N/A X N/A 2 N/A 1.0 N/A sample_weight N/A N/A N/A 0.1 3 N/A N/A 10 3 N/A N/A N/A clf fit X Y sample_weight sample_weight N/A N/A assert_array_equal N/A N/A clf predict N/A N/A X N/A 2 N/A 2.0 N/A clf N/A N/A svm SVC N/A N/A N/A clf fit X Y N/A dual_coef_no_weight N/A clf dual_coef_ N/A N/A N/A clf set_params C 100 N/A N/A N/A clf fit X Y sample_weight N/A N/A np repeat 0.01 N/A len X N/A N/A assert_array_almost_equal dual_coef_no_weight N/A clf dual_coef_ N/A test_auto_weight N/A N/A N/A N/A sklearn.linear_model LogisticRegression sklearn.utils compute_class_weight N/A N/A X y N/A N/A N/A iris data N/A N/A N/A 2 N/A N/A iris target 1 N/A unbalanced N/A N/A np delete N/A N/A np arange N/A y size N/A N/A N/A N/A np where N/A y 2 N/A 0 N/A 2 N/A classes N/A N/A np unique N/A y N/A unbalanced N/A class_weights N/A compute_class_weight balanced classes N/A y N/A unbalanced N/A N/A assert_true N/A N/A N/A np argmax class_weights 2 N/A clf N/A N/A N/A svm SVC kernel linear N/A N/A svm LinearSVC random_state 0 N/A LogisticRegression N/A N/A y_pred N/A N/A N/A N/A clf fit N/A X N/A unbalanced N/A y N/A unbalanced predict X N/A N/A N/A clf set_params class_weight balanced N/A y_pred_balanced N/A N/A N/A N/A clf fit N/A X N/A unbalanced N/A y N/A unbalanced predict X N/A N/A assert_true N/A N/A N/A metrics f1_score y y_pred average weighted N/A N/A metrics f1_score y y_pred_balanced average weighted N/A test_bad_input N/A N/A N/A N/A N/A N/A assert_raises ValueError N/A N/A N/A svm SVC C -1 fit X Y N/A clf N/A N/A svm NuSVC nu 0.0 N/A N/A assert_raises ValueError N/A clf fit X Y N/A Y2 N/A Y N/A -1 N/A N/A assert_raises ValueError N/A clf fit X Y2 N/A clf N/A N/A N/A svm SVC N/A N/A svm LinearSVC random_state 0 N/A N/A Xf N/A N/A np asfortranarray X N/A N/A assert_false N/A N/A Xf flags N/A C_CONTIGUOUS N/A yf N/A N/A np ascontiguousarray N/A N/A N/A np tile Y N/A 2 1 T N/A yf N/A yf N/A N/A N/A -1 N/A N/A assert_false N/A N/A yf flags N/A F_CONTIGUOUS N/A N/A assert_false N/A N/A yf flags N/A C_CONTIGUOUS N/A N/A N/A clf fit Xf yf N/A N/A assert_array_equal N/A N/A clf predict T true_result N/A clf N/A N/A svm SVC kernel precomputed N/A N/A assert_raises ValueError N/A clf fit X Y N/A clf N/A N/A svm SVC N/A N/A assert_raises ValueError N/A clf fit X Y sample_weight N/A range N/A N/A len X 1 N/A clf N/A N/A N/A N/A svm SVC fit X Y N/A N/A assert_raises ValueError N/A clf predict N/A N/A sparse lil_matrix X N/A Xt N/A N/A N/A np array X T N/A N/A N/A clf fit N/A N/A np dot X Xt Y N/A N/A assert_raises ValueError N/A clf predict X N/A clf N/A N/A svm SVC N/A N/A N/A clf fit X Y N/A N/A assert_raises ValueError N/A clf predict Xt N/A test_sparse_precomputed N/A N/A N/A N/A N/A clf N/A N/A svm SVC kernel precomputed N/A sparse_gram N/A N/A sparse csr_matrix N/A N/A 1 0 N/A 0 1 N/A N/A N/A N/A N/A clf fit sparse_gram N/A 0 1 N/A N/A reached N/A N/A N/A TypeError N/A e N/A N/A N/A assert_in Sparse precomputed N/A str e N/A test_linearsvc_parameters N/A N/A N/A N/A N/A losses N/A hinge squared_hinge logistic_regression foo N/A N/A penalties duals N/A N/A l1 l2 bar N/A True False N/A N/A X y N/A make_classification n_samples 5 n_features 5 N/A N/A loss penalty dual N/A N/A itertools product losses penalties duals N/A N/A clf N/A N/A svm LinearSVC penalty penalty loss loss dual dual N/A N/A N/A N/A loss penalty N/A hinge l1 N/A N/A loss penalty dual N/A hinge l2 False N/A N/A penalty dual N/A l1 True N/A loss foo N/A penalty bar N/A N/A N/A assert_raises_regexp ValueError N/A Unsupported set of arguments.*penalty='%s.*loss='%s.*dual=%s N/A penalty loss dual N/A clf fit X y N/A N/A N/A N/A clf fit X y N/A N/A assert_raises_regexp ValueError .*loss='l3' is not supported.* N/A N/A N/A svm LinearSVC loss l3 fit X y N/A test_linearsvx_loss_penalty_deprecations N/A N/A N/A N/A N/A N/A X y N/A N/A N/A 0.0 N/A 1.0 N/A 0 1 N/A msg loss='%s' has been deprecated in favor of loss='%s' as of 0.16. Backward compatibility for the %s will be removed in %s N/A N/A assert_warns_message DeprecationWarning N/A msg N/A l1 hinge loss='l1' 1.0 N/A N/A N/A svm LinearSVC loss l1 fit X y N/A N/A assert_warns_message DeprecationWarning N/A msg N/A l2 squared_hinge loss='l2' 1.0 N/A N/A N/A svm LinearSVC loss l2 fit X y N/A N/A assert_warns_message DeprecationWarning N/A msg N/A l1 epsilon_insensitive loss='l1' 1.0 N/A N/A N/A svm LinearSVR loss l1 fit X y N/A N/A assert_warns_message DeprecationWarning N/A msg N/A l2 squared_epsilon_insensitive loss='l2' 1.0 N/A N/A N/A svm LinearSVR loss l2 fit X y N/A test_linear_svx_uppercase_loss_penality_raises_error N/A N/A N/A N/A N/A N/A X y N/A N/A N/A 0.0 N/A 1.0 N/A 0 1 N/A N/A assert_raise_message ValueError loss='SQuared_hinge' is not supported N/A N/A N/A svm LinearSVC loss SQuared_hinge fit X y N/A N/A assert_raise_message ValueError The combination of penalty='L2' and loss='squared_hinge' is not supported N/A N/A N/A svm LinearSVC penalty L2 fit X y N/A test_linearsvc N/A N/A N/A N/A N/A clf N/A N/A N/A N/A svm LinearSVC random_state 0 fit X Y N/A N/A assert_true N/A clf fit_intercept N/A N/A assert_array_equal N/A N/A clf predict T true_result N/A N/A assert_array_almost_equal N/A clf intercept_ N/A 0 decimal 3 N/A clf N/A N/A N/A N/A svm LinearSVC penalty l1 loss squared_hinge dual False random_state 0 fit X Y N/A N/A assert_array_equal N/A N/A clf predict T true_result N/A clf N/A N/A N/A N/A svm LinearSVC penalty l2 dual True random_state 0 fit X Y N/A N/A assert_array_equal N/A N/A clf predict T true_result N/A clf N/A N/A svm LinearSVC penalty l2 loss hinge dual True random_state 0 N/A N/A N/A clf fit X Y N/A N/A assert_array_equal N/A N/A clf predict T true_result N/A dec N/A N/A clf decision_function T N/A res N/A N/A N/A N/A dec 0 astype N/A np int 1 N/A N/A assert_array_equal res true_result N/A test_linearsvc_crammer_singer N/A N/A N/A N/A N/A ovr_clf N/A N/A N/A N/A svm LinearSVC random_state 0 fit N/A iris data N/A iris target N/A cs_clf N/A N/A svm LinearSVC multi_class crammer_singer random_state 0 N/A N/A N/A cs_clf fit N/A iris data N/A iris target N/A N/A assert_true N/A N/A N/A N/A N/A N/A ovr_clf predict N/A iris data N/A N/A cs_clf predict N/A iris data mean 0.9 N/A N/A assert_true N/A N/A N/A N/A ovr_clf coef_ N/A cs_clf coef_ all N/A N/A assert_array_equal N/A N/A cs_clf predict N/A iris data N/A N/A np argmax N/A N/A cs_clf decision_function N/A iris data axis 1 N/A dec_func N/A N/A N/A np dot N/A iris data N/A N/A cs_clf coef_ T N/A cs_clf intercept_ N/A N/A assert_array_almost_equal dec_func N/A N/A cs_clf decision_function N/A iris data N/A test_crammer_singer_binary N/A N/A N/A N/A N/A N/A X y N/A make_classification n_classes 2 random_state 0 N/A fit_intercept N/A True False N/A N/A acc N/A N/A N/A N/A N/A N/A svm LinearSVC fit_intercept fit_intercept multi_class crammer_singer random_state 0 fit X y score X y N/A N/A assert_greater acc 0.9 N/A test_linearsvc_iris N/A N/A N/A N/A N/A target N/A N/A iris target_names N/A N/A iris target N/A clf N/A N/A N/A N/A svm LinearSVC random_state 0 fit N/A iris data target N/A N/A assert_equal N/A set N/A clf classes_ N/A set N/A iris target_names N/A N/A assert_greater N/A N/A np mean N/A N/A N/A clf predict N/A iris data target 0.8 N/A dec N/A N/A clf decision_function N/A iris data N/A pred N/A N/A iris target_names N/A N/A N/A np argmax dec 1 N/A N/A assert_array_equal pred N/A N/A clf predict N/A iris data N/A test_dense_liblinear_intercept_handling N/A N/A classifier N/A N/A svm LinearSVC N/A N/A X N/A N/A 2 1 N/A 3 1 N/A 1 3 N/A 2 3 N/A y N/A 0 0 1 1 N/A clf N/A classifier fit_intercept True penalty l1 loss squared_hinge dual False C 4 tol 1e-07 random_state 0 N/A N/A assert_true N/A N/A clf intercept_scaling 1 N/A clf intercept_scaling N/A N/A assert_true N/A clf fit_intercept N/A N/A clf intercept_scaling 1 N/A N/A N/A clf fit X y N/A N/A assert_almost_equal N/A clf intercept_ 0 decimal 5 N/A N/A clf intercept_scaling 100 N/A N/A N/A clf fit X y N/A intercept1 N/A clf intercept_ N/A N/A assert_less intercept1 -1 N/A N/A clf intercept_scaling 1000 N/A N/A N/A clf fit X y N/A intercept2 N/A clf intercept_ N/A N/A assert_array_almost_equal intercept1 intercept2 decimal 2 N/A test_liblinear_set_coef N/A N/A N/A N/A N/A clf N/A N/A N/A N/A svm LinearSVC fit N/A iris data N/A iris target N/A values N/A N/A clf decision_function N/A iris data N/A N/A clf coef_ N/A N/A N/A clf coef_ copy N/A N/A clf intercept_ N/A N/A N/A clf intercept_ copy N/A values2 N/A N/A clf decision_function N/A iris data N/A N/A assert_array_almost_equal values values2 N/A X N/A N/A 2 1 N/A 3 1 N/A 1 3 N/A 2 3 N/A y N/A 0 0 1 1 N/A clf N/A N/A N/A N/A svm LinearSVC fit X y N/A values N/A N/A clf decision_function X N/A N/A clf coef_ N/A N/A N/A clf coef_ copy N/A N/A clf intercept_ N/A N/A N/A clf intercept_ copy N/A values2 N/A N/A clf decision_function X N/A N/A assert_array_equal values values2 N/A test_immutable_coef_property N/A N/A N/A N/A N/A svms N/A N/A N/A N/A N/A svm SVC kernel linear fit N/A iris data N/A iris target N/A N/A N/A N/A svm NuSVC kernel linear fit N/A iris data N/A iris target N/A N/A N/A N/A svm SVR kernel linear fit N/A iris data N/A iris target N/A N/A N/A N/A svm NuSVR kernel linear fit N/A iris data N/A iris target N/A N/A N/A N/A svm OneClassSVM kernel linear fit N/A iris data N/A clf svms N/A N/A N/A assert_raises AttributeError N/A clf __setattr__ coef_ N/A N/A np arange 3 N/A N/A assert_raises N/A RuntimeError ValueError N/A N/A clf coef_ __setitem__ N/A 0 0 0 N/A test_linearsvc_verbose N/A N/A N/A N/A N/A os N/A stdout N/A N/A os dup 1 N/A N/A N/A os dup2 N/A N/A N/A os pipe N/A 1 1 N/A clf N/A N/A svm LinearSVC verbose 1 N/A N/A N/A clf fit X Y N/A N/A N/A os dup2 stdout 1 N/A test_svc_clone_with_callable_kernel N/A N/A N/A N/A N/A svm_callable N/A N/A svm SVC kernel N/A N/A N/A x y N/A N/A N/A np dot x N/A y T probability True random_state 0 decision_function_shape ovr N/A svm_cloned N/A N/A base clone svm_callable N/A N/A N/A svm_cloned fit N/A iris data N/A iris target N/A svm_builtin N/A N/A svm SVC kernel linear probability True random_state 0 decision_function_shape ovr N/A N/A N/A svm_builtin fit N/A iris data N/A iris target N/A N/A assert_array_almost_equal N/A svm_cloned dual_coef_ N/A svm_builtin dual_coef_ N/A N/A assert_array_almost_equal N/A svm_cloned intercept_ N/A svm_builtin intercept_ N/A N/A assert_array_equal N/A N/A svm_cloned predict N/A iris data N/A N/A svm_builtin predict N/A iris data N/A N/A assert_array_almost_equal N/A N/A svm_cloned predict_proba N/A iris data N/A N/A svm_builtin predict_proba N/A iris data decimal 4 N/A N/A assert_array_almost_equal N/A N/A svm_cloned decision_function N/A iris data N/A N/A svm_builtin decision_function N/A iris data N/A test_svc_bad_kernel N/A N/A N/A N/A N/A svc N/A N/A svm SVC kernel N/A N/A N/A x y N/A x N/A N/A assert_raises ValueError N/A svc fit X Y N/A test_timeout N/A N/A N/A N/A N/A a N/A N/A svm SVC kernel N/A N/A N/A x y N/A N/A N/A np dot x N/A y T probability True random_state 0 max_iter 1 N/A N/A assert_warns ConvergenceWarning N/A a fit X Y N/A test_unfitted N/A N/A N/A N/A N/A X foo! N/A clf N/A N/A svm SVC N/A N/A assert_raises_regexp Exception .*\bSVC\b.*\bnot\b.*\bfitted\b N/A clf predict X N/A clf N/A N/A svm NuSVR N/A N/A assert_raises_regexp Exception .*\bNuSVR\b.*\bnot\b.*\bfitted\b N/A clf predict X N/A test_consistent_proba N/A N/A N/A N/A N/A a N/A N/A svm SVC probability True max_iter 1 random_state 0 N/A proba_1 N/A N/A N/A N/A a fit X Y predict_proba X N/A a N/A N/A svm SVC probability True max_iter 1 random_state 0 N/A proba_2 N/A N/A N/A N/A a fit X Y predict_proba X N/A N/A assert_array_almost_equal proba_1 proba_2 N/A ignore_warnings test_linear_svc_convergence_warnings N/A N/A N/A N/A N/A lsvc N/A N/A svm LinearSVC max_iter 2 verbose 1 N/A N/A assert_warns ConvergenceWarning N/A lsvc fit X Y N/A N/A assert_equal N/A lsvc n_iter_ 2 N/A test_svr_coef_sign N/A N/A N/A N/A N/A X N/A N/A N/A N/A N/A np random RandomState 21 randn 10 3 N/A y N/A N/A N/A N/A N/A np random RandomState 12 randn 10 N/A svr N/A N/A N/A svm SVR kernel linear N/A N/A svm NuSVR kernel linear N/A N/A svm LinearSVR N/A N/A N/A N/A svr fit X y N/A N/A assert_array_almost_equal N/A N/A svr predict X N/A N/A N/A np dot X N/A N/A N/A svr coef_ ravel N/A svr intercept_ N/A test_linear_svc_intercept_scaling N/A N/A N/A N/A N/A i N/A -1 0 N/A N/A lsvc N/A N/A svm LinearSVC intercept_scaling i N/A msg N/A Intercept scaling is %r but needs to be greater than 0. To disable fitting an intercept, set fit_intercept=False. N/A lsvc intercept_scaling N/A N/A assert_raise_message ValueError msg N/A lsvc fit X Y N/A test_lsvc_intercept_scaling_zero N/A N/A N/A N/A N/A lsvc N/A N/A svm LinearSVC fit_intercept False N/A N/A N/A lsvc fit X Y N/A N/A assert_equal N/A lsvc intercept_ 0.0 N/A test_hasattr_predict_proba N/A N/A N/A N/A N/A G N/A N/A svm SVC probability True N/A N/A assert_true N/A hasattr G predict_proba N/A N/A N/A G fit N/A iris data N/A iris target N/A N/A assert_true N/A hasattr G predict_proba N/A G N/A N/A svm SVC probability False N/A N/A assert_false N/A hasattr G predict_proba N/A N/A N/A G fit N/A iris data N/A iris target N/A N/A assert_false N/A hasattr G predict_proba N/A N/A G probability True N/A N/A assert_true N/A hasattr G predict_proba N/A msg predict_proba is not available when fitted with probability=False N/A N/A assert_raise_message NotFittedError msg N/A G predict_proba N/A iris data N/A test_decision_function_shape_two_class N/A N/A N/A N/A N/A n_classes N/A 2 3 N/A N/A N/A X y N/A make_blobs centers n_classes random_state 0 N/A estimator N/A N/A svm SVC N/A svm NuSVC N/A N/A clf N/A N/A N/A OneVsRestClassifier N/A estimator decision_function_shape ovr fit X y N/A N/A assert_equal N/A len N/A N/A clf predict X N/A len y N/A