Action Principale : copyModelExternal
| 1 | PROC CAS; |
| 2 | LOADACTIONSET 'decisionTree'; |
| 3 | |
| 4 | DATA mycas.iris; |
| 5 | SET sashelp.iris; |
| 6 | RUN; |
| 7 | |
| 8 | decisionTree.dtreeTrain RESULT=r / |
| 9 | TABLE={name='iris'}, |
| 10 | target='Species', |
| 11 | inputs={{name='SepalLength'}, {name='SepalWidth'}, {name='PetalLength'}, {name='PetalWidth'}}, |
| 12 | nominals={'Species'}, |
| 13 | saveState={name='myModelTable', replace=true}; |
| 14 | RUN; |
| 15 | QUIT; |