public class DummyClassifier extends Classifier implements HasPriorProbability
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>FIELD_PROBABILITYFIELD_DECISION_FUNCTION, FIELD_PREDICTUNKNOWN| Constructor and Description |
|---|
DummyClassifier(String module,
String name) |
| Modifier and Type | Method and Description |
|---|---|
org.dmg.pmml.tree.TreeModel |
encodeModel(org.jpmml.converter.Schema schema) |
List<? extends Number> |
getClassPrior() |
Object |
getConstant() |
Number |
getPriorProbability(int index) |
String |
getStrategy() |
getClasses, getMiningFunction, hasProbabilityDistributionaddFeatureImportances, encode, getDataType, getFeatureImportances, getNumberOfFeatures, getOption, getOpType, getPMMLFeatureImportances, getPMMLOptions, getSkLearnVersion, hasFeatureImportances, isSupervised, setPMMLFeatureImportances, setPMMLOptionscreateFieldName, createFieldName, createFieldName, getPMMLName, setPMMLName, toArrayget, 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 Number getPriorProbability(int index)
getPriorProbability in interface HasPriorProbabilitypublic org.dmg.pmml.tree.TreeModel encodeModel(org.jpmml.converter.Schema schema)
encodeModel in class Estimatorpublic Object getConstant()
public String getStrategy()
Copyright © 2021. All rights reserved.