A LabelEstimator estimator is an estimator which expects labeled data.
A LabelEstimator estimator is an estimator which expects labeled data.
Input labels.
A Transformer which can be called on new data.
The lambda parameter to use for the naive bayes model
Constructs a pipeline from a single label estimator and training data.
Constructs a pipeline from a single label estimator and training data.
Equivalent to Pipeline() andThen (estimator, data, labels)
The training data
The training labels
A LabelEstimator which learns a multinomial naive bayes model from training data. Outputs a Transformer that maps features to vectors containing the log-posterior-probabilities of the various classes according to the learned model.
The lambda parameter to use for the naive bayes model