Skip to content

Dimanaux/naive-bayes-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

naive-bayes-python

Classifier of programming languages.

Full data set: data.csv.

Original data set is taken from kaggle.

Requirements: - Python 3

Some results (not so good, but authors think it is caused by get_features function simplicity):

<LANG>: <guessed right> of <total texts in LANG>

- C: 45437 of 79948
- C++: 96156 of 100516
- PAS fpc: 541 of 545
- PYTH: 11291 of 11550
- JAVA: 31674 of 31744
- C#: 2154 of 2263
- ADA: 8 of 392
- TCL: 1 of 16
- PERL: 276 of 299
- GO: 123 of 126
- SCALA: 71 of 93
- RUBY: 505 of 605
- BASH: 26 of 46
- HASK: 209 of 212
- PHP: 390 of 402
- NODEJS: 116 of 129
- LUA: 28 of 31
- JS: 8 of 21
- LISP sbcl: 32 of 35
- TEXT: 0 of 17
- CAML: 29 of 29
- LISP clisp: 13 of 30
- JAR: 0 of 36
- PYPY: 4 of 242
- BF: 0 of 4
- ICK: 0 of 4
- ICON: 0 of 1
- CLOJ: 0 of 6
- ASM: 0 of 43
- PAS gpc: 0 of 5
- NICE: 0 of 1
- FORT: 0 of 12
- D: 0 of 3
- F#: 28 of 42
- CLPS: 0 of 3
- SCM qobi: 0 of 2
- SCM guile: 0 of 2

Releases

No releases published

Packages

No packages published

Languages