We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fdc5c3 commit f9f807fCopy full SHA for f9f807f
bayesflow/diagnostics/plots/loss.py
@@ -1,4 +1,4 @@
1
-from typing import Sequence
+from collections.abc import Sequence
2
3
import numpy as np
4
import pandas as pd
@@ -14,8 +14,7 @@ def loss(
14
history: keras.callbacks.History,
15
train_key: str = "loss",
16
val_key: str = "val_loss",
17
- moving_average: bool = True,
18
- moving_average_alpha: float = 0.8,
+ smoothing_factor: float = 0.8,
19
figsize: Sequence[float] = None,
20
train_color: str = "#132a70",
21
val_color: str = None,
0 commit comments