Plot NMF reconstruction error over iterations

plot_error_history(error_history, file = NULL, width = 7, height = 5)

Arguments

error_history

Numeric vector of Frobenius errors.

file

Optional path to save a PNG; when NULL, plots to the active device.

width

Plot width in inches when saving to file.

height

Plot height in inches when saving to file.

Value

Invisibly NULL.