distmlMatlab

package
v0.0.0-...-ba2069d Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2020 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetError

func GetError(x, y string, model MatModel) float64

func GetErrorGlobal

func GetErrorGlobal(x, y string, model MatGlobalModel) (float64, float64)

func Hack

func Hack()

func ReadData

func ReadData(ep *C.Engine, x, y string)

func StartEngine

func StartEngine() *C.Engine

func StopEngine

func StopEngine(ep *C.Engine)

func TestModel

func TestModel(x, y string, model *MatModel)

Types

type MatGlobalModel

type MatGlobalModel struct {
	Params []float64
}

func CompactGlobal

func CompactGlobal(models map[int]MatModel, modelR map[int]map[int]float64, modelC map[int]float64, modelD float64) MatGlobalModel

func (*MatGlobalModel) Test

func (model *MatGlobalModel) Test(ep *C.Engine) (float64, float64)

type MatModel

type MatModel struct {
	Params []float64
	Weight float64
	Size   float64
}

func NewModel

func NewModel(x, y string) MatModel

func (*MatModel) Fit

func (model *MatModel) Fit(ep *C.Engine)

func (*MatModel) Test

func (model *MatModel) Test(ep *C.Engine) (float64, float64)

type MatlabEngine

type MatlabEngine *C.Engine

Jump to

Keyboard shortcuts

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