Package sklearn.neural_network
Class MLPRegressor
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<java.lang.String,java.lang.Object>
-
- net.razorvine.pickle.objects.ClassDict
-
- org.jpmml.python.PythonObject
-
- sklearn.Step
-
- sklearn.Estimator
-
- sklearn.Regressor
-
- sklearn.SkLearnRegressor
-
- sklearn.neural_network.MLPRegressor
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.util.Map<java.lang.String,java.lang.Object>,org.jpmml.converter.HasOptions,Encodable,HasSkLearnOptions,HasFeatureNamesIn,HasNumberOfFeatures,HasNumberOfOutputs,HasType,HasPMMLOptions<Estimator>,HasPMMLSegmentId<Estimator>
public class MLPRegressor extends SkLearnRegressor
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringACTIVATION_IDENTITYstatic java.lang.StringACTIVATION_LOGISTICstatic java.lang.StringACTIVATION_RELUstatic java.lang.StringACTIVATION_TANHstatic java.util.List<java.lang.String>ENUM_ACTIVATION-
Fields inherited from class sklearn.Estimator
FIELD_APPLY, FIELD_DECISION_FUNCTION, FIELD_PREDICT
-
Fields inherited from interface sklearn.HasNumberOfFeatures
UNKNOWN
-
Fields inherited from interface sklearn.HasNumberOfOutputs
UNKNOWN
-
-
Constructor Summary
Constructors Constructor Description MLPRegressor(java.lang.String module, java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.dmg.pmml.neural_network.NeuralNetworkencodeModel(org.jpmml.converter.Schema schema)java.lang.StringgetActivation()java.util.List<org.jpmml.python.HasArray>getCoefs()java.util.List<org.jpmml.python.HasArray>getIntercepts()intgetNumberOfFeatures()-
Methods inherited from class sklearn.SkLearnRegressor
encodePMML
-
Methods inherited from class sklearn.Regressor
encodeLabel, getMiningFunction, getNumberOfOutputs, isSupervised
-
Methods inherited from class sklearn.Estimator
addFeatureImportances, checkFeatures, checkLabel, configureModel, configureSchema, createApplyField, createMultiApplyField, createPredictProbaFields, encode, encode, encodeApplyOutput, encodeMultiApplyOutput, getAlgorithmName, getDataType, getFeatureImportances, getOption, getOpType, getPMMLCustomizations, getPMMLFeatureImportances, getPMMLOptions, getPMMLSegmentId, hasFeatureImportances, putOption, putOptions, setPMMLCustomizations, setPMMLFeatureImportances, setPMMLOptions, setPMMLSegmentId
-
Methods inherited from class sklearn.Step
checkSkLearnVersion, checkVersion, getFeatureNamesIn, getPMMLName, getSkLearnVersion, setPMMLName
-
Methods inherited from class org.jpmml.python.PythonObject
containsKey, delattr, get, get, getArray, getArray, getArray, getArrayList, getArrayList, getArrayShape, getArrayShape, getattr, getattr, getBoolean, getBooleanArray, getClassName, getDict, getEnum, getEnumList, getIdentifiable, getInteger, getIntegerArray, getList, getList, getListLike, getListLike, getNumber, getNumberArray, getObject, getObjectArray, getObjectList, getOptional, getOptionalBoolean, getOptionalBoolean, getOptionalDict, getOptionalEnum, getOptionalIdentifiable, getOptionalInteger, getOptionalNumber, getOptionalObject, getOptionalScalar, getOptionalString, getOptionalTuple, getPythonModule, getPythonName, getScalar, getString, getStringArray, getStringList, getTuple, getTupleList, hasattr, put, putAll, remove, setattr, setClassName, update
-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsValue, entrySet, forEach, getOrDefault, isEmpty, keySet, merge, putIfAbsent, remove, replace, replace, replaceAll, size, values
-
Methods inherited from interface sklearn.HasFeatureNamesIn
getFeatureNamesIn
-
-
-
-
Field Detail
-
ACTIVATION_IDENTITY
public static final java.lang.String ACTIVATION_IDENTITY
- See Also:
- Constant Field Values
-
ACTIVATION_LOGISTIC
public static final java.lang.String ACTIVATION_LOGISTIC
- See Also:
- Constant Field Values
-
ACTIVATION_RELU
public static final java.lang.String ACTIVATION_RELU
- See Also:
- Constant Field Values
-
ACTIVATION_TANH
public static final java.lang.String ACTIVATION_TANH
- See Also:
- Constant Field Values
-
ENUM_ACTIVATION
public static final java.util.List<java.lang.String> ENUM_ACTIVATION
-
-
Method Detail
-
getNumberOfFeatures
public int getNumberOfFeatures()
- Specified by:
getNumberOfFeaturesin interfaceHasNumberOfFeatures- Overrides:
getNumberOfFeaturesin classEstimator
-
encodeModel
public org.dmg.pmml.neural_network.NeuralNetwork encodeModel(org.jpmml.converter.Schema schema)
- Specified by:
encodeModelin classEstimator
-
getActivation
public java.lang.String getActivation()
-
getCoefs
public java.util.List<org.jpmml.python.HasArray> getCoefs()
-
getIntercepts
public java.util.List<org.jpmml.python.HasArray> getIntercepts()
-
-