Action Principale : featureMachine
| 1 | |
| 2 | DATA mycas.sim_data; |
| 3 | call streaminit(123); |
| 4 | DO i = 1 to 1000; |
| 5 | x1 = rand('Normal', 10, 2); |
| 6 | x2 = rand('Uniform'); |
| 7 | c1 = ifc(rand('Uniform') > 0.6, 'A', 'B'); |
| 8 | IF (x1 + 10*x2 > 15) THEN target = 1; |
| 9 | ELSE target = 0; |
| 10 | OUTPUT; |
| 11 | END; |
| 12 | |
| 13 | RUN; |
| 14 |