config

package
v0.9.9 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2025 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 AnalysisConfig

type AnalysisConfig struct {
	// Default number of components if not specified
	DefaultComponents int `json:"default_components"`

	// Whether to show preview of transformed data
	ShowPreview bool `json:"show_preview"`

	// Maximum number of rows to show in preview
	PreviewMaxRows int `json:"preview_max_rows"`
}

AnalysisConfig holds analysis configuration

type CLIConfig

type CLIConfig struct {
	// CSV parsing configuration
	CSV CSVConfig `json:"csv"`

	// Output configuration
	Output OutputConfig `json:"output"`

	// Analysis configuration
	Analysis AnalysisConfig `json:"analysis"`
}

CLIConfig holds configuration for the CLI application

func DefaultConfig

func DefaultConfig() *CLIConfig

DefaultConfig returns the default configuration

type CSVConfig

type CSVConfig struct {
	// Number of rows to sample for column type detection
	TypeDetectionSampleSize int `json:"type_detection_sample_size"`

	// Default null value strings
	DefaultNullValues []string `json:"default_null_values"`
}

CSVConfig holds CSV parsing configuration

type GUIConfig

type GUIConfig struct {
	// Visualization configuration
	Visualization VisualizationConfig `json:"visualization"`

	// UI configuration
	UI UIConfig `json:"ui"`
}

GUIConfig holds configuration for the GUI application

func DefaultGUIConfig

func DefaultGUIConfig() *GUIConfig

DefaultGUIConfig returns the default GUI configuration

type OutputConfig

type OutputConfig struct {
	// Suffix for output files
	FileSuffix string `json:"file_suffix"`

	// Whether to create output directory if it doesn't exist
	CreateOutputDir bool `json:"create_output_dir"`
}

OutputConfig holds output file configuration

type UIConfig

type UIConfig struct {
	// Maximum rows to show in data preview
	DataPreviewMaxRows int `json:"data_preview_max_rows"`

	// Maximum columns to show in data preview
	DataPreviewMaxCols int `json:"data_preview_max_cols"`

	// Default zoom factor for plots
	DefaultZoomFactor float64 `json:"default_zoom_factor"`
}

UIConfig holds UI-related configuration

type VisualizationConfig

type VisualizationConfig struct {
	// Threshold for showing variables in loadings plot
	LoadingsVariableThreshold int `json:"loadings_variable_threshold"`

	// Maximum variables to display in biplot
	BiplotMaxVariables int `json:"biplot_max_variables"`

	// Maximum variables to display in circle of correlations
	CircleMaxVariables int `json:"circle_max_variables"`

	// Threshold for correlation circle
	CorrelationThreshold float64 `json:"correlation_threshold"`

	// Elbow threshold for scree plot
	ElbowThreshold float64 `json:"elbow_threshold"`

	// Diagnostic plot thresholds
	MahalanobisThreshold float64 `json:"mahalanobis_threshold"`
	RSSThreshold         float64 `json:"rss_threshold"`

	// Default confidence level for ellipses
	DefaultConfidenceLevel float64 `json:"default_confidence_level"`
}

VisualizationConfig holds visualization-related configuration

Jump to

Keyboard shortcuts

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