Skip to main content

Class wandb.Histogram

W&B class for histograms. This object works just like numpy’s histogram function https://docs.scipy.org/doc/numpy/reference/generated/numpy.histogram.html

Args

Sequence | None
Input data for histogram.
NumpyHistogram | None
Alternative input of a precomputed histogram.
int
Number of bins for the histogram. The default number of bins is 64. The maximum number of bins is 512.

Attributes

  • bins ([float]): Edges of bins
  • histogram ([int]): Number of elements falling in each bin.