Action Principale : forestCode
| 1 | PROC CAS; |
| 2 | SESSION casauto; |
| 3 | TABLE.loadTable / caslib="sashelp" path="iris.sas7bdat" casout="iris"; |
| 4 | decisionTree.forestTrain / |
| 5 | TABLE="iris" |
| 6 | target="Species" |
| 7 | inputs={"SepalLength", "SepalWidth", "PetalLength", "PetalWidth"} |
| 8 | casOut={name="forest_model", replace=true}; |
| 9 | RUN; |