public abstract class NaiveBayesModelWriter extends AbstractModelWriter
|Constructor and Description|
|Modifier and Type||Method and Description|
Writes the model to disk, using the
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
Copyright © 2017 The Apache Software Foundation. All rights reserved.