Comments (2)
The predict()
method has the complete sorted list of different classifications, but it only returns the top classification as of now. This can be very easily added by returning the allOdds
variable, instead of returning only the top value! You may like to make this modification in your fork/download.
We are also considering to release this as a feature shortly!
from wink-naive-bayes-text-classifier.
A new API computeOdds()
has been released to address this need.
from wink-naive-bayes-text-classifier.
Related Issues (10)
- Is word distance counted? HOT 12
- Is bayes suitable for bank transaction categorisation? HOT 7
- computeOdds between 0 and 1 HOT 1
- "Unknown" error when literally typing in string from the dataset. HOT 7
- Can I do "Open Questions" with wink? HOT 8
- Consider instantiating textNBC when setting module.exports HOT 2
- update wink's link to point to winkjs.org
- update copyright notice year in README & License Header
- change "homepage" in package.json to winkjs.org
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wink-naive-bayes-text-classifier.