Documentation
¶
Index ¶
- Variables
- func Execute()
- func NewAnalyzeCommand() *cobra.Command
- func NewCompletionCommand(rootCmd *cobra.Command) *cobra.Command
- func NewRootCommand() *cobra.Command
- func NewTransformCommand() *cobra.Command
- func NewValidateCommand() *cobra.Command
- func NewVersionCommand() *cobra.Command
- func ProjectData(data, loadings [][]float64) [][]float64
- type AnalyzeOptions
- type TransformOptions
- type ValidateOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "dev" BuildTime = "unknown" Commit = "unknown" )
Version information (set at build time)
Functions ¶
func NewAnalyzeCommand ¶
NewAnalyzeCommand creates the analyze subcommand
func NewCompletionCommand ¶
NewCompletionCommand creates the completion subcommand
func NewRootCommand ¶
NewRootCommand creates the root cobra command
func NewTransformCommand ¶
NewTransformCommand creates the transform subcommand
func NewValidateCommand ¶
NewValidateCommand creates the validate subcommand
func NewVersionCommand ¶
NewVersionCommand creates the version subcommand
func ProjectData ¶
ProjectData projects data onto principal components using loadings
Types ¶
type AnalyzeOptions ¶
type AnalyzeOptions struct {
// PCA parameters
Components int
Method string
// Kernel PCA parameters
KernelType string
KernelGamma float64
KernelDegree int
KernelCoef0 float64
// Preprocessing options
MeanCenter bool
Scale string // "none", "standard", "robust"
ScaleOnly bool
SNV bool
VectorNorm bool
NoMeanCentering bool
// Data format options
NoHeaders bool
NoIndex bool
Delimiter string
NAValues string
TargetCols string
// Missing data handling
MissingStrategy string
MissingPercent float64
// Output options
OutputFormat string
OutputDir string
OutputScores bool
OutputLoadings bool
OutputVariance bool
OutputAll bool
IncludeMetrics bool
// Exclude options
ExcludeRows string
ExcludeColumns string
// Verbose output
Verbose bool
}
AnalyzeOptions holds all the options for the analyze command
Click to show internal directories.
Click to hide internal directories.