SundareshSankaran / SDG---SMOTE-Synthetic-Data-Generation

0 stars 0 forks source link

QUESTION: Can class column be outside the nominal list? #27

Closed SundareshSankaran closed 2 hours ago

SundareshSankaran commented 2 hours ago

86   
87   proc cas;
88      loadactionset "smote";
89      action smoteSample result=r/
90         table={name="hmeq", caslib="PUBLIC"},
91         nominals={"REASON", "JOB"},
92         classColumn="BAD",
93         classToAugment=1,
94         seed=10,
95         numSamples=1000,
96         casout={name="out",replace="TRUE"};
97         print r;
98   run;
NOTE: Active Session now SS.
NOTE: Added action set 'smote'.
**WARNING: For the 'classColumn' parameter, the 'BAD' column does not appear in 'NOMINALS'.**
NOTE: Adding 'classColumn': 'BAD' to the 'NOMINALS'.
NOTE: Smote completed successfully.
99   quit;
NOTE: The PROCEDURE CAS printed page 2.
NOTE: PROCEDURE CAS used (Total process time):
      real time           0.63 seconds
      cpu time            0.04 seconds
SundareshSankaran commented 2 hours ago
  1. A warning is provided.
  2. Column treated as nominal.

From perspective of our step, the column selector for class column need not be restricted to nominal.

SundareshSankaran commented 2 hours ago

Good or bad.