Skip to content

Commit

Permalink
rdoc comment modified
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioFierens committed Jun 26, 2009
1 parent 17f2c33 commit ee5c2e5
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions lib/ai4r/classifiers/bayes.rb
Expand Up @@ -48,18 +48,12 @@ module Classifiers
#
# = How to use it
#
# data = CsvDataSet.new
# data.load_csv_with_labels "bayes_data.csv"
#
# data = DataSet.new.load_csv_with_labels "bayes_data.csv"
# b = Bayes.new.
# set_parameters({:m=>3}).
# build data
# b.eval(["Red", "SUV", "Domestic"])
#
# Optionally - if you don't want to use csv you can still use CsvDataSet (it only extends DataSet
# by ovrriding load_csv_with_labels) and set the attribute 'klasses' manually by overriding
# @data_items of DataSet by an array of DataEntry instances

class Bayes < Classifier

parameters_info :m => "Default value is set to 0. It may be set to a value greater than " +
Expand Down

0 comments on commit ee5c2e5

Please sign in to comment.