Tip: If you change the position of the slider on the solution path plot to a different K, the Actual by Predicted plot is updated to reflect the model for the chosen value of K.
Tip: If you change the position of the slider on the solution path plot to a different K, the Residual by Predicted plot is updated to reflect the model for the chosen value of K.
Saves K predicted value columns to the data table. The columns are named Predicted <Response> <k>. The kth column contains predictions for the model based on the k nearest neighbors, where Response is the name of the response column.
Saves a column that contains a prediction formula for a specific k nearest neighbor model. Enter a value for K when prompted. The prediction formula contains all the training data, so this option might not be practical for large data tables.
Creates a prediction formula for the specified k nearest neighbor model and saves it as a formula column script in the Formula Depot platform. If a Formula Depot report is not open, this option creates a Formula Depot report. See Formula Depot in the Predictive and Specialized Modeling book.