The weights expressions must be defined in the python configuration,
through the sample_weights dictionnary. The key is an identifier, and
the value the expression of the weight.
In the sample json, one can use one of the key defined in the python
configuration for the new sample-weight option. The weight evaluated
from the expression will be used to scale all the histograms. If set to
none or not specified, a default weight of 1 is applied.
The weights expressions must be defined in the python configuration, through the
sample_weights
dictionnary. The key is an identifier, and the value the expression of the weight.In the sample json, one can use one of the key defined in the python configuration for the new
sample-weight
option. The weight evaluated from the expression will be used to scale all the histograms. If set tonone
or not specified, a default weight of 1 is applied.Example:
In python, one can do
In the sample json, you can apply a given sample weight using the
sample-weight
option. It can be eithercluster_1
, orcluster_2
.