Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Default = current
Default is the package-level default configuration. Use GetDefault/SetDefault for thread-safe access.
Functions ¶
Types ¶
type Config ¶
type Config struct {
// DefaultInferenceMethod is the name of the default inference algorithm
// (e.g. "variable_elimination", "belief_propagation").
DefaultInferenceMethod string
// DefaultSignificance is the default significance level for statistical
// tests (e.g. conditional independence tests).
DefaultSignificance float64
// Verbose controls whether verbose logging is enabled.
Verbose bool
// Seed is the default random seed. A value of 0 means use a random seed.
Seed int64
}
Config holds global configuration defaults for datascience.
func GetDefault ¶
func GetDefault() Config
GetDefault returns a copy of the current global default configuration.
Click to show internal directories.
Click to hide internal directories.