Action Principale : forestScore
| 1 | PROC CAS; |
| 2 | SESSION casauto; |
| 3 | TABLE.loadTable RESULT=r STATUS=rc / caslib="samplibrary" path="hmeq.csv" casout={name="hmeq", replace=true}; |
| 4 | decisionTree.forestTrain / TABLE={name="hmeq", where="BAD is not null"} target="BAD" inputs={"LOAN", "MORTDUE", "VALUE", "REASON", "JOB", "YOJ", "DEROG", "DELINQ", "CLAGE", "NINQ", "CLNO", "DEBTINC"} nominals={"BAD", "REASON", "JOB"} modelTable={name="forest_model", replace=true}; |
| 5 | RUN; |