decision-tree-js icon indicating copy to clipboard operation
decision-tree-js copied to clipboard

Attribute of type array

Open OlmsteadNick opened this issue 8 years ago • 1 comments

Not really an issue, but it would be cool if passed an array (say of keywords) we could check against all keywords instead of just pushing the array together and checking for exact matches.

So right now if I pass ['here','are',keywords'] it will just check for 'here,are,keywords'. Which essentially checks for an exact match on the array, but I am looking to predict an attribute, based on how many keywords I match. and the keywords could be variable, so one item may have 1 keyword while another may have 6.

I tried figuring out where I want to modify the js to do this, but I am VERY new to machine learning and so I don't fully understand how everything works together yet.

OlmsteadNick avatar Mar 30 '17 18:03 OlmsteadNick

Yes that is what i missed too.

mstreicher avatar Mar 31 '17 06:03 mstreicher