cran / scutr

:exclamation: This is a read-only mirror of the CRAN R package repository. scutr — Balancing Multiclass Datasets for Classification Tasks. Homepage: https://github.com/s-kganz/scutr Report bugs for this package: https://github.com/s-kganz/scutr/issues
Other
0 stars 0 forks source link

optiona in usamp_opts/osamp_opts do not work #1

Open Seamanan opened 7 months ago

Seamanan commented 7 months ago

The options for SCUT do not work. Error in dist(data[, -which(names(data) == cls_col)], ...) : unused argument (k = 7)

I run and that is the error. library(scutr) data(imbalance) imbalance <- imbalance[imbalance$class %in% c(2, 3, 19, 20), ] imbalance$class <- as.numeric(imbalance$class)

plot(imbalance$V1, imbalance$V2, col=imbalance$class)

scutted <- SCUT(imbalance, "class", undersample = undersample_kmeans, usamp_opts = list(k=7))

It also does not work in a specific data set i am working on. I have problems with the options in general. Could you explain me if there is a problem in the function or something wrong from my side?

gaborcsardi commented 7 months ago

Hi, this is a read only mirror of CRAN, please see the package authors in the DESCRIPTION file. Look for Maintainer, BugReports and URL. Thanks!

Seamanan commented 7 months ago

Hi, this is a read only mirror of CRAN, please see the package authors in the DESCRIPTION file. Look for Maintainer, BugReports and URL. Thanks!

Thank you! I will do now!