Uses of Class opennlp.tools.ml.libsvm.doccat.SvmDoccatModel (Apache OpenNLP :: Core :: ML :: LibSVM 3.0.0-M4 API)
Description: use: package: opennlp.tools.ml.libsvm.doccat, class: SvmDoccatModel

# Uses of Class
opennlp.tools.ml.libsvm.doccat.SvmDoccatModel

- ## Uses of SvmDoccatModel in opennlp.tools.ml.libsvm.doccat

  Methods in opennlp.tools.ml.libsvm.doccat that return SvmDoccatModel
  Modifier and Type
  Method
  Description
  `static SvmDoccatModel`
  SvmDoccatModel.`deserialize(InputStream in)`
  Deserializes a `SvmDoccatModel` from the given `InputStream` using `default` resource limits.
  `static SvmDoccatModel`
  SvmDoccatModel.`deserialize(InputStream in, SvmDoccatModel.DeserializationLimits limits)`
  Deserializes a `SvmDoccatModel` from the given `InputStream` using the supplied `resource limits`.
  `static SvmDoccatModel`
  DocumentCategorizerSVM.`train(String lang, opennlp.tools.util.ObjectStream<opennlp.tools.doccat.DocumentSample> samples, opennlp.tools.doccat.FeatureGenerator... featureGenerators)`
  Trains an SVM-based document categorization model using default configuration (TF-IDF weighting, no feature selection, scaling to [0, 1]).
  `static SvmDoccatModel`
  DocumentCategorizerSVM.`train(String lang, opennlp.tools.util.ObjectStream<opennlp.tools.doccat.DocumentSample> samples, SvmDoccatConfiguration config, opennlp.tools.doccat.FeatureGenerator... featureGenerators)`
  Trains an SVM-based document categorization model with a custom configuration.
  Constructors in opennlp.tools.ml.libsvm.doccat with parameters of type SvmDoccatModel
  Modifier
  Constructor
  Description
  ``
  `DocumentCategorizerSVM(SvmDoccatModel model, opennlp.tools.doccat.FeatureGenerator... featureGenerators)`
  Instantiates a `DocumentCategorizerSVM` with a trained model and feature generators.