public class XGBoostUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
BINF_HEADER |
static String |
SERIALIZATION_HEADER |
| Modifier and Type | Method and Description |
|---|---|
static FeatureMap |
loadFeatureMap(InputStream is) |
static <DIS extends InputStream & DataInput> |
loadLearner(DIS is,
String charset,
String jsonPath) |
static Learner |
loadLearner(InputStream is) |
static Learner |
loadLearner(InputStream is,
ByteOrder byteOrder,
String charset) |
static Learner |
loadLearner(InputStream is,
ByteOrder byteOrder,
String charset,
String jsonPath) |
public static final String SERIALIZATION_HEADER
public static final String BINF_HEADER
public static Learner loadLearner(InputStream is) throws IOException
IOExceptionpublic static Learner loadLearner(InputStream is, ByteOrder byteOrder, String charset) throws IOException
IOExceptionpublic static Learner loadLearner(InputStream is, ByteOrder byteOrder, String charset, String jsonPath) throws IOException
IOExceptionpublic static <DIS extends InputStream & DataInput> Learner loadLearner(DIS is, String charset, String jsonPath) throws IOException
IOExceptionpublic static FeatureMap loadFeatureMap(InputStream is) throws IOException
IOExceptionCopyright © 2024. All rights reserved.