wandb.data_types.Histogram
Last updated
Was this helpful?
Last updated
Was this helpful?
wandb class for histograms.
This object works just like numpy's histogram function https://docs.scipy.org/doc/numpy/reference/generated/numpy.histogram.html
Generate histogram from a sequence
Efficiently initialize from np.histogram.
Arguments
sequence
(array_like) input data for histogram
np_histogram
(numpy histogram) alternative input of a precoomputed histogram
num_bins
(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
Class Variables
MAX_LENGTH
512