RubyGems Navigation menu

basset 1.0.1

=What You Could Use This For Just in case you don't have a clue what machine learning or classification is, here's a quick example scenario and an explanation of the process. The most popular task is spam identification. To do this you'll first need a set of training documents. This would consist of a number of documents which you have labeled as either spam or not. With training sets, bigger is better. You should probably have at least 100 of each type (spam and not spam). Really 1,000 of each type would be better and 10,000 of each would be super sweet. Once you have the training set the process with this library flows like this: * Create each as a Document (a class in this library) * Pass those documents into the FeatureSelector * Get the best features and pass those into the FeatureExtractor * Now extract features from each document using the extractor and * Pass those extracted features to NaiveBayes as part of the training set * Now you can save the FeatureExtractor and NaiveBayes to a file That represents the process of selecting features and training the classifier. Once you've done that you can predict if a new previously unseen document is spam or not by just doing the following: * Load the feature extractor and naive bayes from their files * Create a new document object from your new unseen document * Extract the features from that document using the feature extractor and * Pass those to the classify method of the naive bayes classifier

Gemfile:
= Copy to clipboard Copied!

Installeer:
=

Versies:

  1. 2.0.1 - November 03, 2009 (5 KB)
  2. 1.0.1 - January 08, 2008* (14 KB)
  3. 1.0.0 - January 08, 2008* (14 KB)

Runtime afhankelijkheden (2):

hoe >= 1.4.0
stemmer >= 1.0.1

Eigenaren:

Authors:

  • Paul Dix, Bryan Helmkamp

SHA 256 checksum:

d6dc313307a4bb934dd656a95b54cd044ea9c2f6c4623c8c255dd504350b2907

Total downloads 15.125

Voor deze versie 4.689

Licenties:

N/A

Required Ruby Version: > 0.0.0

Links: