Plot learning inspections#

inspects multiple models from their learning curves.

# Author: L.Kouadio
# Licence: BSD-3-clause
from watex.datasets import fetch_data
from watex.models.premodels import p
from watex.view.mlplot import plotLearningInspections
# import sparse  matrix from Bagoue dataset
X, y = fetch_data ('bagoue prepared')
# import the two pretrained models from SVM
models = [p.SVM.rbf.best_estimator_ , p.SVM.poly.best_estimator_]
plotLearningInspections (models , X, y, ylim=(0.7, 1.01) )
SVC, SVC, Scalability of the model, Scalability of the model, Performance of the model, Performance of the model

Total running time of the script: ( 0 minutes 1.798 seconds)

Gallery generated by Sphinx-Gallery