Zaktualizuj 'ml_pytorch_mlflow.py'

This commit is contained in:
Sebastian Wałęsa 2022-05-15 22:59:25 +02:00
parent 635259d6f2
commit bedfde2412

View File

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