Class NaiveBayesModelWriter

    • Constructor Detail

      • NaiveBayesModelWriter

        public NaiveBayesModelWriter​(AbstractModel model)
    • Method Detail

      • persist

        public void persist()
                     throws IOException
        Writes the model to disk, using the 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.

        Specified by:
        persist in class AbstractModelWriter
        Throws:
        IOException