public class CountVectorizer extends Transformer implements HasNumberOfFeatures
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
CountVectorizer(String module,
String name) |
| Modifier and Type | Method and Description |
|---|---|
org.dmg.pmml.Apply |
encodeApply(String function,
org.jpmml.converter.Feature feature,
int index,
String term) |
org.dmg.pmml.DefineFunction |
encodeDefineFunction() |
List<org.jpmml.converter.Feature> |
encodeFeatures(List<org.jpmml.converter.Feature> features,
SkLearnEncoder encoder) |
String |
functionName() |
String |
getAnalyzer() |
Boolean |
getBinary() |
org.dmg.pmml.DataType |
getDataType() |
Boolean |
getLowercase() |
Object[] |
getNGramRange() |
int |
getNumberOfFeatures() |
org.dmg.pmml.OpType |
getOpType() |
Object |
getPreprocessor() |
List<String> |
getStopWords() |
String |
getStripAccents() |
Splitter |
getTokenizer() |
String |
getTokenPattern() |
Map<String,?> |
getVocabulary() |
getDTypeget, getArray, getArray, getArrayShape, getArrayShape, getList, getList, getScalar, getTupleListclear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringpublic org.dmg.pmml.OpType getOpType()
getOpType in class Transformerpublic org.dmg.pmml.DataType getDataType()
getDataType in class Transformerpublic int getNumberOfFeatures()
getNumberOfFeatures in interface HasNumberOfFeaturespublic List<org.jpmml.converter.Feature> encodeFeatures(List<org.jpmml.converter.Feature> features, SkLearnEncoder encoder)
encodeFeatures in class Transformerpublic org.dmg.pmml.DefineFunction encodeDefineFunction()
public org.dmg.pmml.Apply encodeApply(String function, org.jpmml.converter.Feature feature, int index, String term)
public String functionName()
public String getAnalyzer()
public Boolean getBinary()
public Boolean getLowercase()
public Object[] getNGramRange()
public Object getPreprocessor()
public String getStripAccents()
public Splitter getTokenizer()
public String getTokenPattern()
Copyright © 2018. All rights reserved.