train

package
v0.0.0-...-39aa7b3 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Blue = "\033[34m"
View Source
var Cyan = "\033[36m"
View Source
var Gray = "\033[37m"
View Source
var Green = "\033[32m"
View Source
var Magenta = "\033[35m"
View Source
var Red = "\033[31m"
View Source
var Reset = "\033[0m"
View Source
var White = "\033[97m"
View Source
var Yellow = "\033[33m"

Functions

func Optimize

func Optimize(w []float64, b float64, x [][]float64, y []float64, num_iterations int, learning_rate float64) ([]float64, float64)

func Propagate

func Propagate(w []float64, b float64, x [][]float64, y []float64) (float64, []float64, float64)

func Train

func Train(ctx context.Context, log *log.Logger, cacheDir string, trainDir string) error

Types

type Entry

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

Jump to

Keyboard shortcuts

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