Uses of Class
org.tribuo.common.xgboost.XGBoostExternalModel
Package
Description
Provides abstract classes for interfacing with XGBoost abstracting away all the
Output
dependent parts.-
Uses of XGBoostExternalModel in org.tribuo.common.xgboost
Modifier and TypeMethodDescriptionprotected XGBoostExternalModel<T>
XGBoostExternalModel.copy
(String newName, ModelProvenance newProvenance) static <T extends Output<T>>
XGBoostExternalModel<T>XGBoostExternalModel.createXGBoostModel
(OutputFactory<T> factory, Map<String, Integer> featureMapping, Map<T, Integer> outputMapping, XGBoostOutputConverter<T> outputFunc, String path) Creates anXGBoostExternalModel
from the supplied model on disk.static <T extends Output<T>>
XGBoostExternalModel<T>XGBoostExternalModel.createXGBoostModel
(OutputFactory<T> factory, Map<String, Integer> featureMapping, Map<T, Integer> outputMapping, XGBoostOutputConverter<T> outputFunc, Path path) Creates anXGBoostExternalModel
from the supplied model on disk.static <T extends Output<T>>
XGBoostExternalModel<T>XGBoostExternalModel.createXGBoostModel
(OutputFactory<T> factory, Map<String, Integer> featureMapping, Map<T, Integer> outputMapping, XGBoostOutputConverter<T> outputFunc, ml.dmlc.xgboost4j.java.Booster model, URL provenanceLocation) Deprecated.As the URL argument must always be valid.static <T extends Output<T>>
XGBoostExternalModel<T>XGBoostExternalModel.createXGBoostModel
(OutputFactory<T> factory, Map<String, Integer> featureMapping, Map<T, Integer> outputMapping, XGBoostOutputConverter<T> outputFunc, ml.dmlc.xgboost4j.java.Booster model, Map<String, com.oracle.labs.mlrg.olcut.provenance.Provenance> instanceProvenance) Creates anXGBoostExternalModel
from the supplied in-memory XGBoostBooster
.static XGBoostExternalModel<?>
XGBoostExternalModel.deserializeFromProto
(int version, String className, com.google.protobuf.Any message) Deserialization factory.