oneNN: 1-NN supervised classifier builder

Description Usage Arguments Value

View source: R/OneNN.R

Description

Build a model using the given data to be able to predict the label or the probabilities of other instances, according to 1-NN algorithm.

Usage

1
oneNN(x = NULL, y)

Arguments

x

This argument is not used, the reason why he gets is to fulfill an agreement

y

a vector with the labels of training instances

Value

A model with the data needed to use 1-NN


ssc documentation built on Dec. 16, 2019, 1:26 a.m.

Related to oneNN in ssc...