Fiche Data Prep

Action Principale : forestCode

Code de préparation

Script en attente de validation
Copié !
1 
2PROC CAS;
3 
4SESSION casauto;
5TABLE.loadTable / caslib="samples" path="hmeq.csv" casout="hmeq";
6decisionTree.forestTrain / TABLE={name="hmeq", where="BAD ne ."} target="BAD" inputs={"LOAN", "MORTDUE", "VALUE", "REASON", "JOB", "YOJ", "DEROG", "DELINQ", "CLAGE", "NINQ", "CLNO", "DEBTINC"} nominals={"REASON", "JOB", "BAD"} casOut={name="forest_model", replace=true};
7 
8RUN;
9 
Actions utilisant ce script
  • decisionTree forestCode En cours
  • Aucune autre action n'utilise ce script exact.