logit

package
v0.0.0-...-c94c680 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BatchSizeInputError = errors.New("Batch size exceeds the size of data")
)

Functions

This section is empty.

Types

type LGR

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

func (*LGR) Fit

func (lgr *LGR) Fit(train core.Train, targetColumn int) (err error)

func (*LGR) Predict

func (lgr *LGR) Predict(train core.Train, w *mat.VecDense)

type LGRsolver

type LGRsolver int
const (
	// Gradient Descending solver
	GD LGRsolver = 1 << iota
	// Stochastic Gradient Descending solver
	SGD
)

Jump to

Keyboard shortcuts

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