made sligthly more useable
This commit is contained in:
parent
c175a9366c
commit
ed0d441974
3
stroo.py
3
stroo.py
|
@ -69,7 +69,8 @@ def train_model(data,n=3):
|
||||||
ngrams=multigramm(data,n=n)
|
ngrams=multigramm(data,n=n)
|
||||||
data=ngramtrafo(data,ngrams,n=n)
|
data=ngramtrafo(data,ngrams,n=n)
|
||||||
|
|
||||||
|
pm=0.0
|
||||||
|
while pm**2<0.0001:
|
||||||
#tensorflow stuff (not at all optimised)
|
#tensorflow stuff (not at all optimised)
|
||||||
inp=keras.Input(data.shape[1:])
|
inp=keras.Input(data.shape[1:])
|
||||||
q=inp
|
q=inp
|
||||||
|
|
Loading…
Reference in New Issue