Zaktualizuj 'ml_pytorch_mlflow.py'

This commit is contained in:
Sebastian Wałęsa 2022-05-15 22:42:43 +02:00
parent 9390886373
commit 2c3dc7cc0b

View File

@ -137,7 +137,8 @@ def my_main(epochs):
predicted.append(float(prediction(input_, model)))
inputs.append(input_.numpy())
inputs = inputs.to_array()
inputs = pd.DataFrame(inputs, dtype=np.float64)
inputs = inputs.to_numpy()
MSE = mean_squared_error(expected, predicted)
MAE = mean_absolute_error(expected, predicted)