lnsmote

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2016 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package lnsmote implement the Local-Neighborhood algorithm from the paper,

Maciejewski, Tomasz, and Jerzy Stefanowski. "Local neighbourhood
extension of SMOTE for mining imbalanced data." Computational
Intelligence and Data Mining (CIDM), 2011 IEEE Symposium on. IEEE,
2011.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Input

type Input struct {
	// Input the K-Nearest-Neighbourhood parameters.
	knn.Input
	// ClassMinor the minority sample in dataset
	ClassMinor string
	// PercentOver input for oversampling percentage.
	PercentOver int

	// Synthetic output for new sample.
	Synthetic dsv.Dataset
	// contains filtered or unexported fields
}

LNSmote parameters for input and output.

func (*Input) Init

func (in *Input) Init(dataset dsv.Dataset)

func (*Input) Resampling

func (in *Input) Resampling(dataset dsv.Dataset) (synthetics dsv.Dataset)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL