Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ivan-bocharov/naive
- Owner: ivan-bocharov
- License: mit
- Created: 2015-04-15T18:45:36.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-11T20:28:33.000Z (about 9 years ago)
- Last Synced: 2023-08-03T01:23:51.598Z (over 1 year ago)
- Language: Python
- Size: 172 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.