public class CountVectorizer extends Transformer implements HasNumberOfFeatures
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>UNKNOWN| 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() |
numpy.DType |
getDType() |
Boolean |
getLowercase() |
Object[] |
getNGramRange() |
int |
getNumberOfFeatures() |
org.dmg.pmml.OpType |
getOpType() |
Object |
getPreprocessor() |
List<String> |
getStopWords() |
String |
getStripAccents() |
Splitter |
getTokenizer() |
Map<String,?> |
getVocabulary() |
getDType, updateAndEncodeFeatures, updateDataField, updateFeaturesget, getArray, getArray, getArray, getArrayShape, getArrayShape, getBoolean, getBooleanArray, getDict, getInteger, getIntegerArray, getList, getList, getListLike, getListLike, getNumber, getNumberArray, getObject, getOptional, getOptionalBoolean, getOptionalObject, getOptionalScalar, getOptionalString, getPythonModule, getPythonName, getPythonObject, getScalar, getString, getTuple, 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 int getNumberOfFeatures()
getNumberOfFeatures in interface HasNumberOfFeaturespublic org.dmg.pmml.OpType getOpType()
getOpType in interface HasTypegetOpType in class Transformerpublic org.dmg.pmml.DataType getDataType()
getDataType in interface HasTypegetDataType in class Transformerpublic 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 numpy.DType getDType()
public Boolean getLowercase()
public Object[] getNGramRange()
public Object getPreprocessor()
public String getStripAccents()
public Splitter getTokenizer()
Copyright © 2020. All rights reserved.