Create a new LinearVectorClassifier, not yet trained.
Create a new LinearVectorClassifier, not yet trained.
Train (and return) an already-created (perhaps already partially-trained) LinearVectorClassifier.
Train (and return) an already-created (perhaps already partially-trained) LinearVectorClassifier.
Create, train and return a new LinearVectorClassifier
Create, train and return a new LinearVectorClassifier
Creates a trained naive Bayes classifier by counting feature occurrences, smoothed with pseudo-counts (m-Estimates). Note that contrary to tradition, this naive Bayes classifier does not include a "bias" weight P(class); it only includes the feature weights, P(feature|class). If you want a "bias" weight you must include in your data a feature that always has value 1.0.