Rambatino / CHAID

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

Maybe an error in the doc? #79

Closed pietrogiuffrida closed 6 years ago

pietrogiuffrida commented 6 years ago

Hi Rambatino, thanks for your work. Maybe this code: tree = Tree.from_pandas_df(df, dict(zip(independent_variable_columns, 'nominal' * 3)), dep_variable) should be: tree = Tree.from_pandas_df(df, dict(zip(independent_variable_columns, ['nominal'] * 3)), dep_variable) Regards

shaheming commented 6 years ago

Yes, I think there is some problem too!

Rambatino commented 6 years ago

Yep you're right. Will fix now. If you find anything else, do let me know!