public abstract class PerceptronModelWriter extends AbstractModelWriter
Constructor and Description |
---|
PerceptronModelWriter(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 PerceptronModelWriter(AbstractModel model)
public void persist() throws IOException
writeX()
methods
provided by extending classes.
If you wish to create a PerceptronModelWriter 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 © 2020 The Apache Software Foundation. All rights reserved.