def independentlinear60__ffnn():
    """ 4-Layer Neural Network
    """
    from keras.models import Sequential
    from keras.layers import Dense

    model = Sequential()
    model.add(Dense(32, activation='relu', input_dim=60))
    model.add(Dense(20, activation='relu'))
    model.add(Dense(20, activation='relu'))
    model.add(Dense(1))

    model.compile(optimizer='adam',
                loss='mean_squared_error',
                metrics=['mean_squared_error'])

    return KerasWrap(model, 30, flatten_output=True)
def independentlinear60__ffnn ( ) : from keras . models import Sequential from keras . layers import Dense model = Sequential ( ) model . add ( Dense ( 32 , activation = 'relu' , input_dim = 60 ) ) model . add ( Dense ( 20 , activation = 'relu' ) ) model . add ( Dense ( 20 , activation = 'relu' ) ) model . add ( Dense ( 1 ) ) model . compile ( optimizer = 'adam' , loss = 'mean_squared_error' , metrics = [ 'mean_squared_error' ] ) return KerasWrap ( model , 30 , flatten_output = True )
4-Layer Neural Network