Code Documentation: Learning curve

mastml.learning_curve Module

This module contains methods to construct learning curves, which evaluate some cross-validation performance metric (e.g. RMSE) as a function of amount of training data (i.e. a sample learning curve) or as a function of the number of features used in the fitting (i.e. a feature learning curve).

Functions

f_regression(X, y, *[, center]) Univariate linear regression tests.
feature_learning_curve(X, y, estimator, cv, …) Method that calculates data used to plot a feature learning curve, e.g.
learning_curve(estimator, X, y, *[, groups, …]) Learning curve.
sample_learning_curve(X, y, estimator, cv, …) Method that calculates data used to plot a sample learning curve, e.g.