vak.learncurve.curvefit#

“code to fit learning curves adapted from https://github.com/NickleDave/learning-curves/

Functions

fit_learning_curve(train_set_size, error_test)

returns parameters to predict learning curve as a power function with the form y = a + b * x**alpha where x is the training set size, i.e., the independent variable

residual_two_functions(params, x, y1, y1err, ...)

returns residuals between two lines, specified by parameters in variable params, and data y1 and y2