decisiontree
decisiontree copied to clipboard
ID3-based implementation of the ML Decision Tree algorithm
There is already one similar open [issue](https://github.com/igrigorik/decisiontree/issues/14). Consider a training set as" ``` [ ["myself", 0, "#{my_name}"], ["friend", 1, "#{friend_name}"], ["family", 1, "#{member_name}"], ["other", 1, "#{other_name}"] ] ``` If all...
In your file, the first line is "Age,Education,Income,Marital Status". You should change it to "Age,Education,Income,Marital,Status"
Add MIT license
I've encountered a problem where if you have a training set like: ``` ruby [[5, 1, "9.990941"], [5, 1, "9.990926"], [5, 1, "9.991411"], [5, 1, "9.991286"], [5, 1, "9.9916579615681"], [5,...
notice you forgot to made a word adverb and suggested a better word than "look at"
I need the train data out of the box, so added an attributes accessor to access the train data in RuleSet Class, So that I can get the accuracy directly....
I'm try run examples/simple.rb in master but throw this error: ``` entropy': undefined method `sum' for [2, 3, 1]:Array (NoMethodError) ``` Try gem version 0.5.0 and work find, maybe it...
I am using the graphr Ruby gem and GraphViz on Ubuntu and all I get is  Btw, why didn’t you put the graphr gem in the dependencies?
Thank you Ilya for your great job. I work with @nicomahler and we look forward contributing to this project. As I worked on #19, I remarked that the last line...
On a real production dataset with 5 explanatory variables and ~1000 lines, I received a `SystemStackError: stack level too deep` when calling `DecisionTree::ID3Tree#train`. Trying to figure out what was happening,...