KPCA Procedure
SAVESTATE Statement
SAVESTATE RSTORE=libref.data-table <option>;
The SAVESTATE statement creates an analytic store for the model and saves it as a binary object in a data table. You can use the analytic store in the ASTORE procedure to score new data. For more information, see Chapter 4, ASTORE Procedure.
You must specify the following option:
You can also specify the following option:
You can use the ASTORE procedure to specify the number of principal components to project the scoring observations. To do this, specify the option KPCA_NPC in the SETOPTION statement in PROC ASTORE. If you specify the PREIMAGE statement, you can use PROC ASTORE to obtain the pre-image of the data in the original input space by specifying the value of SCORING_MODE as 1 in the SETOPTION statement in PROC ASTORE. You can also specify other pre-image scoring options, including ITER_NPC, ITER_NUM, and ITER_THRESH, in the SETOPTION statement in PROC ASTORE. For more information, see the sections KPCA Iterative Pre-image Method and KPCA Mapping Pre-image Method.