<gh_stars>0
import pandas as pd
import numpy as np

import load_train

from keras.models import Sequential, Model
from keras.layers import Flatten, Dropout, RepeatVector, LSTM, Dense, Dropout, Embedding, Masking, Bidirectional, Layer
from keras.callbacks import EarlyStopping, ModelCheckpoint

def make_model():
    model = Sequential()

    model.add(LSTM(32,
        input_dim=101,
        return_sequences=True,
        dropout=0.1,
        recurrent_dropout=0.1))
    model.add(LSTM(10,
        activation='relu',
        return_sequences=False))
    model.add(RepeatVector(2))
    model.add(LSTM(10,
        activation='relu',
        return_sequences=True))
    model.add(LSTM(32,
        return_sequences=True,
        dropout=0.1,
        recurrent_dropout=0.1))
    # Output layer
    model.add(Dense(101,
        activation='sigmoid'))
    # Compile the model
    model.compile(
        optimizer='RMSprop',
        loss='categorical_crossentropy',
        metrics=['accuracy'])

    model.summary()
    return model