public class EstimatorProxy extends Estimator implements HasClasses, HasEstimator<Estimator>, HasFeatureNamesIn, Proxy
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>FIELD_APPLY, FIELD_DECISION_FUNCTION, FIELD_PREDICTUNKNOWNUNKNOWN| Constructor and Description |
|---|
EstimatorProxy() |
EstimatorProxy(String module,
String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkFeatures(List<? extends org.jpmml.converter.Feature> features) |
void |
checkLabel(org.jpmml.converter.Label label) |
org.jpmml.converter.Label |
encodeLabel(List<String> names,
SkLearnEncoder encoder) |
org.dmg.pmml.Model |
encodeModel(org.jpmml.converter.Schema schema) |
static String |
formatProxyExample(Estimator estimator) |
String |
getAlgorithmName() |
List<?> |
getClasses() |
org.dmg.pmml.DataType |
getDataType() |
Estimator |
getEstimator() |
List<String> |
getFeatureNamesIn() |
org.dmg.pmml.MiningFunction |
getMiningFunction() |
int |
getNumberOfFeatures() |
int |
getNumberOfOutputs() |
org.dmg.pmml.OpType |
getOpType() |
boolean |
isSupervised() |
addFeatureImportances, createApplyField, createMultiApplyField, createPredictProbaFields, encode, encode, encodeApplyOutput, encodeMultiApplyOutput, extractArguments, getFeatureImportances, getOption, getPMMLFeatureImportances, getPMMLOptions, getPMMLSegmentId, hasFeatureImportances, putOption, putOptions, setPMMLFeatureImportances, setPMMLOptions, setPMMLSegmentIdcheckVersion, getPMMLName, getSkLearnFeatureNamesIn, getSkLearnVersion, setPMMLNameget, 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, setClassNameclear, 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 List<String> getFeatureNamesIn()
getFeatureNamesIn in interface HasFeatureNamesInpublic int getNumberOfFeatures()
getNumberOfFeatures in interface HasNumberOfFeaturesgetNumberOfFeatures in class Estimatorpublic int getNumberOfOutputs()
getNumberOfOutputs in interface HasNumberOfOutputsgetNumberOfOutputs in class Estimatorpublic org.dmg.pmml.OpType getOpType()
public org.dmg.pmml.DataType getDataType()
getDataType in interface HasTypegetDataType in class Estimatorpublic org.dmg.pmml.MiningFunction getMiningFunction()
getMiningFunction in class Estimatorpublic boolean isSupervised()
isSupervised in class Estimatorpublic String getAlgorithmName()
getAlgorithmName in class Estimatorpublic List<?> getClasses()
getClasses in interface HasClassespublic org.jpmml.converter.Label encodeLabel(List<String> names, SkLearnEncoder encoder)
encodeLabel in class Estimatorpublic org.dmg.pmml.Model encodeModel(org.jpmml.converter.Schema schema)
encodeModel in class Estimatorpublic void checkLabel(org.jpmml.converter.Label label)
checkLabel in class Estimatorpublic void checkFeatures(List<? extends org.jpmml.converter.Feature> features)
checkFeatures in class Estimatorpublic Estimator getEstimator()
getEstimator in interface HasEstimator<Estimator>PythonObject.get(String, Class)Copyright © 2023. All rights reserved.