bayes

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

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

Model is a model trained from a journal

func NewModel

func NewModel() *Model

NewModel creates a new model.

func (*Model) Infer

func (m *Model) Infer(trx ledger.Transaction, tbd *ledger.Account)

Infer replaces the given account with an inferred account.

func (*Model) Update

func (m *Model) Update(t ledger.Transaction)

Update updates the model with the given transaction.

Jump to

Keyboard shortcuts

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