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() |
Map<String,?> |
getPMMLOptions() |
Object |
getPMMLSegmentId() |
boolean |
hasProbabilityDistribution() |
boolean |
isSupervised() |
EstimatorProxy |
setPMMLOptions(Map<String,?> pmmlOptions) |
EstimatorProxy |
setPMMLSegmentId(Object pmmlSegmentId) |
addFeatureImportances, createApplyField, createMultiApplyField, createPredictProbaFields, encode, encode, encodeApplyOutput, encodeMultiApplyOutput, extractArguments, getFeatureImportances, getOption, getPMMLCustomizations, getPMMLFeatureImportances, hasFeatureImportances, putOption, putOptions, setPMMLCustomizations, setPMMLFeatureImportancescheckSkLearnVersion, checkVersion, getPMMLName, getSkLearnVersion, setPMMLNameget, getArray, getArray, getArray, getArrayShape, getArrayShape, getBoolean, getBooleanArray, getClassName, getDict, getInteger, getIntegerArray, getList, getList, getListLike, getListLike, getNumber, getNumberArray, getObject, getOptional, getOptionalBoolean, getOptionalBoolean, getOptionalInteger, getOptionalNumber, getOptionalObject, getOptionalScalar, getOptionalString, getPythonModule, getPythonName, getPythonObject, getScalar, getString, getStringArray, 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 org.dmg.pmml.MiningFunction getMiningFunction()
getMiningFunction in class Estimatorpublic boolean isSupervised()
isSupervised in class Estimatorpublic org.dmg.pmml.OpType getOpType()
public org.dmg.pmml.DataType getDataType()
getDataType in interface HasTypegetDataType in class Estimatorpublic List<String> getFeatureNamesIn()
getFeatureNamesIn in interface HasFeatureNamesIngetFeatureNamesIn in class Steppublic int getNumberOfFeatures()
getNumberOfFeatures in interface HasNumberOfFeaturesgetNumberOfFeatures in class Estimatorpublic int getNumberOfOutputs()
getNumberOfOutputs in interface HasNumberOfOutputsgetNumberOfOutputs in class Estimatorpublic List<?> getClasses()
getClasses in interface HasClassespublic boolean hasProbabilityDistribution()
hasProbabilityDistribution in interface HasClassespublic String getAlgorithmName()
getAlgorithmName in class Estimatorpublic 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)public Map<String,?> getPMMLOptions()
getPMMLOptions in interface HasPMMLOptions<Estimator>getPMMLOptions in class Estimatorpublic EstimatorProxy setPMMLOptions(Map<String,?> pmmlOptions)
setPMMLOptions in interface HasPMMLOptions<Estimator>setPMMLOptions in class Estimatorpublic Object getPMMLSegmentId()
getPMMLSegmentId in interface HasPMMLSegmentId<Estimator>getPMMLSegmentId in class Estimatorpublic EstimatorProxy setPMMLSegmentId(Object pmmlSegmentId)
setPMMLSegmentId in interface HasPMMLSegmentId<Estimator>setPMMLSegmentId in class EstimatorCopyright © 2024. All rights reserved.