it fails because keras_core.metrics doesn't expose RootMeanSquaredError.
Looking at keras_core.metrics, the other standard regression metrics are
already there — MeanSquaredError, MeanAbsoluteError,
MeanAbsolutePercentageError, MeanSquaredLogarithmicError,
CosineSimilarity, LogCoshError — but RMSE is the one that's missing.
For a lot of regression problems RMSE is the metric you actually report,
so having to roll my own stateful metric just to track it during
model.fit feels off when every sibling metric is provided out of the box.
Could RootMeanSquaredError be added under keras_core.metrics so it
behaves like the tf.keras one (accumulates across batches, supports
sample_weight, works inside model.compile(metrics=[...]))?