sacred metrics
This commit is contained in:
parent
670b605789
commit
15ac30cf27
@ -58,6 +58,7 @@ def prepare(epochs, batch_size, _run):
|
|||||||
predictions = model.predict(X_test)
|
predictions = model.predict(X_test)
|
||||||
error = mean_squared_error(y_test, predictions)
|
error = mean_squared_error(y_test, predictions)
|
||||||
_run.info["mean_squared_error"] = str(error)
|
_run.info["mean_squared_error"] = str(error)
|
||||||
|
_run.log_scalar("mean_squared_error", int(error))
|
||||||
return error
|
return error
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user