| CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Tue, 23 Dec 2025 16:28:17 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090913035904
location: https://web.archive.org/web/20090913035904/https://github.com/cardmagic/classifier
server-timing: captures_list;dur=0.785515, exclusion.robots;dur=0.063746, exclusion.robots.policy;dur=0.049885, esindex;dur=0.010879, cdx.remote;dur=22.743697, LoadShardBlock;dur=179.992822, PetaboxLoader3.datanode;dur=66.341737, PetaboxLoader3.resolve;dur=65.653274
x-app-server: wwwb-app204-dc6
x-ts: 302
x-tr: 247
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app204; path=/
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Tue, 23 Dec 2025 16:28:17 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.6.26
x-archive-orig-date: Sun, 13 Sep 2009 03:59:04 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-etag: "7c3eef8bfcf54bfbde8d127cb1125a80"
x-archive-orig-x-runtime: 576ms
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-orig-content-length: 26502
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Sun, 13 Sep 2009 03:59:04 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_11_20090913003404_crawl100.gpg-c/52_11_20090913035806_crawl101.arc.gz
server-timing: captures_list;dur=0.706266, exclusion.robots;dur=0.024689, exclusion.robots.policy;dur=0.011271, esindex;dur=0.016633, cdx.remote;dur=43.406102, LoadShardBlock;dur=270.786483, PetaboxLoader3.resolve;dur=132.066031, PetaboxLoader3.datanode;dur=133.787857, load_resource;dur=110.860853
x-app-server: wwwb-app204-dc6
x-ts: 200
x-tr: 483
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
cardmagic's classifier at master - GitHub
This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| Description: | A general classifier module to allow Bayesian and other types of classifications. edit |
| Homepage: | https://rubyforge.org/projects/classifier/ edit |
| Public Clone URL: |
git://github.com/cardmagic/classifier.git
Give this clone URL to anyone.
git clone git://github.com/cardmagic/classifier.git
|
| Your Clone URL: |
Use this clone URL yourself.
git clone git@github.com:cardmagic/classifier.git
|
cmcbride (author)
Sun Jan 20 04:00:06 -0800 2008
| name | age | message | |
|---|---|---|---|
| |
LICENSE | Thu Feb 02 08:45:14 -0800 2006 | Adding files git-svn-id: https://classifier.rub... [cardmagic] |
| |
README | Sun Jan 20 04:00:06 -0800 2008 | added Cameron as author, Rakefile version bump ... [cmcbride] |
| |
Rakefile | Sun Jan 20 04:00:06 -0800 2008 | added Cameron as author, Rakefile version bump ... [cmcbride] |
| |
bin/ | Loading commit data... |
|
| |
install.rb | Sat Sep 22 16:13:02 -0700 2007 | minor tweaks so that LSI plays well with modern... [cmcbride] |
| |
lib/ | ||
| |
test/ |
README
== Welcome to Classifier Classifier is a general module to allow Bayesian and other types of classifications. == Download * https://rubyforge.org/projects/classifier * gem install classifier * svn co https://rufy.com/svn/classifier/trunk == Dependencies If you install Classifier from source, you'll need to install Martin Porter's stemmer algorithm with RubyGems as follows: gem install stemmer If you would like to speed up LSI classification by at least 10x, please install the following libraries: GNU GSL:: https://www.gnu.org/software/gsl rb-gsl:: https://rb-gsl.rubyforge.org Notice that LSI will work without these libraries, but as soon as they are installed, Classifier will make use of them. No configuration changes are needed, we like to keep things ridiculously easy for you. == Bayes A Bayesian classifier by Lucas Carlson. Bayesian Classifiers are accurate, fast, and have modest memory requirements. === Usage require 'classifier' b = Classifier::Bayes.new 'Interesting', 'Uninteresting' b.train_interesting "here are some good words. I hope you love them" b.train_uninteresting "here are some bad words, I hate you" b.classify "I hate bad words and you" # returns 'Uninteresting' require 'madeleine' m = SnapshotMadeleine.new("bayes_data") { Classifier::Bayes.new 'Interesting', 'Uninteresting' } m.system.train_interesting "here are some good words. I hope you love them" m.system.train_uninteresting "here are some bad words, I hate you" m.take_snapshot m.system.classify "I love you" # returns 'Interesting' Using Madeleine, your application can persist the learned data over time. === Bayesian Classification * https://www.process.com/precisemail/bayesian_filtering.htm * https://en.wikipedia.org/wiki/Bayesian_filtering * https://www.paulgraham.com/spam.html == LSI A Latent Semantic Indexer by David Fayram. Latent Semantic Indexing engines are not as fast or as small as Bayesian classifiers, but are more flexible, providing fast search and clustering detection as well as semantic analysis of the text that theoretically simulates human learning. === Usage require 'classifier' lsi = Classifier::LSI.new strings = [ ["This text deals with dogs. Dogs.", :dog], ["This text involves dogs too. Dogs! ", :dog], ["This text revolves around cats. Cats.", :cat], ["This text also involves cats. Cats!", :cat], ["This text involves birds. Birds.",:bird ]] strings.each {|x| lsi.add_item x.first, x.last} lsi.search("dog", 3) # returns => ["This text deals with dogs. Dogs.", "This text involves dogs too. Dogs! ", # "This text also involves cats. Cats!"] lsi.find_related(strings[2], 2) # returns => ["This text revolves around cats. Cats.", "This text also involves cats. Cats!"] lsi.classify "This text is also about dogs!" # returns => :dog Please see the Classifier::LSI documentation for more information. It is possible to index, search and classify with more than just simple strings. === Latent Semantic Indexing * https://www.c2.com/cgi/wiki?LatentSemanticIndexing * https://www.chadfowler.com/index.cgi/Computing/LatentSemanticIndexing.rdoc * https://en.wikipedia.org/wiki/Latent_semantic_analysis == Authors * Lucas Carlson (mailto:lucas@rufy.com) * David Fayram II (mailto:dfayram@gmail.com) * Cameron McBride (mailto:cameron.mcbride@gmail.com) This library is released under the terms of the GNU LGPL. See LICENSE for more details.
This feature is coming soon. Sit tight!













