run.KNN: Wraper for running random forest classifier

run.KNNR Documentation

Wraper for running random forest classifier

Description

Wraper for running random forest classifier

Usage

run.KNN(xdata, xlabel, ydata, k = 1)

Arguments

xdata

data frame or matrix; data used for training, with sample id in rows and variables in columns

xlabel

factor; classification label of the samples, with length equal to the number of rows in xdata

ydata

data frame or matrix; data to be predicted the label, same format as xdata

k

parameter k of function knn() (default: 1)

Value

List with the following elements:

ylabel

ppredicted labels of the samples in ydata


Japrin/sscClust documentation built on Dec. 15, 2022, 1:04 p.m.