From bedfde24127a97899d2befce680595ad58328d4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Wa=C5=82=C4=99sa?= Date: Sun, 15 May 2022 22:59:25 +0200 Subject: [PATCH] Zaktualizuj 'ml_pytorch_mlflow.py' --- ml_pytorch_mlflow.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ml_pytorch_mlflow.py b/ml_pytorch_mlflow.py index 9581cf2..69c8100 100644 --- a/ml_pytorch_mlflow.py +++ b/ml_pytorch_mlflow.py @@ -138,8 +138,8 @@ def my_main(epochs): predicted.append(float(prediction(input_, model))) inputss.append(input_) - inputss = pd.DataFrame(inputs, dtype=np.float64) - inputss = inputs.to_numpy() + inputss = pd.DataFrame(inputss, dtype=np.float64) + inputss = inputss.to_numpy() MSE = mean_squared_error(expected, predicted) MAE = mean_absolute_error(expected, predicted)