Class AbstractNaiveBayesClassifierMapImpl

    • Constructor Detail

      • AbstractNaiveBayesClassifierMapImpl

        public AbstractNaiveBayesClassifierMapImpl​(String classifierName,
                                                   String[] categories)
        Create in-memory classifier using ConcurrentHashMap
        Parameters:
        classifierName - The classifier name
        categories - The classification categories
      • AbstractNaiveBayesClassifierMapImpl

        public AbstractNaiveBayesClassifierMapImpl​(String classifierName,
                                                   String[] categories,
                                                   String rootPathWritable)
        Create persistent classifier using org.mapdb.HTreeMap
        Parameters:
        classifierName - The classifier name
        categories - The classification categories
        rootPathWritable - A writable directory for org.mapdb.HTreeMap storage