models

package
v0.0.0-...-17e6b21 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComplianceModel

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

func (*ComplianceModel) Predict

func (cm *ComplianceModel) Predict(
	ctx context.Context,
	input interface{},
) (*PredictionResult, error)

type Finding

type Finding struct {
	Type        string
	Severity    string
	Description string
	Evidence    map[string]interface{}
	Confidence  float64
}

type PredictionResult

type PredictionResult struct {
	Findings     []Finding
	Confidence   float64
	RiskLevel    string
	ModelVersion string
	Timestamp    time.Time
}

Jump to

Keyboard shortcuts

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