[Python] Prediction of sine wave | Nupic example