Skip to content

Simple naive-bayes classifier ported from the original Ruby classifier at oasic/nbayes

License

Notifications You must be signed in to change notification settings

konradbloor/objc-simplenbayes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

objc-SimpleNBayes

Introduction

I used a Naive-Bayes classifier by oasic (https://github.com/oasic/nbayes) in another project and found it useful, and wanted something similar in Objective-C. I found BayesianKit (https://github.com/lok/BayesianKit) which was great, but that also had a dependency on ParseKit and I wanted something exceptionally simple. Since oasic's classifier served me well previously, I thought it would be a worthwhile exercise to port it to Objective-C.

So to clarify, there is not really any original work here - this is a derivative work of oasic's nbayes project where I have applied mostly the same tests, and the functionality should be exactly the same, although I have changed where some functionality lies by factoring out some logic, or sometimes I introduced a function to substitute for a ruby function that had no counterpart I could find in Foundation.

To-do

  • classifiers can be easily saved and retrieved according to idiomatic Cocoa

Author

Konrad Bloor ([email protected])

Credits

Oasic (https://github.com/oasic) for creating the original Ruby version which I've found so useul

License

Copyright (c) 2012 Konrad Bloor

Licensed under the MIT License.

About

Simple naive-bayes classifier ported from the original Ruby classifier at oasic/nbayes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published