Package sklearn.feature_extraction.text
Class TfidfVectorizer
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<String,Object>
net.razorvine.pickle.objects.ClassDict
org.jpmml.python.PythonObject
sklearn.Step
sklearn.Transformer
sklearn.feature_extraction.text.CountVectorizer
sklearn.feature_extraction.text.TfidfVectorizer
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,,Object> HasNumberOfFeatures,HasType
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Field Summary
Fields inherited from class sklearn.feature_extraction.text.CountVectorizer
TOKEN_PATTERNFields inherited from interface sklearn.HasNumberOfFeatures
UNKNOWN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.dmg.pmml.ApplyencodeApply(org.dmg.pmml.DefineFunction defineFunction, org.jpmml.converter.Feature feature, int index, String term) org.dmg.pmml.DefineFunctionencodeDefineFunction(org.jpmml.converter.Feature feature, SkLearnEncoder encoder) List<org.jpmml.converter.Feature>encodeFeatures(List<org.jpmml.converter.Feature> features, SkLearnEncoder encoder) org.jpmml.python.TypeInfogetDType()Methods inherited from class sklearn.feature_extraction.text.CountVectorizer
getAnalyzer, getBinary, getDataType, getLowercase, getNGramRange, getNumberOfFeatures, getOpType, getPreprocessor, getStopWords, getStripAccents, getTokenizer, getTokenPattern, getVocabularyMethods inherited from class sklearn.Transformer
checkFeatures, encode, getDType, getOptionalDType, updateDataField, updateFeaturesMethods inherited from class sklearn.Step
createFieldName, createFieldName, createFieldName, getPMMLName, setPMMLNameMethods inherited from class org.jpmml.python.PythonObject
get, getArray, getArray, getArray, getArrayShape, getArrayShape, getBoolean, getBooleanArray, getClassName, getDict, getInteger, getIntegerArray, getList, getList, getListLike, getListLike, getNumber, getNumberArray, getObject, getOptional, getOptionalBoolean, getOptionalObject, getOptionalScalar, getOptionalString, getPythonModule, getPythonName, getPythonObject, getScalar, getString, getTuple, getTupleList, setClassNameMethods inherited from class net.razorvine.pickle.objects.ClassDict
__setstate__Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Constructor Details
-
TfidfVectorizer
-
-
Method Details
-
getDType
public org.jpmml.python.TypeInfo getDType()- Overrides:
getDTypein classCountVectorizer
-
encodeFeatures
public List<org.jpmml.converter.Feature> encodeFeatures(List<org.jpmml.converter.Feature> features, SkLearnEncoder encoder) - Overrides:
encodeFeaturesin classCountVectorizer
-
encodeDefineFunction
public org.dmg.pmml.DefineFunction encodeDefineFunction(org.jpmml.converter.Feature feature, SkLearnEncoder encoder) - Overrides:
encodeDefineFunctionin classCountVectorizer
-
encodeApply
public org.dmg.pmml.Apply encodeApply(org.dmg.pmml.DefineFunction defineFunction, org.jpmml.converter.Feature feature, int index, String term) - Overrides:
encodeApplyin classCountVectorizer
-
functionName
- Overrides:
functionNamein classCountVectorizer
-
getTransformer
-