Data Prep Sheet

Action Principale : forestScore

Preparation Code

Script awaiting validation
Copied!
1PROC 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;
Actions using this script
  • decisionTree forestScore En cours
  • No other action uses this exact script.