Shark-ML / Shark

The Shark Machine Leaning Library. See more:
http://shark-ml.github.io/Shark/
GNU Lesser General Public License v3.0
504 stars 131 forks source link

Why the RFTrainer is very slow? #252

Closed John1911603424 closed 6 years ago

John1911603424 commented 6 years ago

It was very slow that using the RFTrainer to train 600000 samples with 4 features in shark 3.0.0, and it didn't finish after waiting for dozens of minutes. When I use Random Forest to train the same data in sklearn, it took only a few seconds. So what is the reason? Did I lose other libraries when I compiled it?

Ulfgard commented 6 years ago

Try the 4.0 version, it is a complete rewrite.

Feel free to close this, if 4.0 fixes your issue.

John1911603424 commented 6 years ago

Thank you. I will try it.

cydcydcyd commented 5 years ago

Thank you. I will try it.

Hi,is Version 4.0 faster?