Class NaiveBayesClassifierLevelDBImpl

    • Constructor Detail

      • NaiveBayesClassifierLevelDBImpl

        public NaiveBayesClassifierLevelDBImpl​(String classifierName,
                                               String[] categories,
                                               String rootPathWritable)
                                        throws PersistentClassifierException
        Create a persistent Naive Bayes Classifier using LevelDB, with default cache size
        Parameters:
        classifierName - The classifier name
        categories - The immutable classification categories
        rootPathWritable - The writable directory for LevelDB storage
        Throws:
        PersistentClassifierException - The persistence error and cause