Module Import alias identifier Import alias identifier ImportFrom alias alias Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num BinOpMult Num AttributeLoad NameLoad attr Num TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpMult BinOpMult Num AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Num keyword Num keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr
N/A N/A numpy np N/A matplotlib.pyplot plt neupy algorithms environment N/A N/A N/A environment reproducible N/A N/A N/A N/A plt style use ggplot N/A input_train N/A N/A np reshape N/A N/A np linspace 0 N/A 2 N/A np pi 100 N/A 100 1 N/A input_test N/A N/A np reshape N/A N/A np sort N/A N/A 2 N/A np pi N/A N/A N/A np random random 50 N/A 50 1 N/A target_train N/A N/A np sin input_train N/A target_test N/A N/A np sin input_test N/A cmac N/A N/A algorithms CMAC quantization 100 associative_unit_size 10 step 0.2 verbose True show_epoch 4 times N/A N/A N/A cmac train input_train target_train epochs 100 N/A predicted_test N/A N/A cmac predict input_test N/A N/A N/A plt plot input_train target_train N/A N/A N/A plt plot input_test predicted_test N/A N/A N/A plt show