| CARVIEW |
Select Language
HTTP/2 301
server: nginx
date: Wed, 24 Dec 2025 05:18:12 GMT
content-type: text/html; charset=utf-8
content-length: 116
x-archive-orig-server: nginx/0.6.26
x-archive-orig-date: Mon, 31 Aug 2009 05:36:40 GMT
x-archive-orig-connection: close
x-archive-orig-status: 301 Moved Permanently
location: https://web.archive.org/web/20090831053642/https://github.com/cardmagic/classifier/tree/master
x-archive-orig-x-runtime: 175ms
x-archive-orig-cache-control: no-cache
x-archive-orig-content-length: 116
cache-control: max-age=1800
accept-ranges: bytes
memento-datetime: Mon, 31 Aug 2009 05:36:42 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_20090831031004_crawl102.gpg-c/52_11_20090831053641_crawl101.arc.gz
server-timing: captures_list;dur=1.100843, exclusion.robots;dur=0.099775, exclusion.robots.policy;dur=0.079726, esindex;dur=0.017570, cdx.remote;dur=7.001516, LoadShardBlock;dur=163.467964, PetaboxLoader3.datanode;dur=142.953796, PetaboxLoader3.resolve;dur=77.624547, load_resource;dur=139.411738
x-app-server: wwwb-app210-dc8
x-ts: 301
x-tr: 364
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app210; path=/
cache-control: private
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: Wed, 24 Dec 2025 05:18:14 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.6.26
x-archive-orig-date: Mon, 31 Aug 2009 05:36:40 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-x-runtime: 254ms
x-archive-orig-etag: "7b844ab6228c0df53b6a87e6109e08e7"
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-orig-content-length: 27136
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Mon, 31 Aug 2009 05:36:42 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_20090831031004_crawl102.gpg-c/52_11_20090831053641_crawl101.arc.gz
server-timing: captures_list;dur=0.493580, exclusion.robots;dur=0.016438, exclusion.robots.policy;dur=0.008117, esindex;dur=0.010306, cdx.remote;dur=32.709802, LoadShardBlock;dur=243.892906, PetaboxLoader3.datanode;dur=161.043699, PetaboxLoader3.resolve;dur=1240.201543, load_resource;dur=1219.421368
x-app-server: wwwb-app210-dc8
x-ts: 200
x-tr: 1546
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
commit ea24a2f1ea01abd882e6e354201c28a2e796133f
tree a815f0fc7ddb5e1d7762562ac6e5cee334f019d3
parent eb7965c2319282d00753e8fc526c09e0624db7e7
tree a815f0fc7ddb5e1d7762562ac6e5cee334f019d3
parent eb7965c2319282d00753e8fc526c09e0624db7e7
| 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/ | Sat Sep 22 16:13:02 -0700 2007 | minor tweaks so that LSI plays well with modern... [cmcbride] |
| |
install.rb | Sat Sep 22 16:13:02 -0700 2007 | minor tweaks so that LSI plays well with modern... [cmcbride] |
| |
lib/ | Sat Sep 22 16:13:02 -0700 2007 | minor tweaks so that LSI plays well with modern... [cmcbride] |
| |
test/ | Thu Feb 02 08:45:14 -0800 2006 | Adding files git-svn-id: https://classifier.rub... [cardmagic] |
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!












