Package xgboost.sklearn
Class XGBRegressor
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.Estimator
sklearn.Regressor
xgboost.sklearn.XGBRegressor
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,,Object> org.jpmml.converter.HasNativeConfiguration,org.jpmml.converter.HasOptions,org.jpmml.xgboost.HasXGBoostOptions,HasNumberOfFeatures,HasType,HasBooster
public class XGBRegressor
extends Regressor
implements HasBooster, org.jpmml.xgboost.HasXGBoostOptions
- 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.Estimator
FIELD_APPLY, FIELD_DECISION_FUNCTION, FIELD_PREDICTFields inherited from interface sklearn.HasNumberOfFeatures
UNKNOWNFields inherited from interface org.jpmml.xgboost.HasXGBoostOptions
OPTION_BYTE_ORDER, OPTION_CHARSET, OPTION_COMPACT, OPTION_NAN_AS_MISSING, OPTION_NTREE_LIMIT, OPTION_NUMERIC, OPTION_PRUNE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckLabel(org.jpmml.converter.Label label) org.dmg.pmml.mining.MiningModelencodeModel(org.jpmml.converter.Schema schema) org.dmg.pmml.DataTypeintMethods inherited from class sklearn.Regressor
getMiningFunctionMethods inherited from class sklearn.Estimator
addFeatureImportances, checkFeatures, encode, getFeatureImportances, getOption, getOpType, getPMMLFeatureImportances, getPMMLOptions, getSkLearnVersion, hasFeatureImportances, isSupervised, putOption, putOptions, setPMMLFeatureImportances, setPMMLOptionsMethods inherited from class sklearn.Step
createFieldName, createFieldName, createFieldName, getPMMLName, setPMMLName, toArrayMethods inherited from class org.jpmml.python.PythonObject
get, 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, getTupleListMethods inherited from class net.razorvine.pickle.objects.ClassDict
__setstate__, getClassNameMethods 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, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jpmml.xgboost.HasXGBoostOptions
getNativeConfiguration
-
Constructor Details
-
XGBRegressor
-
-
Method Details
-
getNumberOfFeatures
public int getNumberOfFeatures()- Specified by:
getNumberOfFeaturesin interfaceHasNumberOfFeatures- Overrides:
getNumberOfFeaturesin classEstimator
-
getDataType
public org.dmg.pmml.DataType getDataType()- Specified by:
getDataTypein interfaceHasType- Overrides:
getDataTypein classEstimator
-
checkLabel
public void checkLabel(org.jpmml.converter.Label label) - Overrides:
checkLabelin classEstimator
-
encodeModel
public org.dmg.pmml.mining.MiningModel encodeModel(org.jpmml.converter.Schema schema) - Specified by:
encodeModelin classEstimator
-
getBooster
- Specified by:
getBoosterin interfaceHasBooster
-