Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def build_model():
- model = Sequential()
- model.add(Dense(36, input_dim=36, activation='relu'))
- model.add(Dense(18, input_dim=36, activation='relu'))
- model.add(Dense(1, activation='sigmoid'))
- model.compile(loss='mse', optimizer='sgd', metrics=['mae','mse'])
- return model
- math.sqrt(sc.inverse_transform([mse]))
Add Comment
Please, Sign In to add comment