Plot single learning inspection#

inspects model from its learning curve.

# Author: L.Kouadio
# Licence: BSD-3-clause
from watex.datasets import fetch_data
from watex.models.premodels import p
from watex.view.mlplot import plotLearningInspection
# import sparse  matrix from Bagoue datasets
X, y = fetch_data ('bagoue prepared')
# import the  pretrained Radial Basis Function (RBF) from SVM
plotLearningInspection (p.SVM.rbf.best_estimator_  , X, y )
SVC, Scalability of SVC, Performance of SVC
(array([<AxesSubplot:title={'center':'SVC'}, xlabel='Training examples', ylabel='Score'>,
       <AxesSubplot:title={'center':'Scalability of SVC'}, xlabel='Training examples', ylabel='fit_times'>,
       <AxesSubplot:title={'center':'Performance of SVC'}, xlabel='fit_times', ylabel='Score'>],
      dtype=object), 0.7958010540184453, array([0.564 , 0.5875, 0.6744, 0.6948, 0.7094]))

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

Gallery generated by Sphinx-Gallery