Skip to content

Commit f522e53

Browse files
committed
First Commit..
0 parents  commit f522e53

File tree

4 files changed

+1222
-0
lines changed

4 files changed

+1222
-0
lines changed

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
## Data Science Algorithms - Java
2+
3+
Implementation of data science algorithms using java. This project consists of the following algorithms:
4+
5+
* Naive Bayes Classifier.
6+
7+
8+
### Data Sets
9+
* pima-indians-diabetes.data - Pima Indians Diabetes Database ( https://archive.ics.uci.edu/ml/machine-learning-databases/pima-indians-diabetes )
10+
11+
12+
### Getting Started
13+
14+
These instructions will get you a brief idea on setting up the environment and running on your local machine for development and testing purposes.
15+
16+
**Prerequisities**
17+
18+
- Java
19+
20+
21+
**Setup and running tests**
22+
23+
1. Run `javac` and `java -version` to check the installation
24+
25+
2. Execute the following commands from terminal to run the tests:
26+
27+
`javac NaiveBayesClassifier.java`
28+
`java NaiveBayesClassifier`

resource/input.csv

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
1,89,66,23,94,28.1,0.167,21,-1
2+
8,183,64,0,0,23.3,0.672,32,-1
3+
0,137,40,35,168,43.1,2.288,33,-1
4+
8,125,96,0,0,0.0,0.232,54,-1
5+
4,110,92,0,0,37.6,0.191,30,-1
6+
5,116,74,0,0,25.6,0.201,30,-1
7+
2,197,70,45,543,30.5,0.158,53,-1
8+
6,148,72,35,0,33.6,0.627,50,-1
9+
1,85,66,29,0,26.6,0.351,31,-1
10+
3,78,50,32,88,31.0,0.248,26,-1
11+
10,115,0,0,0,35.3,0.134,29,-1

0 commit comments

Comments
 (0)