calour.amplicon_experiment.AmpliconExperiment.regress

AmpliconExperiment.regress(field, estimator, cv=<calour.training.RepeatedSortedStratifiedKFold object>, params=None)[source]

Evaluate regression during cross validation.

Parameters:
Yields:

pandas.DataFrame – The result of prediction per sample for a given parameter set. It contains the following columns:

  • Y_TRUE: the true value for the samples
  • SAMPLE: sample IDs
  • CV: which split of the cross validation
  • Y_PRED: the predicted value for the samples