wyvernbai / naive_bayes_classify Goto Github PK
View Code? Open in Web Editor NEW朴素贝叶斯文档分类器(A Naive-bayse-classify Document classify writed by ruby)
Home Page: asiteof.me
朴素贝叶斯文档分类器(A Naive-bayse-classify Document classify writed by ruby)
Home Page: asiteof.me
== Description: 1. naive_bayes_classify.rb naive_bayes_classify is a document classify programme. Usage: naive_bayes_classify [options] <Dirname>+ where [options] are: --train, -t <s>: Train a model from a Dir --test, -e <s>: Test a dir from Mode --model, -m <s>: Model name for test or the output of train --thres, -h <f>: Threshold value for Naive Bayes Classify (default: 1.5) --version, -v: Print version and exit --help, -l: Show this message 2. result_analyze.rb result_analyze is a naive_bayes_classify result analyze programme. Usage: result_analyze [options] <filename> where [options] are: --file, -f <s>: Output file of "naive_bayes_classify" --version, -v: Print version and exit --help, -h: Show this message == Example: Sample Data: http://people.csail.mit.edu/jrennie/20Newsgroups/ 1.train naive_bayes_classify.rb -t 20news-bydate-train -m 20news-bydate-train.model -h 1.5 2.test naive_bayes_classify.rb -e 20news-bydate-test -m 20news-bydate-train.model > 20news-bydate-test.res 3.result analysis result_analyze -f 20news-bydate-test.res
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.