ml

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Argmin

func Argmin(series []DType) int

Types

type Class

type Class int

type Column

type Column []DType

type DType

type DType = float32

type Dataset

type Dataset struct {
	// contains filtered or unexported fields
}

func MakeDatasetFromCSV

func MakeDatasetFromCSV(r *csv.Reader, lableColumn int, testPortion float32) (learn, test Dataset, err error)

func (Dataset) Class

func (d Dataset) Class(lable string) (columns []Column, idx int, ok bool)

func (Dataset) Distribution

func (d Dataset) Distribution(lable string) (distrib DType)

func (Dataset) Lables

func (d Dataset) Lables() []string

type Row

type Row []DType

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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