inst/help/mlRegressionKnn.md

K-Nearest Neighbors Regression

K-nearest neighbors is a method of regression that looks at the k number of feature observations that are most similar to new observations to make a prediction for their values. The number of nearest neighbors is intrinsincly linked to model complexity, as small numbers increase the flexibility of the model.

Assumptions

Input

Assignment Box

Tables

Plots

Data Split Preferences

Holdout Test Data

Training and Validation Data

Training Parameters

Algorithmic Settings

Number of Nearest Neighbors

Add Predicted Values to Data

Generates a new column in your dataset with the values of your regression result. This gives you the option to inspect, cluster, or predict the generated values.

Output

K-Nearest Neighbors Regression Model Table

Evaluation Metrics

References

R-packages

Example



jasp-stats/jaspMachineLearning documentation built on April 5, 2025, 3:52 p.m.