public final class ModelSerializer extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T extends org.apache.hadoop.io.Writable> |
readBinary(InputStream in,
Class<T> clazz) |
static void |
writeBinary(String path,
AdaptiveLogisticRegression model) |
static void |
writeBinary(String path,
CrossFoldLearner model) |
static void |
writeBinary(String path,
OnlineLogisticRegression model) |
public static void writeBinary(String path, CrossFoldLearner model) throws IOException
IOExceptionpublic static void writeBinary(String path, OnlineLogisticRegression model) throws IOException
IOExceptionpublic static void writeBinary(String path, AdaptiveLogisticRegression model) throws IOException
IOExceptionpublic static <T extends org.apache.hadoop.io.Writable> T readBinary(InputStream in, Class<T> clazz) throws IOException
IOExceptionCopyright © 2008–2017 The Apache Software Foundation. All rights reserved.