Skip to content

Instantly share code, notes, and snippets.

View CateGitau's full-sized avatar
🏠
Working from home

Cathy CateGitau

🏠
Working from home
View GitHub Profile
@iamukasa
iamukasa / textai.py
Created October 6, 2017 06:00
LSTM model to create the next version of the text file to finish it look out George rr martin
import numpy as np
import sys
class RecurrentNeuralNetwork:
def __init__(self,xs,ys,rl,eo,lr):
self.x=np.zeros(xs)
self.xs=xs
self.y=np.zeros(ys)
self.ys=ys
self.w=np.random.random((ys,ys))