when we use sklearn,
from sklearn.metrics import mean_squared_error
why we can use only this way to caluate mse?
import sklearn
sklearn.metrics.mean_squared_error
why this way can not? and The compiler will report an error(module sklearn has no attribute metrics).