Documentation ¶
Overview ¶
Package resampling provide common interface, constants, and methods for resampling modules.
Index ¶
Constants ¶
View Source
const ( // DefaultK nearest neighbors. DefaultK = 5 // DefaultPercentOver sampling. DefaultPercentOver = 100 )
Variables ¶
This section is empty.
Functions ¶
func WriteSynthetics ¶
WriteSynthetics will write synthetic samples in resampling module `ri` into `file`.
Types ¶
type Interface ¶
type Interface interface {
GetSynthetics() tabula.DatasetInterface
}
Interface define common methods used by resampling module.
Directories ¶
Path | Synopsis |
---|---|
Package lnsmote implement the Local-Neighborhood algorithm from the paper, Maciejewski, Tomasz, and Jerzy Stefanowski.
|
Package lnsmote implement the Local-Neighborhood algorithm from the paper, Maciejewski, Tomasz, and Jerzy Stefanowski. |
Package smote resamples a dataset by applying the Synthetic Minority Oversampling TEchnique (SMOTE).
|
Package smote resamples a dataset by applying the Synthetic Minority Oversampling TEchnique (SMOTE). |
Click to show internal directories.
Click to hide internal directories.