Module ImportFrom alias Assign NameStore Str ImportFrom alias alias alias alias alias alias alias alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias Expr Call NameLoad Expr Call NameLoad Str Expr Call NameLoad Assign NameStore TupleLoad Num Num Num Num Num Assign NameStore Num Assign NameStore BinOpMult Num NameLoad Assign NameStore BinOpMult Num NameLoad Expr Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr BinOpMult Num NameLoad BinOpMult Num NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr BinOpMult Num NameLoad BinOpMult Num NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call NameLoad Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore BinOpDiv Num Num Expr Call NameLoad Str Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword Num keyword Num keyword Num keyword TupleLoad Num Num keyword Num keyword Num keyword AttributeLoad NameLoad attr keyword NameLoad keyword Num Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad BinOpMult Call NameLoad NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Slice Num NameLoad Assign NameStore SubscriptLoad NameLoad Slice NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad BinOpMult Call NameLoad NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Slice Num NameLoad Assign NameStore SubscriptLoad NameLoad Slice NameLoad Expr Call NameLoad For NameStore Call NameLoad Num body Expr Call NameLoad Str Expr Call NameLoad Str Expr Call NameLoad Str Expr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Num Expr Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad Num Expr Call NameLoad Expr Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call NameLoad Num Expr Call NameLoad Expr Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad Str Expr Call NameLoad TupleLoad NameLoad NameLoad TupleLoad Str Str Str Expr Call NameLoad Expr Call NameLoad
N/A __future__ print_function N/A __author__ Michael Isik pylab plot show ion cla subplot title figlegend draw N/A numpy pybrain.structure.modules.evolinonetwork EvolinoNetwork pybrain.supervised.trainers.evolino EvolinoTrainer lib.data_generator generateSuperimposedSineData N/A N/A print N/A N/A print === Learning to extrapolate 5 superimposed sine waves === N/A N/A print N/A sinefreqs N/A 0.2 0.311 0.42 0.51 0.74 N/A metascale 8.0 N/A scale N/A 0.5 metascale N/A stepsize N/A 0.1 metascale N/A N/A print creating training data N/A trnInputSpace N/A N/A numpy arange N/A 0 scale N/A 190 scale stepsize N/A trnData N/A generateSuperimposedSineData sinefreqs trnInputSpace N/A N/A print creating test data N/A tstInputSpace N/A N/A numpy arange N/A 400 scale N/A 540 scale stepsize N/A tstData N/A generateSuperimposedSineData sinefreqs tstInputSpace N/A N/A print creating EvolinoNetwork N/A net N/A EvolinoNetwork N/A trnData outdim 40 N/A wtRatio N/A 1.0 3.0 N/A N/A print creating EvolinoTrainer N/A trainer N/A EvolinoTrainer net dataset trnData subPopulationSize 20 nParents 8 nCombinations 1 initialWeightRange N/A -0.01 0.01 backprojectionFactor 0.001 mutationAlpha 0.001 nBurstMutationEpochs N/A numpy Infinity wtRatio wtRatio verbosity 2 N/A trnSequence N/A N/A trnData getField target N/A separatorIdx N/A int N/A N/A len trnSequence wtRatio N/A trnSequenceWashout N/A trnSequence N/A 0 separatorIdx N/A trnSequenceTarget N/A trnSequence N/A separatorIdx N/A tstSequence N/A N/A tstData getField target N/A separatorIdx N/A int N/A N/A len tstSequence wtRatio N/A tstSequenceWashout N/A tstSequence N/A 0 separatorIdx N/A tstSequenceTarget N/A tstSequence N/A separatorIdx N/A N/A ion N/A i N/A range 3000 N/A N/A N/A print ====================== N/A N/A print ====== NEXT RUN ====== N/A N/A print ====================== N/A N/A print === TRAINING N/A N/A N/A trainer trainEpochs 1 N/A N/A print === PLOTTING
 N/A trnSequenceOutput N/A N/A net extrapolate trnSequenceWashout N/A len trnSequenceTarget N/A tstSequenceOutput N/A N/A net extrapolate tstSequenceWashout N/A len tstSequenceTarget N/A sp N/A subplot 211 N/A N/A cla N/A N/A title Training Set N/A N/A N/A sp set_autoscale_on True N/A targetline N/A plot trnSequenceTarget r- N/A N/A N/A sp set_autoscale_on False N/A outputline N/A plot trnSequenceOutput b- N/A sp N/A subplot 212 N/A N/A cla N/A N/A title Test Set N/A N/A N/A sp set_autoscale_on True N/A N/A plot tstSequenceTarget r- N/A N/A N/A sp set_autoscale_on False N/A N/A plot tstSequenceOutput b- N/A N/A figlegend N/A targetline outputline N/A target output upper right N/A N/A draw N/A N/A show