fm

package
Version: v0.0.0-...-d942b2f Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2014 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FactorizeMachine

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

func (*FactorizeMachine) Init

func (c *FactorizeMachine) Init(params map[string]string)

func (*FactorizeMachine) LoadModel

func (self *FactorizeMachine) LoadModel(path string)

func (*FactorizeMachine) Predict

func (c *FactorizeMachine) Predict(sample *core.Sample) float64

func (*FactorizeMachine) SaveModel

func (self *FactorizeMachine) SaveModel(path string)

func (*FactorizeMachine) Train

func (c *FactorizeMachine) Train(dataset *core.DataSet)

type FactorizeMachineParams

type FactorizeMachineParams struct {
	LearningRate   float64
	Regularization float64
	FactorNumber   int
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL