features

package
v0.0.0-...-731a333 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2016 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CategoricalEncoder

type CategoricalEncoder struct {
	Column int
	Sort   bool
	Map    func(s string) string
}

func (*CategoricalEncoder) Encode

func (e *CategoricalEncoder) Encode(data [][]string) (*PartialMatrix, error)

type Encoder

type Encoder interface {
	Encode(data [][]string) (*PartialMatrix, error)
}

type NumericEncoder

type NumericEncoder struct {
	Column     int
	ColumnName string
}

func (*NumericEncoder) Encode

func (e *NumericEncoder) Encode(data [][]string) (*PartialMatrix, error)

type NumericMultiplicationEncoder

type NumericMultiplicationEncoder struct {
	Columns    []int
	ColumnName string
}

func (*NumericMultiplicationEncoder) Encode

func (e *NumericMultiplicationEncoder) Encode(data [][]string) (*PartialMatrix, error)

type NumericSumEncoder

type NumericSumEncoder struct {
	Columns    []int
	ColumnName string
}

func (*NumericSumEncoder) Encode

func (e *NumericSumEncoder) Encode(data [][]string) (*PartialMatrix, error)

type PartialMatrix

type PartialMatrix struct {
	Matrix  []float64
	Columns []string
}

type TFIDFEncoder

type TFIDFEncoder struct {
	Column    int
	Separator func(string) []string
	Sort      bool
}

func (*TFIDFEncoder) Encode

func (e *TFIDFEncoder) Encode(data [][]string) (*PartialMatrix, error)

type WordsCounterEncoder

type WordsCounterEncoder struct {
	Column    int
	Separator func(string) []string
	Sort      bool
}

func (*WordsCounterEncoder) Encode

func (e *WordsCounterEncoder) Encode(data [][]string) (*PartialMatrix, error)

Jump to

Keyboard shortcuts

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