| Package | Description |
|---|---|
| com.hankcs.hanlp.classification.classifiers | |
| com.hankcs.hanlp.classification.corpus | |
| com.hankcs.hanlp.classification.models |
| Modifier and Type | Method and Description |
|---|---|
AbstractModel |
NaiveBayesClassifier.getModel() |
AbstractModel |
IClassifier.getModel()
获取训练后的模型,可用于序列化保存或预测.
|
| Constructor and Description |
|---|
AbstractDataSet(AbstractModel model)
构造测试集
|
FileDataSet(AbstractModel model) |
FileDataSet(AbstractModel model,
File cache) |
MemoryDataSet(AbstractModel model) |
| Modifier and Type | Class and Description |
|---|---|
class |
NaiveBayesModel
储存学习过程中的数据
|
Copyright © 2014–2021 码农场. All rights reserved.