decisiontree icon indicating copy to clipboard operation
decisiontree copied to clipboard

undefined method `to_a` for "abc":String

Open imi-milaap opened this issue 6 years ago • 0 comments

There is already one similar open issue. Consider a training set as"

[
        ["myself", 0, "#{my_name}"],
        ["friend", 1, "#{friend_name}"],
        ["family", 1, "#{member_name}"],
        ["other", 1, "#{other_name}"]
]

If all methods(my_name, friend_name etc) return same name, decision tree is breaking.

imi-milaap avatar Sep 03 '19 12:09 imi-milaap