Rambatino / CHAID

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

Added SPSS weighting to the CHAID Algorithm #37

Closed Rambatino closed 7 years ago

Rambatino commented 8 years ago

Estimating weighted counts using this formula from SPSS Tree Algorithms:

image

xulaus commented 8 years ago

Sorry about the weird not line note that was ment to be a line note. Reviewing on a phone is hard :(.

Rambatino commented 7 years ago

@xulaus can you unblock the merge. Have removed the if clause (although this could add quite a few hundred thousand calculations per tree generation (although it isn't a bottleneck)) and have added the spec.

Need to get this out!

Rambatino commented 7 years ago

Sorry @xulaus we can talk when you're back but I'm merging this.