Description Usage Arguments Value
This a function to generate kernel matrix on train_set and test_set.
1 | K_SMOTE(train_set, test_set, P, k)
|
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. |
output is a list of two matrix train_K_mat and test_K_mat.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.