Skip to content

Instantly share code, notes, and snippets.

View tomas-rampas's full-sized avatar
💻
CMaking...

Tomas Rampas tomas-rampas

💻
CMaking...
  • Prague, Czech Republic
  • 05:55 (UTC +02:00)
View GitHub Profile
@tomas-rampas
tomas-rampas / list.md
Created November 4, 2020 15:05 — forked from ih2502mk/list.md
Quantopian Lectures Saved
@tomas-rampas
tomas-rampas / keras_prediction.py
Created November 17, 2016 16:07 — forked from hnykda/keras_prediction.py
Predicting sequences of vectors (regression) in Keras using RNN - LSTM (danielhnyk.cz)
import pandas as pd
from random import random
flow = (list(range(1,10,1)) + list(range(10,1,-1)))*100
pdata = pd.DataFrame({"a":flow, "b":flow})
pdata.b = pdata.b.shift(9)
data = pdata.iloc[10:] * random() # some noise
import numpy as np