CHAID Analysis Parameters for OS X / Python / R

I am looking for a good open source (or low cost) way to analyze CHAID. My favorite language is python, but R is fine too. OS X is a must.

I found this package for R: http://r-forge.r-project.org/projects/chaid/ , but cannot find documentation on how to use it.

Does anyone know a good documentation on how to do CHAID analysis in OS X? I would like to avoid SPSS / answer based solutions.

Thanks.

+6
source share
2 answers

The package is documented, and the code is relatively simple. Here you can use chaid help:

 library("CHAID") ### fit tree to subsample set.seed(290875) USvoteS <- USvote[sample(1:nrow(USvote), 1000),] ctrl <- chaid_control(minsplit = 200, minprob = 0.1) chaidUS <- chaid(vote3 ~ ., data = USvoteS, control = ctrl) print(chaidUS) 

enter image description here

PS Many married and well-educated people who love BUSH AND a young single woman, such as GORE :)

+7
source

Source: https://habr.com/ru/post/948105/


All Articles