Why does this work,
from sklearn.metrics import mean_squared_error
but not the other?
import sklearn.metrics.mean_squared_error as mse
This gives
ModuleNotFoundError: No module named 'sklearn.metrics.mean_squared_error'
It is not possible because mean_squared_error is a function is my guess?