mirror of
https://github.com/13hannes11/UU_NCML_Project.git
synced 2024-09-03 20:50:59 +02:00
fix correct display of mse
This commit is contained in:
@@ -80,7 +80,7 @@ def predict(model, data, grid_h, grid_w, comparison_data=pd.DataFrame()):
|
|||||||
err = normalize_df(part_distance_out) - normalize_df(comparison_data_dist)
|
err = normalize_df(part_distance_out) - normalize_df(comparison_data_dist)
|
||||||
err = err * err
|
err = err * err
|
||||||
plot_party_distances(err)
|
plot_party_distances(err)
|
||||||
plt.title(f'distance squared error, with mse={str(np.nanmean(err.to_numpy())):.2}')
|
plt.title(f'distance squared error, with mse={np.nanmean(err.to_numpy()):.2f}')
|
||||||
plt.show()
|
plt.show()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user