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 |
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,Scalar> |
getVocabulary() |
createName, createName, getDType, nameclear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, 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 getAnalyzer()
public Boolean getBinary()
public Boolean getLowercase()
public Object[] getNGramRange()
public Object getPreprocessor()
public String getStripAccents()
public Splitter getTokenizer()
public String getTokenPattern()
Copyright © 2017. All Rights Reserved.