8000 random forest problem · Issue #30 · RedisLabsModules/redisml · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jul 27, 2020. It is now read-only.

random forest problem #30

Open
sergioarmgpl opened this issue Feb 11, 2019 · 1 comment
Open

random forest problem #30

sergioarmgpl opened this issue Feb 11, 2019 · 1 comment

Comments

@sergioarmgpl
Copy link

This is the secuence of my commands:
ML.FOREST.ADD myforestx 0 . CATEGORIC sex "male" .L LEAF 1 .R LEAF 0
ML.FOREST.RUN myforestx sex:male
ML.FOREST.RUN myforestx sex:female

But my runs always returned 1, any idea? or how it works this option in redis-ml

@jairelton
Copy link

Same issue here:

ML.FOREST.ADD myforest 0 . CATEGORIC sex male .l LEAT 5 .r LEAF 6
OK
ML.FOREST.RUN myforest sex:male CLASSIFICATION
"5"
ML.FOREST.RUN myforest sex:female CLASSIFICATION
"5"

But it works with numbers:

ML.FOREST.ADD myforest 0 . CATEGORIC sex 1 .l LEAT 5 .r LEAF 6
OK
ML.FOREST.RUN myforest sex:1 CLASSIFICATION
"5"
ML.FOREST.RUN myforest sex:2 CLASSIFICATION
"6"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0