Create an empty, mutable org.dianahep.histogrammar.Bagging.
Create an empty, mutable org.dianahep.histogrammar.Bagging.
Function that produces numbers, vectors of numbers, or strings.
The data type: "N" for number, "N#" where "#" is a positive integer for vector of numbers, or "S" for string.
Help text that can be queried interactively: more detail than help
.
Create an immutable org.dianahep.histogrammar.Bagged from arguments (instead of JSON).
Create an immutable org.dianahep.histogrammar.Bagged from arguments (instead of JSON).
Weighted number of entries (sum of all observed weights).
Distinct multidimensional vectors and the (weighted) number of times they were observed or None
if they were dropped.
The data type: "N" for number, "N#" where "#" is a positive integer for vector of numbers, or "S" for string.
Reconstructs a container of known type from JSON.
Help text that can be queried interactively: a one-liner that can be included in a menu.
Synonym for apply
.
Name of the concrete Factory
as a string; used to label the container type in JSON.
Use org.dianahep.histogrammar.Bagging in Scala pattern-matching.
Use org.dianahep.histogrammar.Bagged in Scala pattern-matching.
Accumulate raw numbers, vectors of numbers, or strings, with identical values merged.
A bag is the appropriate data type for scatter plots: a container that collects raw values, maintaining multiplicity but not order. (A "bag" is also known as a "multiset.") Conceptually, it is a mapping from distinct raw values to the number of observations: when two instances of the same raw value are observed, one key is stored and their weights add.
Although the user-defined function may return scalar numbers, fixed-dimension vectors of numbers, or categorical strings, it may not mix range types. For the purposes of Label and Index (which can only collect aggregators of a single type), bags with different ranges are different types.
Factory produces mutable org.dianahep.histogrammar.Bagging and immutable org.dianahep.histogrammar.Bagged objects.