JMP 14.0 Online Documentation (English)
Discovering JMP
Using JMP
Basic Analysis
Essential Graphing
Profilers
Design of Experiments Guide
Fitting Linear Models
Predictive and Specialized Modeling
Multivariate Methods
Quality and Process Methods
Reliability and Survival Methods
Consumer Research
Scripting Guide
JSL Syntax Reference
JMP iPad Help
JMP Interactive HTML
Capabilities Index
JMP 13 Online Documentation
JMP 12 Online Documentation
Predictive and Specialized Modeling
•
K Nearest Neighbors
• Launch the K Nearest Neighbors Platform
Previous
•
Next
Launch the K Nearest Neighbors Platform
Launch the K Nearest Neighbors platform by selecting
Analyze > Predictive Modeling > K Nearest Neighbors
.
Figure 7.4
K Nearest Neighbors Launch Window
The K Nearest Neighbors launch window provides the following options:
Y, Response
The response variable or variables that you want to analyze.
X, Factor
The predictor variables.
Validation
A numeric column that contains at most three distinct values. See
Validation
in Partition Models
.
By
A column or columns whose levels define separate analyses. For each level of the specified column, the corresponding rows are analyzed using the other variables that you have specified. The results are presented in separate reports. If more than one By variable is assigned, a separate report is produced for each possible combination of the levels of the By variables.
Validation Portion
The portion of the data to be used as the validation set. See
Validation
in Partition Models
.
Number of Neighbors, K
Maximum number of nearest neighbors to analyze. Models are fit for one nearest neighbor up to the value that you specify for
K
.
Set Random Seed
Sets the seed for the randomization process used in tie-breaking for nominal and ordinal responses. If you specify a Validation Portion, this option also sets the seed for the rows used for validation. Set Random Seed is useful if you want to reproduce an analysis. If you set a random seed and save the script, the seed is automatically saved in the script.
Previous
•
Next
Help created on 7/12/2018