The validation curve shows the score as a function of a hyperparameter; the learning curve shows it as a function of the training set size. A large gap between training and validation scores indicates overfitting, two low and close scores indicate underfitting.
Example
learning_curve(modele, X, y, cv=5)