@FunctionalInterface public interface XGBoostLoader extends ModelLoader<XGBoostModel>
ModelLoader.ThrowableSupplier<M extends Model<?>>| Modifier and Type | Method and Description |
|---|---|
static XGBoostLoader |
create(Model.Id id,
String modelUri)
Returns a XGBoost model loader given the serialized model stored in the model URI.
|
static XGBoostLoader |
create(ModelLoader.ThrowableSupplier<XGBoostModel> supplier)
Returns a XGBoost model loader given the serialized model stored in the model URI.
|
static XGBoostLoader |
create(String modelUri)
Returns a XGBoost model loader given the serialized model stored in the model URI.
|
get, get, lift, withstatic XGBoostLoader create(String modelUri)
modelUri - should point to serialized XGBoost model file, can be a URI to a local
filesystem, resource, GCS etc.static XGBoostLoader create(Model.Id id, String modelUri)
id - model id @{link Model.Id}.modelUri - should point to serialized XGBoost model file, can be a URI to a local
filesystem, resource, GCS etc.static XGBoostLoader create(ModelLoader.ThrowableSupplier<XGBoostModel> supplier)
supplier - XGBoostModel supplier.Copyright © 2018. All rights reserved.