K_SMOTE: K_SMOTE

Description Usage Arguments Value

View source: R/KSMOTE.R

Description

This a function to generate kernel matrix on train_set and test_set.

Usage

1
K_SMOTE(train_set, test_set, P, k)

Arguments

train_set

is the train set.

test_set

is the test set.

P

is the number of generating samples.

k

is the k of kNN algorithm.

Value

output is a list of two matrix train_K_mat and test_K_mat.


mmfd99/StatComp21092 documentation built on Dec. 23, 2021, 10:14 p.m.