Commits on Apr 25, 2012
  1. @Oliviergg

    Refactored : Bayes and TfIdf. Classify is common => need to be part o…

    …f Base.
    
    word_weigth_average is used only by Bayes
    word_prob,doc_prob,text_probe have specific implementation for Bayes and TfIdf.
    Oliviergg committed Apr 25, 2012
  2. @Oliviergg

    Fixed : typo

    Oliviergg committed Apr 25, 2012
  3. @Oliviergg

    Added : #8 Storage improvement : inMemoryStoage < Storage. fileStorag…

    …e<Storage. Added ActAsStorable : set the instance variable list to be saved by Storage
    Oliviergg committed Apr 25, 2012
  4. @Oliviergg

    added : #5 : (Base.new).min_prob specifies the minimal probability fo…

    …r best category. If category's probability < min_prob, classify return default category
    Oliviergg committed Apr 25, 2012
  5. @Oliviergg
Commits on Apr 24, 2012
  1. @Oliviergg
Commits on Apr 23, 2012
  1. @Oliviergg

    Improved test on count

    Oliviergg committed Apr 23, 2012
  2. @Oliviergg

    added Base.categories_with_word_count, Base.total_categories

    added test_002_base : test count
    Oliviergg committed Apr 23, 2012
  3. @Oliviergg
  4. @Oliviergg
  5. @Oliviergg

    Added count optimization. Counter are build during training phase and…

    … not recalculate on each classification.
    
    Added comment
    refactored wcount ccount
    Oliviergg committed Apr 23, 2012
Commits on Apr 22, 2012
  1. @Oliviergg

    Tokenizer enhancement

    Oliviergg committed Apr 22, 2012
  2. @Oliviergg
  3. @Oliviergg

    weight and assumed prob now can be set optionaly from StuffClassifier…

    …::Base initializer.
    
    assumed_prob by default = 0.1
    Oliviergg committed Apr 22, 2012
  4. @Oliviergg
  5. @Oliviergg
  6. @Oliviergg

    The gem is now valid.

    Oliviergg committed Apr 22, 2012
  7. @Oliviergg

    adding tokenizer properties

    Oliviergg committed Apr 22, 2012
  8. @Oliviergg

    Module Tokenizer become a class - Adding support for preprocessor reg…

    …exp - specific method of tokenizer available by (StuffClassifier.new).tokenizer.method_name
    Oliviergg committed Apr 22, 2012
  9. @Oliviergg

    simplecov support and ruby 1.9

    Oliviergg committed Apr 22, 2012
Commits on Apr 20, 2012
  1. fixes to tokenizer

    Alexandru Nedelcu committed Apr 20, 2012
Commits on Apr 19, 2012
  1. Merge pull request #3 from Oliviergg/master

    word_prob and multi language (latin)
    Alexandru Nedelcu committed Apr 19, 2012
  2. @Oliviergg
  3. @Oliviergg

    Correction of bug on word_prob

    Oliviergg committed Apr 19, 2012
  4. @Oliviergg
  5. Merge pull request #2 from eebs/master

    Use Math.log10 instead of Math.log
    Alexandru Nedelcu committed Apr 19, 2012
Commits on Apr 18, 2012
  1. @eebs
Commits on Feb 27, 2012
  1. Merge pull request #1 from onurkaraman/patch-1

    Moved "else" of ternary operator in word_weighted_average to the same li...
    Alexandru Nedelcu committed Feb 27, 2012
  2. Moved "else" of ternary operator in word_weighted_average to the same…

    … line as rest of the ternary operator to prevent base.rb:66: syntax error, unexpected '\n' (SyntaxError)
    onurkaraman committed Feb 27, 2012
Commits on Jan 20, 2012
  1. fixed gemspec

    Alexandru Nedelcu committed Jan 20, 2012
  2. small fix + bumbed version number

    Alexandru Nedelcu committed Jan 20, 2012
  3. bumped version number

    Alexandru Nedelcu committed Jan 20, 2012
  4. added config options to readme

    Alexandru Nedelcu committed Jan 20, 2012
  5. added config options to readme

    Alexandru Nedelcu committed Jan 20, 2012
  6. added storages

    Alexandru Nedelcu committed Jan 20, 2012