EvgeniDubov / hellinger-distance-criterion

Random Forest model using Hellinger Distance as split criterion
BSD 3-Clause "New" or "Revised" License
31 stars 12 forks source link

Value Error with import statement #3

Open suresh88 opened 5 years ago

suresh88 commented 5 years ago

We are facing issue with import statement hddt_err Could you please let us know how to resolve this

EvgeniDubov commented 5 years ago

Thanks for submitting the issue @suresh88

You have a sklearn package compatible with the OS on your machine, it contains ClassificationCriterion Cython class built specifically for that OS. I assume you are trying to use Hellinger binary from the example folder, it probably not compatible.

Try to build HellingerDistanceCriterion locally on the machine you are trying to use it on. Please let me know if I'm missing anything in the build instructions in README

EvgeniDubov commented 5 years ago

@suresh88 was the issue resolved?

EvgeniDubov commented 3 years ago

@suresh88 I've added hellinger distance criterion to scikit-learn and the PR is pending review
if you want hellinger be part of scikit-learn please comment in the PR #16478 so we could proceed faster with review and merge