Skip to content

Commit

Permalink
Multiple metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
teubert committed Aug 7, 2024
1 parent 0a8f7c1 commit 0a2797a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/progpy/data_models/lstm_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ def from_data(cls, inputs, outputs, event_states=None, t_met=None, **kwargs):
output_data.append(t_all)

model = keras.Model(inputs, outputs)
model.compile(optimizer="rmsprop", loss="mse", metrics=["mae"])
model.compile(optimizer="rmsprop", loss="mse", metrics=["mae"]*len(outputs))

# Train model
history = model.fit(
Expand Down

0 comments on commit 0a2797a

Please sign in to comment.