ModuleNotFoundError: No module named ‘sklearn.learning_curve
将
from sklearn.learning_curve import validation_curve
改为
from sklearn.model_selection import learning_curve
将
from sklearn.learning_curve import validation_curve
改为
from sklearn.model_selection import learning_curve