Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ivan-bocharov/naive

Naive Bayes Classifier implementation in Python
https://github.com/ivan-bocharov/naive

Last synced: 1 day ago
JSON representation

Naive Bayes Classifier implementation in Python

Awesome Lists containing this project

README

        

###Some experiments with Naive Bayes classifier implemented in Python.

In order to install all the requirements, run:
```
pip install -r requirements.txt
```
from the root folder of the repository.

####Usage example:
```
python main.py -c 5 -std 5.0 --plot --logging
```

####All the command line arguments:

**-c** Classes number, integer

**-s** Samples number, integer

**-f** Features number, integer

**-box** The box of centers of classes, string (a list of numbers, separated with spaces. Example: 1 2 3 4)

**-std** Standard deviation of class elements distribution, floating point number

**-a** Averaging method, string (possible variants are micro, macro and binary)

**--logging** Logging enabling

**--plot** Plotting enabling

Help is accessible via -h (or --help) argument.