我有ctree()(party包)的输出,如下所示.如何获取每个终端节点的分割条件列表,如同sns <= 0, dta <= 1; sns <= 0, dta > 1等等?
1) sns <= 0; criterion = 1, statistic = 14655.021
2) dta <= 1; criterion = 1, statistic = 3286.389
3)* weights = 153682
2) dta > 1
4)* weights = 289415
1) sns > 0
5) dta <= 2; criterion = 1, statistic = 1882.439
6)* weights = 245457
5) dta > 2
7) dta <= 6; criterion = 1, statistic …Run Code Online (Sandbox Code Playgroud)