Rambatino / CHAID

A python implementation of the common CHAID algorithm
Apache License 2.0
150 stars 50 forks source link

any working example? #64

Closed sriramab closed 7 years ago

sriramab commented 7 years ago

Hi,

I am interested in using your package for my research. Do you have any working tutorial document on how to use it on a dataset?

thank you

Rambatino commented 7 years ago

Hi @sriramab, does the README.md not satisfy your requirements?

If not, do let us know if you have any specific questions regarding the API of this project.

sriramab commented 7 years ago

Hi,

I installed via pip, but my python does not recognise the import statement. I may have forgotten to read, is this for python 2x or 3x? I am using 3x of anaconda with IDE pycharm community edition. pip install is a success and repeating the process clearly shows that CHAID is already installed.

I am unable to get this working.

Rambatino commented 7 years ago

It works for all python.

Can you post the commands that you are using?

sriramab commented 7 years ago

Hi,

When I installed (pip) via mac terminal , the packages were installed but were not detected by pycharm. Then installed the packages via package manager in pycharm, then it works. Would you know why?

I am a beginner in python and I plan to use your package to generate decision trees for my model.

Thank you.

Rambatino commented 7 years ago

I'm not sure how pycharm works, having never used it. This is a pycharm issue, and it will be to do with where pycharm looks for your packages, you'll have to raise an issue with them.

Have you tried: https://stackoverflow.com/questions/19885821/how-do-i-import-modules-in-pycharm

sriramab commented 7 years ago

Thank you .