Module Import alias Import alias Import alias Import alias Import alias identifier Import alias identifier Import alias identifier Import alias identifier ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Expr Str Assign AttributeStore NameLoad attr Str If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str orelse If CompareIsNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad body Print Str Return TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Expr Str If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str orelse If CompareIsNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad body Print Str Return TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If BoolOpOr CompareEq AttributeLoad NameLoad attr Str CompareEq AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr ExtSlice Slice Slice Num Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str Num Num body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Expr Str If BoolOpAnd CompareNotEq AttributeLoad NameLoad attr Str CompareNotEq AttributeLoad NameLoad attr Str body Print Str Return AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr CompareLt NameLoad Num Num NameLoad Return BinOpDiv Num BinOpAdd Num Call AttributeLoad NameLoad attr BinOpMult Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd Num Call AttributeLoad NameLoad attr BinOpMult BinOpMult Num NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If CompareIs Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad orelse Assign NameStore Num Assign NameStore BinOpDiv Call AttributeLoad NameLoad attr BinOpMult Call AttributeLoad NameLoad attr BinOpMult BinOpMult Num NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr BinOpMult Num NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Num For NameStore Call NameLoad NameLoad body Assign NameStore BinOpAdd NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad NameLoad Assign NameStore BinOpDiv NameLoad Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareNotEq AttributeLoad NameLoad attr Str body Print Str Return AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str For NameStore Call NameLoad Num AttributeLoad NameLoad attr body If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr Num BinOpSub AttributeLoad NameLoad attr Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num body Return AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpSub AttributeLoad NameLoad attr BinOpMult AttributeLoad NameLoad attr NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str Str body Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str Num Num body Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad If CompareGtE NameLoad Num body Assign NameStore Num orelse Assign NameStore Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareNotEq NameLoad NameLoad body Return Num orelse Return Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore Num For NameStore Call NameLoad NameLoad body Assign NameStore BinOpAdd NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad Assign NameStore BinOpDiv NameLoad Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str Str body Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore Dict Assign NameStore Num Assign NameStore Str FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Assign AttributeStore NameLoad attr Str If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str orelse If CompareIsNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad body Print Str Return TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults Str body If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str orelse If CompareIsNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad body Print Str Return TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If BoolOpOr CompareEq AttributeLoad NameLoad attr Str CompareEq AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr ExtSlice Slice Slice Num Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str Num Num body Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str Str body Assign AttributeStore NameLoad attr Dict If BoolOpAnd CompareNotEq AttributeLoad NameLoad attr Str CompareNotEq AttributeLoad NameLoad attr Str body Print Str Return AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Assign AttributeStore NameLoad attr NameLoad If CompareEq AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num orelse If CompareEq AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body If CompareEq AttributeLoad NameLoad attr Str body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict orelse If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Dict Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index NameLoad If CompareEq AttributeLoad NameLoad attr Str body If CompareGtE NameLoad Num body Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index Num orelse Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad orelse If CompareEq AttributeLoad NameLoad attr Str body Assign SubscriptStore NameLoad Index NameLoad NameLoad If CompareEq AttributeLoad NameLoad attr Str body Return Call NameLoad Call NameLoad NameLoad keyword AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr Str body Return SubscriptLoad Call NameLoad Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Num Index Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareNotEq NameLoad NameLoad body Return Num orelse Return Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore Num For NameStore Call NameLoad NameLoad body Assign NameStore BinOpAdd NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad Assign NameStore BinOpDiv NameLoad Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore ListLoad For NameStore NameLoad body If CompareEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Num orelse Expr Call AttributeLoad NameLoad attr Num Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore ListLoad Assign NameStore ListLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body If CompareEq NameLoad SubscriptLoad NameLoad Index Num body Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad orelse If CompareEq NameLoad SubscriptLoad NameLoad Index Num body Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Return TupleLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareNotEq AttributeLoad NameLoad attr Str body Print Str Return AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Str If CompareEq AttributeLoad NameLoad attr Str body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Print BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num orelse If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Print BinOpMod Str NameLoad Assign AttributeStore NameLoad attr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str Str body Assign NameStore Dict Assign NameStore Dict Assign NameStore Num Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad If CompareEq AttributeLoad NameLoad attr Str body If CompareGtE SubscriptLoad NameLoad Index Str Num body Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index Num orelse Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad orelse If CompareEq AttributeLoad NameLoad attr Str body Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad Call NameLoad NameLoad keyword AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore SubscriptLoad Call NameLoad Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Num Index Num Return Dict Str Str Str Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str NameLoad NameLoad decorator_list decorator_list
N/A N/A os N/A random N/A operator N/A itertools N/A numpy np N/A FukuML.Utility utility N/A FukuML.MLBase ml N/A FukuML.LinearRegression linear_regression LogisticRegression N/A N/A ml Learner N/A __init__ N/A N/A self N/A N/A N/A init N/A N/A self status empty N/A N/A self train_X N/A N/A N/A self train_Y N/A N/A N/A self W N/A N/A N/A self data_num 0 N/A N/A self data_demension 0 N/A N/A self test_X N/A N/A N/A self test_Y N/A N/A N/A self feature_transform_mode N/A N/A self feature_transform_degree 1 N/A N/A self feed_mode batch N/A N/A self step_ita 0.126 N/A N/A self updates 2000 N/A load_train_data N/A N/A self input_data_file N/A N/A N/A 
        Load train data
        Please check dataset/logistic_regression_train.dat to understand the data format
        Each feature of data x separated with spaces
        And the ground truth y put in the end of line separated by a space
         N/A N/A self status load_train_data N/A N/A input_data_file N/A N/A input_data_file N/A N/A N/A os path normpath N/A N/A N/A os path join N/A N/A N/A os path join N/A N/A os getcwd N/A N/A N/A os path dirname __file__ dataset/logistic_regression_train.dat N/A N/A N/A N/A N/A N/A os path isfile input_data_file True N/A N/A Please make sure input_data_file path is correct. N/A N/A N/A self train_X N/A self train_Y N/A N/A N/A self train_X N/A self train_Y N/A N/A N/A utility DatasetLoader load input_data_file N/A N/A N/A self train_X N/A self train_Y N/A load_test_data N/A N/A self input_data_file N/A N/A N/A 
        Load test data
        Please check dataset/logistic_regression_test.dat to understand the data format
        Each feature of data x separated with spaces
        And the ground truth y put in the end of line separated by a space
         N/A N/A input_data_file N/A N/A input_data_file N/A N/A N/A os path normpath N/A N/A N/A os path join N/A N/A N/A os path join N/A N/A os getcwd N/A N/A N/A os path dirname __file__ dataset/logistic_regression_test.dat N/A N/A N/A N/A N/A N/A os path isfile input_data_file True N/A N/A Please make sure input_data_file path is correct. N/A N/A N/A self test_X N/A self test_Y N/A N/A N/A self test_X N/A self test_Y N/A N/A N/A utility DatasetLoader load input_data_file N/A N/A N/A N/A self feature_transform_mode polynomial N/A N/A self feature_transform_mode legendre N/A N/A N/A self test_X N/A N/A self test_X N/A N/A N/A 1 N/A N/A self test_X N/A N/A N/A utility DatasetLoader featureTransform N/A self test_X N/A self feature_transform_mode N/A self feature_transform_degree N/A N/A N/A self test_X N/A self test_Y N/A setParam N/A N/A self feed_mode step_ita updates N/A batch 0.126 2000 N/A N/A N/A self feed_mode feed_mode N/A N/A self step_ita step_ita N/A N/A self updates updates N/A N/A N/A self feed_mode N/A self step_ita N/A self updates N/A init_W N/A N/A self mode N/A normal N/A N/A 
        Init the W
        Simple way is init W all zeros
         N/A N/A N/A N/A self status load_train_data N/A N/A self status train N/A N/A Please load train data first. N/A N/A self W N/A N/A self status init N/A N/A self data_num N/A len N/A self train_Y N/A N/A self data_demension N/A len N/A N/A self train_X N/A 0 N/A N/A self W N/A N/A np zeros N/A self data_demension N/A N/A mode linear_regression_accelerator N/A N/A accelerator N/A N/A linear_regression Accelerator N/A N/A self W N/A N/A accelerator init_W self N/A N/A self W N/A theta N/A N/A self s N/A N/A N/A 
        Theta sigmoid function
         N/A s N/A N/A np where N/A s -709 -709 s N/A N/A 1 N/A 1 N/A N/A np exp N/A -1 s N/A score_function N/A N/A self x W N/A N/A N/A 
        Score function to calculate score
         N/A score N/A N/A self theta N/A N/A np inner x W N/A score N/A error_function N/A N/A self x y W N/A N/A N/A 
        Error function to calculate error: cross entropy error
         N/A error N/A N/A np log N/A 1 N/A N/A np exp N/A N/A -1 y N/A N/A np inner x W N/A error N/A calculate_gradient N/A N/A self X Y W N/A N/A N/A N/A N/A type Y N/A np ndarray N/A N/A data_num N/A len Y N/A N/A data_num 1 N/A gradient_average N/A N/A N/A np dot N/A N/A N/A self theta N/A N/A -1 Y N/A N/A np dot W N/A N/A X transpose N/A -1 Y X data_num N/A gradient_average N/A calculate_avg_error N/A N/A self X Y W N/A N/A N/A 
        Calculate avg error from X, Y, W
         N/A data_num N/A len Y N/A error_num 0 N/A i N/A range data_num N/A N/A error_num N/A error_num N/A N/A self error_function N/A X N/A i N/A Y N/A i W N/A avg_error N/A error_num N/A float data_num N/A avg_error N/A calculate_test_data_avg_error N/A N/A self N/A N/A N/A 
        Calculate test data avg error
         N/A avg_error N/A N/A self calculate_avg_error N/A self test_X N/A self test_Y N/A self W N/A avg_error N/A train N/A N/A self N/A N/A N/A 
        Train Linear Regression Algorithm
        From f(x) = WX
        Find best h(x) = WX similar to f(x)
        Output W

        mode: batch / stochastic
         N/A N/A N/A self status init N/A N/A Please load train data and init W first. N/A N/A self W N/A N/A self status train N/A i N/A range 0 N/A self updates N/A N/A N/A N/A self feed_mode stochastic N/A N/A stochastic_i N/A N/A random randint 0 N/A N/A self data_num 1 N/A x N/A N/A self train_X N/A stochastic_i N/A y N/A N/A self train_Y N/A stochastic_i N/A gradient N/A N/A self calculate_gradient x y N/A self W N/A N/A gradient N/A N/A self calculate_gradient N/A self train_X N/A self train_Y N/A self W N/A N/A N/A N/A N/A np linalg norm gradient 0 N/A N/A N/A self W N/A N/A self W N/A N/A self W N/A N/A self step_ita gradient N/A N/A self W N/A prediction N/A N/A self input_data mode N/A test_data N/A N/A N/A N/A N/A super LogisticRegression self prediction input_data mode N/A N/A BinaryClassifier N/A LogisticRegression N/A __init__ N/A N/A self N/A N/A N/A init N/A N/A self status empty N/A N/A self train_X N/A N/A N/A self train_Y N/A N/A N/A self W N/A N/A N/A self data_num 0 N/A N/A self data_demension 0 N/A N/A self test_X N/A N/A N/A self test_Y N/A N/A N/A self feature_transform_mode N/A N/A self feature_transform_degree 1 N/A N/A self feed_mode batch N/A N/A self step_ita 0.126 N/A N/A self updates 2000 N/A load_train_data N/A N/A self input_data_file N/A N/A N/A N/A N/A N/A super BinaryClassifier self load_train_data input_data_file N/A load_test_data N/A N/A self input_data_file N/A N/A N/A N/A N/A N/A super BinaryClassifier self load_test_data input_data_file N/A setParam N/A N/A self feed_mode step_ita updates N/A batch 0.126 2000 N/A N/A N/A N/A N/A super BinaryClassifier self setParam feed_mode step_ita updates N/A init_W N/A N/A self mode N/A normal N/A N/A N/A N/A N/A super BinaryClassifier self init_W mode N/A theta N/A N/A self s N/A N/A N/A N/A N/A N/A super BinaryClassifier self theta s N/A score_function N/A N/A self x W N/A N/A N/A 
        Score function to calculate score
         N/A score N/A N/A N/A super BinaryClassifier self score_function x W N/A N/A score 0.5 N/A N/A score 1.0 N/A N/A score -1.0 N/A score N/A error_function N/A N/A self y_prediction y_truth N/A N/A N/A 
        Error function to calculate error
         N/A N/A y_prediction y_truth N/A N/A 1 N/A N/A 0 N/A calculate_gradient N/A N/A self X Y W N/A N/A N/A N/A N/A N/A super BinaryClassifier self calculate_gradient X Y W N/A calculate_avg_error N/A N/A self X Y W N/A N/A N/A data_num N/A len Y N/A error_num 0 N/A i N/A range data_num N/A N/A error_num N/A error_num N/A N/A self error_function N/A N/A self score_function N/A X N/A i W N/A Y N/A i N/A avg_error N/A error_num N/A float data_num N/A avg_error N/A calculate_test_data_avg_error N/A N/A self N/A N/A N/A N/A N/A N/A super BinaryClassifier self calculate_avg_error N/A train N/A N/A self N/A N/A N/A N/A N/A N/A super BinaryClassifier self train N/A prediction N/A N/A self input_data mode N/A test_data N/A N/A N/A N/A N/A super BinaryClassifier self prediction input_data mode N/A N/A MultiClassifier N/A LogisticRegression N/A N/A class_list N/A N/A temp_train_X N/A N/A temp_train_Y N/A N/A temp_W N/A N/A temp_data_num 0 N/A decomposition ova __init__ N/A N/A self N/A N/A N/A init N/A N/A self status empty N/A N/A self train_X N/A N/A N/A self train_Y N/A N/A N/A self W N/A N/A N/A self data_num 0 N/A N/A self data_demension 0 N/A N/A self test_X N/A N/A N/A self test_Y N/A N/A N/A self feature_transform_mode N/A N/A self feature_transform_degree 1 N/A N/A self feed_mode batch N/A N/A self step_ita 0.126 N/A N/A self updates 2000 N/A N/A self class_list N/A N/A N/A self temp_train_X N/A N/A N/A self temp_train_Y N/A N/A N/A self temp_W N/A N/A N/A self temp_data_num 0 N/A N/A self decomposition ova N/A load_train_data N/A N/A self input_data_file N/A N/A N/A N/A self status load_train_data N/A N/A input_data_file N/A N/A input_data_file N/A N/A N/A os path normpath N/A N/A N/A os path join N/A N/A N/A os path join N/A N/A os getcwd N/A N/A N/A os path dirname __file__ dataset/digits_multiclass_train.dat N/A N/A N/A N/A N/A N/A os path isfile input_data_file True N/A N/A Please make sure input_data_file path is correct. N/A N/A N/A self train_X N/A self train_Y N/A N/A N/A self train_X N/A self train_Y N/A N/A N/A utility DatasetLoader load input_data_file N/A N/A N/A self train_X N/A self train_Y N/A load_test_data N/A N/A self input_data_file N/A N/A N/A N/A input_data_file N/A N/A input_data_file N/A N/A N/A os path normpath N/A N/A N/A os path join N/A N/A N/A os path join N/A N/A os getcwd N/A N/A N/A os path dirname __file__ dataset/digits_multiclass_test.dat N/A N/A N/A N/A N/A N/A os path isfile input_data_file True N/A N/A Please make sure input_data_file path is correct. N/A N/A N/A self test_X N/A self test_Y N/A N/A N/A self test_X N/A self test_Y N/A N/A N/A utility DatasetLoader load input_data_file N/A N/A N/A N/A self feature_transform_mode polynomial N/A N/A self feature_transform_mode legendre N/A N/A N/A self test_X N/A N/A self test_X N/A N/A N/A 1 N/A N/A self test_X N/A N/A N/A utility DatasetLoader featureTransform N/A self test_X N/A self feature_transform_mode N/A self feature_transform_degree N/A N/A N/A self test_X N/A self test_Y N/A setParam N/A N/A self feed_mode step_ita updates N/A batch 0.126 2000 N/A N/A N/A N/A N/A super MultiClassifier self setParam feed_mode step_ita updates N/A init_W N/A N/A self mode decomposition N/A normal ova N/A N/A N/A self W N/A N/A N/A N/A N/A self status load_train_data N/A N/A self status train N/A N/A Please load train data first. N/A N/A self W N/A N/A self status init N/A N/A self data_num N/A len N/A self train_Y N/A N/A self data_demension N/A len N/A N/A self train_X N/A 0 N/A N/A self decomposition decomposition N/A N/A N/A self decomposition ovo N/A N/A N/A self class_list N/A list N/A N/A itertools combinations N/A N/A np unique N/A self train_Y 2 N/A N/A N/A N/A self decomposition ova N/A N/A N/A self class_list N/A N/A np unique N/A self train_Y N/A class_item N/A self class_list N/A N/A N/A N/A self W N/A class_item N/A N/A np zeros N/A self data_demension N/A N/A mode linear_regression_accelerator N/A N/A accelerator N/A N/A linear_regression Accelerator N/A class_item N/A self class_list N/A N/A N/A N/A self decomposition ovo N/A N/A N/A modify_X modify_Y N/A N/A self modify_XY N/A self train_X N/A self train_Y class_item N/A N/A self temp_train_X N/A self train_X N/A N/A self temp_train_Y N/A self train_Y N/A N/A self train_X modify_X N/A N/A self train_Y modify_Y N/A N/A self temp_data_num N/A self data_num N/A N/A self data_num N/A len N/A self train_Y N/A N/A self temp_W N/A self W N/A N/A self W N/A N/A self temp_W N/A class_item N/A N/A N/A self temp_W N/A class_item N/A N/A accelerator init_W self N/A N/A self train_X N/A self temp_train_X N/A N/A self train_Y N/A self temp_train_Y N/A N/A self temp_train_X N/A N/A N/A self temp_train_Y N/A N/A N/A self data_num N/A self temp_data_num N/A N/A self temp_data_num 0 N/A N/A self W N/A self temp_W N/A N/A self temp_W N/A N/A N/A N/A N/A self decomposition ova N/A N/A modify_Y N/A N/A self modify_Y N/A self train_Y class_item N/A N/A self temp_train_Y N/A self train_Y N/A N/A self train_Y modify_Y N/A N/A self temp_W N/A self W N/A N/A self W N/A N/A self temp_W N/A class_item N/A N/A N/A self temp_W N/A class_item N/A N/A accelerator init_W self N/A N/A self train_Y N/A self temp_train_Y N/A N/A self temp_train_Y N/A N/A N/A self W N/A self temp_W N/A N/A self temp_W N/A N/A N/A self W N/A theta N/A N/A self s N/A N/A N/A N/A N/A N/A super MultiClassifier self theta s N/A score_function N/A N/A self x W N/A N/A N/A N/A N/A N/A super MultiClassifier self score_function x W N/A score_function_all_class N/A N/A self x W N/A N/A N/A score_list N/A N/A ovo_vote N/A N/A class_item N/A self class_list N/A N/A score N/A N/A self score_function x N/A W N/A class_item N/A N/A N/A self decomposition ovo N/A N/A N/A score 0.5 N/A N/A N/A score_list N/A class_item N/A class_item N/A 0 N/A N/A N/A score_list N/A class_item N/A class_item N/A 1 N/A N/A N/A ovo_vote append N/A score_list N/A class_item N/A N/A N/A N/A self decomposition ova N/A N/A N/A score_list N/A class_item score N/A N/A N/A self decomposition ovo N/A N/A N/A max N/A set ovo_vote key N/A ovo_vote count N/A N/A N/A N/A self decomposition ova N/A N/A N/A N/A max N/A N/A score_list items key N/A N/A operator itemgetter 1 N/A 0 N/A error_function N/A N/A self y_prediction y_truth N/A N/A N/A N/A y_prediction y_truth N/A N/A 1 N/A N/A 0 N/A calculate_gradient N/A N/A self X Y W N/A N/A N/A N/A N/A N/A super MultiClassifier self calculate_gradient X Y W N/A calculate_avg_error N/A N/A self X Y W N/A N/A N/A N/A N/A N/A super MultiClassifier self calculate_avg_error X Y W N/A calculate_avg_error_all_class N/A N/A self X Y W N/A N/A N/A data_num N/A len Y N/A error_num 0 N/A i N/A range data_num N/A N/A error_num N/A error_num N/A N/A self error_function N/A N/A self score_function_all_class N/A X N/A i W N/A Y N/A i N/A avg_error N/A error_num N/A float data_num N/A avg_error N/A calculate_test_data_avg_error N/A N/A self N/A N/A N/A N/A N/A N/A super MultiClassifier self calculate_avg_error N/A modify_Y N/A N/A self Y class_item N/A N/A N/A modify_Y N/A N/A yi Y N/A N/A N/A yi class_item N/A N/A N/A N/A modify_Y append 1 N/A N/A N/A N/A modify_Y append -1 N/A N/A N/A np array modify_Y N/A modify_XY N/A N/A self X Y class_item N/A N/A N/A modify_X N/A N/A modify_Y N/A N/A N/A idx val N/A enumerate Y N/A N/A N/A val N/A class_item N/A 0 N/A N/A N/A N/A modify_Y append 1 N/A N/A N/A modify_X append N/A X N/A idx N/A N/A N/A val N/A class_item N/A 1 N/A N/A N/A N/A modify_Y append -1 N/A N/A N/A modify_X append N/A X N/A idx N/A N/A N/A N/A np array modify_X N/A N/A np array modify_Y N/A train N/A N/A self N/A N/A N/A N/A N/A self status init N/A N/A Please load train data and init W first. N/A N/A self W N/A class_item N/A self class_list N/A N/A N/A self status init N/A N/A N/A self decomposition ovo N/A N/A N/A modify_X modify_Y N/A N/A self modify_XY N/A self train_X N/A self train_Y class_item N/A N/A self temp_train_X N/A self train_X N/A N/A self temp_train_Y N/A self train_Y N/A N/A self train_X modify_X N/A N/A self train_Y modify_Y N/A N/A self temp_data_num N/A self data_num N/A N/A self data_num N/A len N/A self train_Y N/A N/A self temp_W N/A self W N/A N/A self W N/A N/A self temp_W N/A class_item N/A N/A N/A self temp_W N/A class_item N/A N/A N/A super MultiClassifier self train N/A N/A self train_X N/A self temp_train_X N/A N/A self train_Y N/A self temp_train_Y N/A N/A self temp_train_X N/A N/A N/A self temp_train_Y N/A N/A N/A self data_num N/A self temp_data_num N/A N/A self temp_data_num 0 N/A N/A self W N/A self temp_W N/A N/A self temp_W N/A N/A N/A class %d to %d learned. N/A N/A class_item N/A 0 N/A class_item N/A 1 N/A N/A N/A N/A self decomposition ova N/A N/A modify_Y N/A N/A self modify_Y N/A self train_Y class_item N/A N/A self temp_train_Y N/A self train_Y N/A N/A self train_Y modify_Y N/A N/A self temp_W N/A self W N/A N/A self W N/A N/A self temp_W N/A class_item N/A N/A N/A self temp_W N/A class_item N/A N/A N/A super MultiClassifier self train N/A N/A self train_Y N/A self temp_train_Y N/A N/A self temp_train_Y N/A N/A N/A self W N/A self temp_W N/A N/A self temp_W N/A N/A N/A class %d learned. class_item N/A N/A self status train N/A N/A self W N/A prediction N/A N/A self input_data mode N/A test_data N/A N/A prediction N/A N/A prediction_list N/A N/A prediction_return 0.0 N/A ovo_vote N/A N/A class_item N/A self class_list N/A N/A N/A self temp_W N/A self W N/A N/A self W N/A N/A self temp_W N/A class_item N/A prediction N/A N/A N/A super MultiClassifier self prediction input_data mode N/A N/A N/A self decomposition ovo N/A N/A N/A N/A prediction N/A prediction 0.5 N/A N/A N/A prediction_list N/A class_item N/A class_item N/A 0 N/A N/A N/A prediction_list N/A class_item N/A class_item N/A 1 N/A N/A N/A ovo_vote append N/A prediction_list N/A class_item N/A N/A N/A N/A self decomposition ova N/A N/A N/A prediction_list N/A class_item N/A prediction N/A prediction N/A N/A self W N/A self temp_W N/A N/A self temp_W N/A N/A N/A N/A self decomposition ovo N/A N/A prediction_return N/A max N/A set ovo_vote key N/A ovo_vote count N/A N/A N/A N/A self decomposition ova N/A N/A prediction_return N/A N/A max N/A N/A prediction_list items key N/A N/A operator itemgetter 1 N/A 0 N/A N/A input_data_x input_data_y prediction prediction_list N/A prediction N/A input_data_x N/A prediction N/A input_data_y prediction_return prediction_list N/A N/A