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
IOException
public static void writeBinary(String path, OnlineLogisticRegression model) throws IOException
IOException
public static void writeBinary(String path, AdaptiveLogisticRegression model) throws IOException
IOException
public static <T extends org.apache.hadoop.io.Writable> T readBinary(InputStream in, Class<T> clazz) throws IOException
IOException
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.