public abstract class NaiveBayesModelWriter extends AbstractModelWriter
Constructor and Description |
---|
NaiveBayesModelWriter(AbstractModel model) |
Modifier and Type | Method and Description |
---|---|
void |
persist()
Writes the model to disk, using the
writeX() methods
provided by extending classes. |
close, writeDouble, writeInt, writeUTF
public NaiveBayesModelWriter(AbstractModel model)
public void persist() throws IOException
writeX()
methods
provided by extending classes.
If you wish to create a NaiveBayesModelWriter which uses a different
structure, it will be necessary to override the persist method in
addition to implementing the writeX()
methods.
persist
in class AbstractModelWriter
IOException
Copyright © 2018 The Apache Software Foundation. All rights reserved.