ml

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2022 License: AGPL-3.0 Imports: 6 Imported by: 3

Documentation

Overview

Package ml provides some fundamental machine learning primitives.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Classifier

type Classifier interface {
	Classify(data []float64) (int, error)
	Train(data [][]float64, correct []int) error
}

Classifier TODO.

type GoLearnClassifier

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

GoLearnClassifier TODO.

func (*GoLearnClassifier) Classify

func (c *GoLearnClassifier) Classify(data []float64) (int, error)

Classify TODO.

func (*GoLearnClassifier) Train

func (c *GoLearnClassifier) Train(data [][]float64, correct []int) error

Train TODO.

type GoLearnNNClassifier

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

GoLearnNNClassifier TODO.

func (*GoLearnNNClassifier) Classify

func (c *GoLearnNNClassifier) Classify(data []float64) (int, error)

Classify TODO.

func (*GoLearnNNClassifier) Train

func (c *GoLearnNNClassifier) Train(data [][]float64, correct []int) error

Train TODO.

Directories

Path Synopsis
Package inference allows users to do inference through tflite (tf, pytorch, etc in the future)
Package inference allows users to do inference through tflite (tf, pytorch, etc in the future)

Jump to

Keyboard shortcuts

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