The SVMACHINE Procedure
Example 23.3 Support Vector Regression
In this example, support vector regression training is performed. For the sake of simplicity, the same data set mycas.dmagecr is used. Instead of using the binary target good_bad, amount is chosen as the interval target. The insensitive loss parameter epsilon is set to 5.0, and the LEVEL=INTERVAL option in the TARGET statement requests support vector regression training.
The following statements execute the SVR algorithm on the mycas.dmagecr data table and produce Figure 11 and Figure 12.
proc svmachine data=mycas.dmagecr epsilon=5.0;
input checking history purpose savings employed marital coapp
property other job housing telephon foreign/level=nominal;
input duration installp resident existcr depends age/level=interval;
target amount / level=INTERVAL;
run;
The "Model Information" table is displayed in Figure 11.
Figure 11: Model Information
| Model Information | |
|---|---|
| Task Type | ESP_REG |
| Optimization Technique | Interior Point |
| Scale | NO |
| Kernel Function | Linear |
| Penalty Method | C |
| Penalty Parameter | 1 |
| Insensitive Loss Parameter | 5 |
| Maximum Iterations | 25 |
| Tolerance | 1e-06 |
The "Training Results" table is displayed in Figure 12.
Figure 12: Training Result
| Training Results | |
|---|---|
| Inner Product of Weights | 128231.898 |
| Bias | 912.616613 |
| Total Slack (Constraint Violations) | 1298997.98 |
| Norm of Longest Vector | 87.2467764 |
| Mean Squared Error | 4483863.04 |
| Number of Effects | 19 |
| Columns in Data Matrix | 60 |