cardmagic / classifier

A general classifier module to allow Bayesian and LSI classifications.
Other
661 stars 122 forks source link

performance: speedup word_hash #9

Closed dabble closed 10 years ago

dabble commented 13 years ago

My training times went from 806 seconds down to 662 seconds (60k records) with these minor changes to String.word_hash().