Fiche Data Prep

Action Principale : copyModelExternal

Code de préparation

Script en attente de validation
Copié !
1PROC CAS;
2 LOADACTIONSET "decisionTree";
3 LOADACTIONSET "aStore";
4 
5 /* Load sample data and promote it to global scope */
6 loadTable / caslib="casuser" path="iris.sashdat" casout={name="iris", replace=true, promote=true};
7 
8 /* Train a decision tree model and save its state */
9 decisionTree.dtreeTrain /
10 TABLE={name="iris"}
11 target="Species"
12 inputs={"SepalLength", "SepalWidth", "PetalLength", "PetalWidth"}
13 savestate={name="myModelStore", replace=true};
14 
15 /* Save the analytic store to a CAS table */
16 aStore.save /
17 rstore={name="myModelStore"}
18 TABLE={name="myModelTable", replace=true};
19RUN;
20QUIT;
Actions utilisant ce script
  • modelPublishing copyModelExternal En cours
  • Aucune autre action n'utilise ce script exact.