SVMACHINE Procedure
Example 39.3 Support Vector Regression
In this example, support vector regression training is performed. For the sake of simplicity, the same data set, mylib.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 SVR algorithm on the mylib.dmagecr data table and produce Output 39.3.1 and Output 39.3.2:
proc svmachine data=mylib.dmagecr epsilon=5.0 noscale;
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 Output 39.3.1.
Output 39.3.1: 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 Output 39.3.2.
Output 39.3.2: 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 |