Skip to content

Add Classifier based on Naive Bayes #121

@yuripourre

Description

@yuripourre

Would be great to have a Classifier based on Naive Bayes.

  • Add a new method to Classifier to return a Classification (category+accuracy) Classification classifyWithDetails(T feature);
  • Rename Bayes's classifier to ProbabilityClassifier
  • Delete IFeatureProbability
  • Update current Classifiers to implement the new method. (When accuracy is unknown, it should return 1/n, n = number of categories).
  • Maybe add a method getCategories()

Luckily this library already has an interface compatible with Keel's classifiers so should be easy to merge.

MIT License

https://github.com/yuripourre-forks/Java-Naive-Bayes-Classifier/blob/master/src/main/java/de/daslaboratorium/machinelearning/classifier/Classifier.java

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions