elphick.sklearn_viz.model_selection.learning_curve.LearningCurveResult
- class elphick.sklearn_viz.model_selection.learning_curve.LearningCurveResult(training_scores, validation_scores, training_sizes, metrics=None)[source]
- __init__(training_scores, validation_scores, training_sizes, metrics=None)
Methods
__init__
(training_scores, validation_scores, ...)get_metric_results
(dataset_type, metric_name)- rtype:
ndarray
get_plot_data
(key, dataset_type)- rtype:
tuple
get_results
()- rtype:
DataFrame
get_scorer_results
(dataset_type)- rtype:
ndarray
Attributes
metrics
training_scores
validation_scores
training_sizes