Prediction_NN: Prediction_NN function

View source: R/Prediction_NN.R

Prediction_NNR Documentation

Prediction_NN function

Description

Prediction_NN function

Usage

Prediction_NN(X, Y, weights = NULL)

Arguments

X

n x m matrix

Y

1 x m vector which is a single row of the matrix X

weights

If supplied will be given the vector of distances calculated from the Nearest_Neighbors function

Value

vector of predicted labels


llrebecca21/ClusterPack documentation built on April 15, 2022, 4:37 a.m.