bayesdump

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BayesDump

type BayesDump struct {
	// Classes is a slice of classes used for deciding where to place new
	// data.
	Classes []string `json:"classes"`

	// CasesTotal is the number of entities collected during training.
	CasesTotal int `json:"casesTotal"`

	// ClassCases is the number of entities partitioned to their corresponding
	// classes during training.
	ClassCases map[string]int `json:"classCases"`

	// FeatureCases is the entities from training paritioned by separate
	// features.
	FeatureCases map[string]map[string]map[string]int `json:"featureCases"`
}

BayesDump is a printing/serializing friendly presentation of data from private fields of Bayes implementation. It contains everything needed for training the classifier.

Jump to

Keyboard shortcuts

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