https://github.com/charliermarsh/java-ml
Java implementations of several Machine Learning classification algorithms.
https://github.com/charliermarsh/java-ml
Last synced: 3 months ago
JSON representation
Java implementations of several Machine Learning classification algorithms.
- Host: GitHub
- URL: https://github.com/charliermarsh/java-ml
- Owner: charliermarsh
- Created: 2012-12-06T16:12:46.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2021-06-23T15:37:57.000Z (over 4 years ago)
- Last Synced: 2025-08-03T23:52:38.647Z (8 months ago)
- Language: Java
- Homepage:
- Size: 910 KB
- Stars: 55
- Watchers: 10
- Forks: 36
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-java - JavaML
README
A series of standard Machine Learning (classification) algorithms implemented in Java. The repository includes:
- AdaBoost
- Decision Trees
- Decision Forests
- kNN
- Perceptron Learners
- Neural Networks
Each of these implementations satisfy the Classifier interface.
Additionally, BaselineClassifier.java provides a classifier that simply predicts every example to be the most frequently occuring classification in the data set, as a point of comparison for the other implementations.
## Data Sets
DataSet.java allows users to read data from a data set as specified by the 'example' files in the data/ directory. Once parsed, users can easily extract information about the target data set using the DataSet class.
TestHarness.java can be used to test any Classifier on any DataSet through the use of a holdout set.
## Contact
For any questions, please reach out to David Dohan (ddohan@princeton.edu) or Charlie Marsh (crmarsh@princeton.edu).