Skip to main content

class Histogram

sequence: 'Sequence | None' = None,
np_histogram: 'NumpyHistogram | None' = None,
num_bins: 'int' = 64

Description

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 Attributes: bins ([float]): Edges of bins histogram ([int]): Number of elements falling in each bin.

Args

  • sequence: Input data for histogram.
  • np_histogram: Alternative input of a precomputed histogram.
  • num_bins: Number of bins for the histogram. The default number of bins is 64. The maximum number of bins is 512.