An id with which to identify this model
features whose values are fed to the distribution. These features are functions of the input.
A distribution parametrized by a sequence of probabilities, that takes a sequence of values and produces a hash that is used as the randomness with which to choose one of the labels.
the values that can returned by this model (with the probabilities described by the distribution)
Whether to allow missing data defaults to false). When this is set to false and missing data ( scala.None) is produced by one of the features, the model will result in an error.
A distribution parametrized by a sequence of probabilities, that takes a sequence of values and produces a hash that is used as the randomness with which to choose one of the labels.
features whose values are fed to the distribution.
features whose values are fed to the distribution. These features are functions of the input.
the values that can returned by this model (with the probabilities described by the distribution)
Whether to allow missing data defaults to false).
Whether to allow missing data defaults to false). When this is set to false and missing data ( scala.None) is produced by one of the features, the model will result in an error.
An id with which to identify this model
An id with which to identify this model
"Randomly" but idempotently pick a label based on the probabilities in the distribution.
"Randomly" but idempotently pick a label based on the probabilities in the distribution.
input from which features are extracted. These features are then hashed to produce a value.
a positive value i if node i should be selected. May return a negative value in which case processErrorAt should be called with the value returned.
A model representing a categorical distribution. This will return values with the probabilities prescribed by the distribution parameter. For information on categorical distributions, check out Wikipedia's page.
model input type
model output type
An id with which to identify this model
features whose values are fed to the distribution. These features are functions of the input.
A distribution parametrized by a sequence of probabilities, that takes a sequence of values and produces a hash that is used as the randomness with which to choose one of the labels.
the values that can returned by this model (with the probabilities described by the distribution)
Whether to allow missing data defaults to false). When this is set to false and missing data ( scala.None) is produced by one of the features, the model will result in an error.