This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
from keras.models import Sequential | |
from keras.layers import Dense, LSTM | |
import numpy as np | |
from numpy.random import choice | |
def prepare_sequences(x_train, window_length): | |
windows = [] | |
for i, sequence in enumerate(x_train): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Users/spacegoing/AllSymlinks/macCodeLab/Python/Pomodoro_Python: | |
total used in directory 80 available 93409992 | |
drwxr-xr-x 19 spacegoing staff 646 Feb 9 23:20 . | |
drwxr-xr-x 11 spacegoing staff 374 Feb 5 23:38 .. | |
-rw-r--r-- 1 spacegoing staff 10244 Feb 9 18:44 .DS_Store | |
-rw-r--r-- 1 spacegoing staff 6365 Jan 23 14:13 .emacs.desktop | |
-rw-r--r-- 1 spacegoing staff 4 Feb 9 23:17 .emacs.desktop.lock | |
drwxr-xr-x 17 spacegoing staff 578 Feb 9 23:20 .git | |
-rw-r--r-- 1 spacegoing staff 1836 Feb 8 10:16 .gitignore | |
drwxr-xr-x 11 spacegoing staff 374 Feb 9 23:20 .idea |