anndict.plot.plot_training_history

anndict.plot.plot_training_history#

anndict.plot.plot_training_history(history, adt_key=None)[source]#

Plot the training history of a model, showing percent label change versus iteration.

Parameters:
history list[float]

The training history. From anndict.utils.stabilizing_classifier().

adt_key tuple[str, ...] | None (default: None)

Used by adata_dict_fapply() when wrapping this function.

Return type:

tuple[Figure, Axes]

Returns:

The figure.

See also

anndict.utils.stabilizing_classifier()

The function that returns history.