v1alpha1

package
v0.4.476 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2022 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Overview

+groupName=training.modela.ai +kubebuilder:object:generate=true

+kubebuilder:object:generate=true +groupName=training.modela.ai

Index

Constants

View Source
const (
	ReasonFailed             = "Failed"
	ReasonTesting            = "Testing"
	ReasonReporting          = "Reporting"
	ReasonProfiling          = "Profiling"
	ReasonPublishing         = "Publishing"
	ReasonReleasing          = "Releasing"
	ReasonTraining           = "Training"
	ReasonBaselining         = "Baselining"
	ReasonFeatureEngineering = "FeatureEngineering"
	ReasonCreateEnsemble     = "CreateEnsemble"
	ReasonPausing            = "Pausing"
	ReasonWaitingToTrain     = "WaitingToTrain"
	ReasonWaitingToTest      = "WaitingToTest"
)
View Source
const (
	MCRSaved     ModelCompilerRunConditionType = "Saved"
	MCRCompleted PipelineRunConditionType      = "Completed"
)

/ ModelCompilerRun Condition

View Source
const (
	DEFAULT_MIN_SCORE float64 = 0.8
)
View Source
const NotebookTpl = `` /* 315-byte string literal not displayed */
View Source
const PipelineLabelKey = "pipeline"

Variables

View Source
var (
	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// SchemeBuilder registers our types
	SchemeBuilder = k8sruntime.NewSchemeBuilder(AddKnownTypes)
	// AddToScheme local alias for SchemeBuilder.AddToScheme
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: training.GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func AddKnownTypes

func AddKnownTypes(scheme *k8sruntime.Scheme) error

Adds the list of known types to api.Scheme.

func DefaultObjective

func DefaultObjective(task catalog.MLTask) catalog.Metric

func DefaultSplit added in v0.4.429

func DefaultSplit(task catalog.MLTask) catalog.DataSplitMethod

func HyperparamAsString

func HyperparamAsString(params []HyperParameterValue) string

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type ActivationName

type ActivationName string
const (
	ActivationNameSoftMax     ActivationName = "softmax"
	ActivationNameElu         ActivationName = "elu"
	ActivationNameSelu        ActivationName = "selu"
	ActivationNameSoftsign    ActivationName = "softsign"
	ActivationNameRelu        ActivationName = "relu"
	ActivationNameTanh        ActivationName = "tanh"
	ActivationNameSigmoid     ActivationName = "sigmoid"
	ActivationNameHardSigmoid ActivationName = "hardsigmoid"
	ActivationNameExponential ActivationName = "exponential"
	ActivationNameLinear      ActivationName = "linear"
)

type AlgorithmFilterName

type AlgorithmFilterName string

+kubebuilder:validation:Enum="quick";"linear-only";"tree";"default-hp";"none";

const (
	// only logistic regression and xgboost
	AlgorithmFilterNameQuick AlgorithmFilterName = "quick"
	// Select only from linear algorithms
	AlgorithmFilterNameLinearOnly AlgorithmFilterName = "linear-only"
	// Select only tree based algorithms
	AlgorithmFilterNameTreeOnly AlgorithmFilterName = "tree"
	// sample from all algorithms , use default hyper parameters
	AlgorithmFilterNameDefaultParameters AlgorithmFilterName = "default-hp"
	// optimal
	AlgorithmFilterNameNone AlgorithmFilterName = "none"
)

type AlgorithmSearchSpaceSpec

type AlgorithmSearchSpaceSpec struct {
	// AllowList contain the list of algorithms that should be tested as part of the search.
	// Use this to filter specific algorithm
	// +kubebuilder:validation:Optional
	AllowList []catalog.ClassicEstimatorName `json:"allowlist,omitempty" protobuf:"bytes,1,rep,name=allowlist"`
	// set a general filter on the allowed algorithm
	// +kubebuilder:default:="none"
	// +kubebuilder:validation:Optional
	AlgorithmFilter *AlgorithmFilterName `json:"filter,omitempty" protobuf:"bytes,2,opt,name=filter"`
}

func (*AlgorithmSearchSpaceSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlgorithmSearchSpaceSpec.

func (*AlgorithmSearchSpaceSpec) DeepCopyInto

func (in *AlgorithmSearchSpaceSpec) DeepCopyInto(out *AlgorithmSearchSpaceSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AlgorithmSearchSpaceSpec) Descriptor

func (*AlgorithmSearchSpaceSpec) Descriptor() ([]byte, []int)

func (*AlgorithmSearchSpaceSpec) Marshal

func (m *AlgorithmSearchSpaceSpec) Marshal() (dAtA []byte, err error)

func (*AlgorithmSearchSpaceSpec) MarshalTo

func (m *AlgorithmSearchSpaceSpec) MarshalTo(dAtA []byte) (int, error)

func (*AlgorithmSearchSpaceSpec) MarshalToSizedBuffer

func (m *AlgorithmSearchSpaceSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AlgorithmSearchSpaceSpec) ProtoMessage

func (*AlgorithmSearchSpaceSpec) ProtoMessage()

func (*AlgorithmSearchSpaceSpec) Reset

func (m *AlgorithmSearchSpaceSpec) Reset()

func (*AlgorithmSearchSpaceSpec) Size

func (m *AlgorithmSearchSpaceSpec) Size() (n int)

func (*AlgorithmSearchSpaceSpec) String

func (this *AlgorithmSearchSpaceSpec) String() string

func (*AlgorithmSearchSpaceSpec) Unmarshal

func (m *AlgorithmSearchSpaceSpec) Unmarshal(dAtA []byte) error

func (*AlgorithmSearchSpaceSpec) XXX_DiscardUnknown

func (m *AlgorithmSearchSpaceSpec) XXX_DiscardUnknown()

func (*AlgorithmSearchSpaceSpec) XXX_Marshal

func (m *AlgorithmSearchSpaceSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AlgorithmSearchSpaceSpec) XXX_Merge

func (m *AlgorithmSearchSpaceSpec) XXX_Merge(src proto.Message)

func (*AlgorithmSearchSpaceSpec) XXX_Size

func (m *AlgorithmSearchSpaceSpec) XXX_Size() int

func (*AlgorithmSearchSpaceSpec) XXX_Unmarshal

func (m *AlgorithmSearchSpaceSpec) XXX_Unmarshal(b []byte) error

type AudioPipelineSpec

type AudioPipelineSpec struct {
	// The date time imputer.
	// +kubebuilder:default:="auto"
	// +kubebuilder:validation:Optional
	Featurizer *catalog.AudioFeaturizer `json:"featurizer,omitempty" protobuf:"bytes,1,opt,name=featurizer"`
}

AudioPipelineSpec is the specification for preprocessing audio data

func (*AudioPipelineSpec) DeepCopy

func (in *AudioPipelineSpec) DeepCopy() *AudioPipelineSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AudioPipelineSpec.

func (*AudioPipelineSpec) DeepCopyInto

func (in *AudioPipelineSpec) DeepCopyInto(out *AudioPipelineSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AudioPipelineSpec) Descriptor

func (*AudioPipelineSpec) Descriptor() ([]byte, []int)

func (*AudioPipelineSpec) Marshal

func (m *AudioPipelineSpec) Marshal() (dAtA []byte, err error)

func (*AudioPipelineSpec) MarshalTo

func (m *AudioPipelineSpec) MarshalTo(dAtA []byte) (int, error)

func (*AudioPipelineSpec) MarshalToSizedBuffer

func (m *AudioPipelineSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AudioPipelineSpec) ProtoMessage

func (*AudioPipelineSpec) ProtoMessage()

func (*AudioPipelineSpec) Reset

func (m *AudioPipelineSpec) Reset()

func (*AudioPipelineSpec) Size

func (m *AudioPipelineSpec) Size() (n int)

func (*AudioPipelineSpec) String

func (this *AudioPipelineSpec) String() string

func (*AudioPipelineSpec) Unmarshal

func (m *AudioPipelineSpec) Unmarshal(dAtA []byte) error

func (*AudioPipelineSpec) XXX_DiscardUnknown

func (m *AudioPipelineSpec) XXX_DiscardUnknown()

func (*AudioPipelineSpec) XXX_Marshal

func (m *AudioPipelineSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AudioPipelineSpec) XXX_Merge

func (m *AudioPipelineSpec) XXX_Merge(src proto.Message)

func (*AudioPipelineSpec) XXX_Size

func (m *AudioPipelineSpec) XXX_Size() int

func (*AudioPipelineSpec) XXX_Unmarshal

func (m *AudioPipelineSpec) XXX_Unmarshal(b []byte) error

type BacktestSpec

type BacktestSpec struct {
	// If true, use sliding windows, else use expanding windows
	// +kubebuilder:default = false
	// +kubebuilder:validation:Optional
	Sliding *bool `json:"sliding,omitempty" protobuf:"varint,1,opt,name=sliding"`
	// Number of splits. Default is 5
	// +kubebuilder:default = 5
	// +kubebuilder:validation:Optional
	Splits *int32 `json:"splits,omitempty" protobuf:"varint,2,opt,name=splits"`
	// Max size for a single training set
	// +kubebuilder:default = 0
	// +kubebuilder:validation:Optional
	MaxTrainSize *int32 `json:"maxTrainSize,omitempty" protobuf:"varint,3,opt,name=maxTrainSize"`
	// The number of data points to forecast on.
	// +kubebuilder:default = 0
	// +kubebuilder:validation:Minimum=0
	// +kubebuilder:validation:Optional
	TestSize *int32 `json:"Horizon,omitempty" protobuf:"varint,4,opt,name=Horizon"`
	// The number of data points between each windows
	// +kubebuilder:default = 0
	// +kubebuilder:validation:Minimum=0
	// +kubebuilder:validation:Optional
	Gap *int32 `json:"gap,omitempty" protobuf:"varint,5,opt,name=gap"`
}

BacktestSpec specify the back test

func (*BacktestSpec) DeepCopy

func (in *BacktestSpec) DeepCopy() *BacktestSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BacktestSpec.

func (*BacktestSpec) DeepCopyInto

func (in *BacktestSpec) DeepCopyInto(out *BacktestSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BacktestSpec) Descriptor

func (*BacktestSpec) Descriptor() ([]byte, []int)

func (*BacktestSpec) Marshal

func (m *BacktestSpec) Marshal() (dAtA []byte, err error)

func (*BacktestSpec) MarshalTo

func (m *BacktestSpec) MarshalTo(dAtA []byte) (int, error)

func (*BacktestSpec) MarshalToSizedBuffer

func (m *BacktestSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BacktestSpec) ProtoMessage

func (*BacktestSpec) ProtoMessage()

func (*BacktestSpec) Reset

func (m *BacktestSpec) Reset()

func (*BacktestSpec) Size

func (m *BacktestSpec) Size() (n int)

func (*BacktestSpec) String

func (this *BacktestSpec) String() string

func (*BacktestSpec) Unmarshal

func (m *BacktestSpec) Unmarshal(dAtA []byte) error

func (*BacktestSpec) XXX_DiscardUnknown

func (m *BacktestSpec) XXX_DiscardUnknown()

func (*BacktestSpec) XXX_Marshal

func (m *BacktestSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BacktestSpec) XXX_Merge

func (m *BacktestSpec) XXX_Merge(src proto.Message)

func (*BacktestSpec) XXX_Size

func (m *BacktestSpec) XXX_Size() int

func (*BacktestSpec) XXX_Unmarshal

func (m *BacktestSpec) XXX_Unmarshal(b []byte) error

type BaselineSpec

type BaselineSpec struct {
	// Set to true for baseline
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" protobuf:"bytes,1,opt,name=enabled"`
	// Baselines holds the name of the base line algorithms to try
	// +kubebuilder:validation:Optional
	Baselines []catalog.ClassicEstimatorName `json:"baselines,omitempty" protobuf:"bytes,2,rep,name=baselines"`
	// Indicate the all alg for the task
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	All *bool `json:"all,omitempty" protobuf:"bytes,3,opt,name=all"`
}

Define the baseline phase spec

func (*BaselineSpec) DeepCopy

func (in *BaselineSpec) DeepCopy() *BaselineSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BaselineSpec.

func (*BaselineSpec) DeepCopyInto

func (in *BaselineSpec) DeepCopyInto(out *BaselineSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BaselineSpec) Descriptor

func (*BaselineSpec) Descriptor() ([]byte, []int)

func (*BaselineSpec) Marshal

func (m *BaselineSpec) Marshal() (dAtA []byte, err error)

func (*BaselineSpec) MarshalTo

func (m *BaselineSpec) MarshalTo(dAtA []byte) (int, error)

func (*BaselineSpec) MarshalToSizedBuffer

func (m *BaselineSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BaselineSpec) ProtoMessage

func (*BaselineSpec) ProtoMessage()

func (*BaselineSpec) Reset

func (m *BaselineSpec) Reset()

func (*BaselineSpec) Size

func (m *BaselineSpec) Size() (n int)

func (*BaselineSpec) String

func (this *BaselineSpec) String() string

func (*BaselineSpec) Unmarshal

func (m *BaselineSpec) Unmarshal(dAtA []byte) error

func (*BaselineSpec) XXX_DiscardUnknown

func (m *BaselineSpec) XXX_DiscardUnknown()

func (*BaselineSpec) XXX_Marshal

func (m *BaselineSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BaselineSpec) XXX_Merge

func (m *BaselineSpec) XXX_Merge(src proto.Message)

func (*BaselineSpec) XXX_Size

func (m *BaselineSpec) XXX_Size() int

func (*BaselineSpec) XXX_Unmarshal

func (m *BaselineSpec) XXX_Unmarshal(b []byte) error

type CapacityStageSpec

type CapacityStageSpec struct {
	// Enabled indicates that the stage is enabled
	// +kubebuilder:default:=false
	//+kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" protobuf:"varint,1,opt,name=enabled"`
	// ServingSiteName is the serving site for the testing during the capacity stage
	// If the serving site is empty or null, the system will skip the capacity stage unit tests.
	// +kubebuilder:default =""
	// +kubebuilder:validation:Optional
	ServingSiteName *string `json:"servingSiteName,omitempty" protobuf:"bytes,2,opt,name=servingSiteName"`
	// Validations is the specification of tests to run in this stage
	// +kubebuilder:validation:Optional
	Validations []ModelValidation `json:"validations,omitempty" protobuf:"bytes,3,rep,name=validations"`
	// Resource define the hardware resources req.
	// +kubebuilder:validation:Optional
	Resources catalog.ResourceSpec `json:"resources,omitempty" protobuf:"bytes,4,opt,name=resources"`
}

CapacityStageSpec is the desired state of the capcity testing.

func (*CapacityStageSpec) DeepCopy

func (in *CapacityStageSpec) DeepCopy() *CapacityStageSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CapacityStageSpec.

func (*CapacityStageSpec) DeepCopyInto

func (in *CapacityStageSpec) DeepCopyInto(out *CapacityStageSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CapacityStageSpec) Descriptor

func (*CapacityStageSpec) Descriptor() ([]byte, []int)

func (*CapacityStageSpec) Marshal

func (m *CapacityStageSpec) Marshal() (dAtA []byte, err error)

func (*CapacityStageSpec) MarshalTo

func (m *CapacityStageSpec) MarshalTo(dAtA []byte) (int, error)

func (*CapacityStageSpec) MarshalToSizedBuffer

func (m *CapacityStageSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CapacityStageSpec) ProtoMessage

func (*CapacityStageSpec) ProtoMessage()

func (*CapacityStageSpec) Reset

func (m *CapacityStageSpec) Reset()

func (*CapacityStageSpec) Size

func (m *CapacityStageSpec) Size() (n int)

func (*CapacityStageSpec) String

func (this *CapacityStageSpec) String() string

func (*CapacityStageSpec) Unmarshal

func (m *CapacityStageSpec) Unmarshal(dAtA []byte) error

func (*CapacityStageSpec) XXX_DiscardUnknown

func (m *CapacityStageSpec) XXX_DiscardUnknown()

func (*CapacityStageSpec) XXX_Marshal

func (m *CapacityStageSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CapacityStageSpec) XXX_Merge

func (m *CapacityStageSpec) XXX_Merge(src proto.Message)

func (*CapacityStageSpec) XXX_Size

func (m *CapacityStageSpec) XXX_Size() int

func (*CapacityStageSpec) XXX_Unmarshal

func (m *CapacityStageSpec) XXX_Unmarshal(b []byte) error

type ChangePointSpec

type ChangePointSpec struct {
	// number of change points
	// +kubebuilder:default = 25
	// +kubebuilder:validation:Optional
	N *int32 `json:"N,omitempty" protobuf:"varint,1,opt,name=N"`
	// Change point range
	// +kubebuilder:default = 0.8
	// +kubebuilder:validation:Optional
	Range *float64 `json:"range,omitempty" protobuf:"bytes,2,opt,name=range"`
}

func (*ChangePointSpec) DeepCopy

func (in *ChangePointSpec) DeepCopy() *ChangePointSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChangePointSpec.

func (*ChangePointSpec) DeepCopyInto

func (in *ChangePointSpec) DeepCopyInto(out *ChangePointSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ChangePointSpec) Descriptor

func (*ChangePointSpec) Descriptor() ([]byte, []int)

func (*ChangePointSpec) Marshal

func (m *ChangePointSpec) Marshal() (dAtA []byte, err error)

func (*ChangePointSpec) MarshalTo

func (m *ChangePointSpec) MarshalTo(dAtA []byte) (int, error)

func (*ChangePointSpec) MarshalToSizedBuffer

func (m *ChangePointSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ChangePointSpec) ProtoMessage

func (*ChangePointSpec) ProtoMessage()

func (*ChangePointSpec) Reset

func (m *ChangePointSpec) Reset()

func (*ChangePointSpec) Size

func (m *ChangePointSpec) Size() (n int)

func (*ChangePointSpec) String

func (this *ChangePointSpec) String() string

func (*ChangePointSpec) Unmarshal

func (m *ChangePointSpec) Unmarshal(dAtA []byte) error

func (*ChangePointSpec) XXX_DiscardUnknown

func (m *ChangePointSpec) XXX_DiscardUnknown()

func (*ChangePointSpec) XXX_Marshal

func (m *ChangePointSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChangePointSpec) XXX_Merge

func (m *ChangePointSpec) XXX_Merge(src proto.Message)

func (*ChangePointSpec) XXX_Size

func (m *ChangePointSpec) XXX_Size() int

func (*ChangePointSpec) XXX_Unmarshal

func (m *ChangePointSpec) XXX_Unmarshal(b []byte) error

type ChatbotEstimatorSpec

type ChatbotEstimatorSpec struct {
	// The name of the base model
	// +kubebuilder:validation:Optional
	Base *string `json:"base,omitempty" protobuf:"bytes,1,opt,name=base"`
}

ChatbotEstimatorSpec is an spec for chat bot. This is not implemented yet

func (*ChatbotEstimatorSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChatbotEstimatorSpec.

func (*ChatbotEstimatorSpec) DeepCopyInto

func (in *ChatbotEstimatorSpec) DeepCopyInto(out *ChatbotEstimatorSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ChatbotEstimatorSpec) Descriptor

func (*ChatbotEstimatorSpec) Descriptor() ([]byte, []int)

func (*ChatbotEstimatorSpec) Marshal

func (m *ChatbotEstimatorSpec) Marshal() (dAtA []byte, err error)

func (*ChatbotEstimatorSpec) MarshalTo

func (m *ChatbotEstimatorSpec) MarshalTo(dAtA []byte) (int, error)

func (*ChatbotEstimatorSpec) MarshalToSizedBuffer

func (m *ChatbotEstimatorSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ChatbotEstimatorSpec) ProtoMessage

func (*ChatbotEstimatorSpec) ProtoMessage()

func (*ChatbotEstimatorSpec) Reset

func (m *ChatbotEstimatorSpec) Reset()

func (*ChatbotEstimatorSpec) Size

func (m *ChatbotEstimatorSpec) Size() (n int)

func (*ChatbotEstimatorSpec) String

func (this *ChatbotEstimatorSpec) String() string

func (*ChatbotEstimatorSpec) Unmarshal

func (m *ChatbotEstimatorSpec) Unmarshal(dAtA []byte) error

func (*ChatbotEstimatorSpec) XXX_DiscardUnknown

func (m *ChatbotEstimatorSpec) XXX_DiscardUnknown()

func (*ChatbotEstimatorSpec) XXX_Marshal

func (m *ChatbotEstimatorSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChatbotEstimatorSpec) XXX_Merge

func (m *ChatbotEstimatorSpec) XXX_Merge(src proto.Message)

func (*ChatbotEstimatorSpec) XXX_Size

func (m *ChatbotEstimatorSpec) XXX_Size() int

func (*ChatbotEstimatorSpec) XXX_Unmarshal

func (m *ChatbotEstimatorSpec) XXX_Unmarshal(b []byte) error

type ClassicalEstimatorSpec

type ClassicalEstimatorSpec struct {
	// AlgorithmName is a reference to the algorithm in the catalog
	AlgorithmName string `json:"algorithmName,omitempty" protobuf:"bytes,1,opt,name=algorithmName"`
	// Parameters is a list of the algorithm hyper parameters
	Parameters []HyperParameterValue `json:"parameters,omitempty" protobuf:"bytes,2,rep,name=parameters,casttype=HyperParameterValue"`
}

ClassicalEstimatorSpec is the specification for an algorithm and the actual value fof the hyper parameters

func (*ClassicalEstimatorSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClassicalEstimatorSpec.

func (*ClassicalEstimatorSpec) DeepCopyInto

func (in *ClassicalEstimatorSpec) DeepCopyInto(out *ClassicalEstimatorSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClassicalEstimatorSpec) Descriptor

func (*ClassicalEstimatorSpec) Descriptor() ([]byte, []int)

func (*ClassicalEstimatorSpec) Marshal

func (m *ClassicalEstimatorSpec) Marshal() (dAtA []byte, err error)

func (*ClassicalEstimatorSpec) MarshalTo

func (m *ClassicalEstimatorSpec) MarshalTo(dAtA []byte) (int, error)

func (*ClassicalEstimatorSpec) MarshalToSizedBuffer

func (m *ClassicalEstimatorSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClassicalEstimatorSpec) ProtoMessage

func (*ClassicalEstimatorSpec) ProtoMessage()

func (*ClassicalEstimatorSpec) Reset

func (m *ClassicalEstimatorSpec) Reset()

func (*ClassicalEstimatorSpec) Size

func (m *ClassicalEstimatorSpec) Size() (n int)

func (*ClassicalEstimatorSpec) String

func (this *ClassicalEstimatorSpec) String() string

func (*ClassicalEstimatorSpec) Unmarshal

func (m *ClassicalEstimatorSpec) Unmarshal(dAtA []byte) error

func (*ClassicalEstimatorSpec) XXX_DiscardUnknown

func (m *ClassicalEstimatorSpec) XXX_DiscardUnknown()

func (*ClassicalEstimatorSpec) XXX_Marshal

func (m *ClassicalEstimatorSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClassicalEstimatorSpec) XXX_Merge

func (m *ClassicalEstimatorSpec) XXX_Merge(src proto.Message)

func (*ClassicalEstimatorSpec) XXX_Size

func (m *ClassicalEstimatorSpec) XXX_Size() int

func (*ClassicalEstimatorSpec) XXX_Unmarshal

func (m *ClassicalEstimatorSpec) XXX_Unmarshal(b []byte) error

type CompilerPhase

type CompilerPhase string
const (
	CompilerPhasePending   CompilerPhase = "Pending"
	CompilerPhaseAborted   CompilerPhase = "Aborted"
	CompilerPhaseTraining  CompilerPhase = "Training"
	CompilerPhaseCompleted CompilerPhase = "Completed"
	CompilerPhaseFailed    CompilerPhase = "Failed"
)

type ConstraintName

type ConstraintName string
const (
	ConstraintNameMaxNorm    ConstraintName = "max-norm"
	ConstraintNameNonNeg     ConstraintName = "non-reg"
	ConstraintNameUnitNorm   ConstraintName = "unit-norm"
	ConstraintNameMinMaxNorm ConstraintName = "max-norm"
	ConstraintNameNone       ConstraintName = "none"
)

type CronReport

type CronReport struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Spec              CronReportSpec   `json:"spec" protobuf:"bytes,2,opt,name=spec"`
	Status            CronReportStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

CronReport represents a run of the summary report.

func (*CronReport) AddFinalizer

func (run *CronReport) AddFinalizer()

func (*CronReport) CreateOrUpdateCond

func (run *CronReport) CreateOrUpdateCond(cond CronReportCondition)

Merge or update condition Merge or update condition

func (*CronReport) DeepCopy

func (in *CronReport) DeepCopy() *CronReport

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronReport.

func (*CronReport) DeepCopyInto

func (in *CronReport) DeepCopyInto(out *CronReport)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CronReport) DeepCopyObject

func (in *CronReport) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*CronReport) Default

func (pre *CronReport) Default()

func (*CronReport) Descriptor

func (*CronReport) Descriptor() ([]byte, []int)

func (*CronReport) GetCond

func (*CronReport) GetCondIdx

func (run *CronReport) GetCondIdx(t CronReportConditionType) int

func (*CronReport) HasFinalizer

func (run *CronReport) HasFinalizer() bool

func (*CronReport) IsCompleted

func (run *CronReport) IsCompleted() bool

func (*CronReport) IsFailed

func (run *CronReport) IsFailed() bool

func (*CronReport) IsReady

func (run *CronReport) IsReady() bool

func (*CronReport) IsRunning

func (run *CronReport) IsRunning() bool

func (*CronReport) IsSaved

func (run *CronReport) IsSaved() bool

func (*CronReport) Key

func (run *CronReport) Key() string

func (*CronReport) ManifestUri

func (run *CronReport) ManifestUri() string

func (*CronReport) MarkReady

func (run *CronReport) MarkReady()

func (*CronReport) MarkSaved

func (run *CronReport) MarkSaved()

func (*CronReport) Marshal

func (m *CronReport) Marshal() (dAtA []byte, err error)

func (*CronReport) MarshalTo

func (m *CronReport) MarshalTo(dAtA []byte) (int, error)

func (*CronReport) MarshalToSizedBuffer

func (m *CronReport) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CronReport) OpName

func (run *CronReport) OpName() string

func (*CronReport) PipelineName

func (run *CronReport) PipelineName() string

func (*CronReport) ProtoMessage

func (*CronReport) ProtoMessage()

func (*CronReport) RemoveFinalizer

func (run *CronReport) RemoveFinalizer()

func (*CronReport) RepPath

func (run *CronReport) RepPath(root string) (string, error)

Return the on disk rep location

func (*CronReport) Reset

func (m *CronReport) Reset()

func (*CronReport) RootUri

func (run *CronReport) RootUri() string

func (*CronReport) SetupWebhookWithManager

func (run *CronReport) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*CronReport) Size

func (m *CronReport) Size() (n int)

func (*CronReport) String

func (this *CronReport) String() string

func (*CronReport) ToYamlFile

func (run *CronReport) ToYamlFile() ([]byte, error)

func (*CronReport) Unmarshal

func (m *CronReport) Unmarshal(dAtA []byte) error

func (*CronReport) ValidateCreate

func (report *CronReport) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*CronReport) ValidateDelete

func (report *CronReport) ValidateDelete() error

func (*CronReport) ValidateUpdate

func (report *CronReport) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

func (*CronReport) XXX_DiscardUnknown

func (m *CronReport) XXX_DiscardUnknown()

func (*CronReport) XXX_Marshal

func (m *CronReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CronReport) XXX_Merge

func (m *CronReport) XXX_Merge(src proto.Message)

func (*CronReport) XXX_Size

func (m *CronReport) XXX_Size() int

func (*CronReport) XXX_Unmarshal

func (m *CronReport) XXX_Unmarshal(b []byte) error

type CronReportCondition

type CronReportCondition struct {
	// Type of  condition.
	Type CronReportConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=CronReportConditionType"`
	// Status of the condition, one of True, False, Unknown.
	Status v1.ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=k8s.io/api/core/v1.ConditionStatus"`
	// Last time the condition transitioned from one status to another.
	LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,3,opt,name=lastTransitionTime"`
	// The reason for the condition's last transition.
	Reason string `json:"reason,omitempty" protobuf:"bytes,4,opt,name=reason"`
	// A human readable message indicating details about the transition.
	Message string `json:"message,omitempty" protobuf:"bytes,5,opt,name=message"`
}

ReportCondition describes the state of ReportTemplate

func (*CronReportCondition) DeepCopy

func (in *CronReportCondition) DeepCopy() *CronReportCondition

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronReportCondition.

func (*CronReportCondition) DeepCopyInto

func (in *CronReportCondition) DeepCopyInto(out *CronReportCondition)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CronReportCondition) Descriptor

func (*CronReportCondition) Descriptor() ([]byte, []int)

func (*CronReportCondition) Marshal

func (m *CronReportCondition) Marshal() (dAtA []byte, err error)

func (*CronReportCondition) MarshalTo

func (m *CronReportCondition) MarshalTo(dAtA []byte) (int, error)

func (*CronReportCondition) MarshalToSizedBuffer

func (m *CronReportCondition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CronReportCondition) ProtoMessage

func (*CronReportCondition) ProtoMessage()

func (*CronReportCondition) Reset

func (m *CronReportCondition) Reset()

func (*CronReportCondition) Size

func (m *CronReportCondition) Size() (n int)

func (*CronReportCondition) String

func (this *CronReportCondition) String() string

func (*CronReportCondition) Unmarshal

func (m *CronReportCondition) Unmarshal(dAtA []byte) error

func (*CronReportCondition) XXX_DiscardUnknown

func (m *CronReportCondition) XXX_DiscardUnknown()

func (*CronReportCondition) XXX_Marshal

func (m *CronReportCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CronReportCondition) XXX_Merge

func (m *CronReportCondition) XXX_Merge(src proto.Message)

func (*CronReportCondition) XXX_Size

func (m *CronReportCondition) XXX_Size() int

func (*CronReportCondition) XXX_Unmarshal

func (m *CronReportCondition) XXX_Unmarshal(b []byte) error

type CronReportConditionType

type CronReportConditionType string

ReportTemplate Condition

const (
	CronReportReady CronReportConditionType = "Ready"
	CronReportSaved CronReportConditionType = "Saved"
)

/ ReportTemplate Condition

type CronReportList

type CronReportList struct {
	metav1.TypeMeta `json:",inline" `
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Items           []CronReport `json:"items" protobuf:"bytes,2,rep,name=items"`
}

+kubebuilder:object:root=true CronReportList is a list of CronReport

func (*CronReportList) DeepCopy

func (in *CronReportList) DeepCopy() *CronReportList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronReportList.

func (*CronReportList) DeepCopyInto

func (in *CronReportList) DeepCopyInto(out *CronReportList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CronReportList) DeepCopyObject

func (in *CronReportList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*CronReportList) Descriptor

func (*CronReportList) Descriptor() ([]byte, []int)

func (*CronReportList) Marshal

func (m *CronReportList) Marshal() (dAtA []byte, err error)

func (*CronReportList) MarshalTo

func (m *CronReportList) MarshalTo(dAtA []byte) (int, error)

func (*CronReportList) MarshalToSizedBuffer

func (m *CronReportList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CronReportList) ProtoMessage

func (*CronReportList) ProtoMessage()

func (*CronReportList) Reset

func (m *CronReportList) Reset()

func (*CronReportList) Size

func (m *CronReportList) Size() (n int)

func (*CronReportList) String

func (this *CronReportList) String() string

func (*CronReportList) Unmarshal

func (m *CronReportList) Unmarshal(dAtA []byte) error

func (*CronReportList) XXX_DiscardUnknown

func (m *CronReportList) XXX_DiscardUnknown()

func (*CronReportList) XXX_Marshal

func (m *CronReportList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CronReportList) XXX_Merge

func (m *CronReportList) XXX_Merge(src proto.Message)

func (*CronReportList) XXX_Size

func (m *CronReportList) XXX_Size() int

func (*CronReportList) XXX_Unmarshal

func (m *CronReportList) XXX_Unmarshal(b []byte) error

type CronReportSpec

type CronReportSpec struct {
	// VersionName is the data product version of the data pipeline
	// +kubebuilder:default:=""
	// +kubebuilder:validation:Optional
	VersionName *string `json:"versionName,omitempty" protobuf:"bytes,1,opt,name=versionName"`
	// The owner account name
	// +kubebuilder:default:="no-one"
	// +kubebuilder:validation:Optional
	Owner *string `json:"owner,omitempty" protobuf:"bytes,2,opt,name=owner"`
	// Schedule for running the pipeline
	// +kubebuilder:validation:Optional
	Schedule catalog.RunSchedule `json:"schedule,omitempty" protobuf:"bytes,3,opt,name=schedule"`
	// +kubebuilder:default:=none
	// +kubebuilder:validation:Optional
	Range *ReportRange `json:"range,omitempty" protobuf:"bytes,4,opt,name=range"`
	// Template refer to the prediction template
	Template ReportTemplate `json:"template" protobuf:"bytes,5,opt,name=template"`
	// Set to true to pause the cron report
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Paused *bool `json:"paused,omitempty" protobuf:"varint,6,opt,name=paused"`
	// Notification specification.
	//+kubebuilder:validation:Optional
	Notification catalog.NotificationSpec `json:"notification,omitempty" protobuf:"bytes,7,opt,name=notification"`
}

CronReportSpec represent the desired state of CronReport

func (*CronReportSpec) DeepCopy

func (in *CronReportSpec) DeepCopy() *CronReportSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronReportSpec.

func (*CronReportSpec) DeepCopyInto

func (in *CronReportSpec) DeepCopyInto(out *CronReportSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CronReportSpec) Descriptor

func (*CronReportSpec) Descriptor() ([]byte, []int)

func (*CronReportSpec) Marshal

func (m *CronReportSpec) Marshal() (dAtA []byte, err error)

func (*CronReportSpec) MarshalTo

func (m *CronReportSpec) MarshalTo(dAtA []byte) (int, error)

func (*CronReportSpec) MarshalToSizedBuffer

func (m *CronReportSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CronReportSpec) ProtoMessage

func (*CronReportSpec) ProtoMessage()

func (*CronReportSpec) Reset

func (m *CronReportSpec) Reset()

func (*CronReportSpec) Size

func (m *CronReportSpec) Size() (n int)

func (*CronReportSpec) String

func (this *CronReportSpec) String() string

func (*CronReportSpec) Unmarshal

func (m *CronReportSpec) Unmarshal(dAtA []byte) error

func (*CronReportSpec) XXX_DiscardUnknown

func (m *CronReportSpec) XXX_DiscardUnknown()

func (*CronReportSpec) XXX_Marshal

func (m *CronReportSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CronReportSpec) XXX_Merge

func (m *CronReportSpec) XXX_Merge(src proto.Message)

func (*CronReportSpec) XXX_Size

func (m *CronReportSpec) XXX_Size() int

func (*CronReportSpec) XXX_Unmarshal

func (m *CronReportSpec) XXX_Unmarshal(b []byte) error

type CronReportStatus

type CronReportStatus struct {
	// Last run is the last time a run was created
	//+kubebuilder:validation:Optional
	LastRun *metav1.Time `json:"lastRun,omitempty" protobuf:"bytes,1,opt,name=lastRun"`
	// Last time the object was updated
	//+kubebuilder:validation:Optional
	LastUpdated *metav1.Time `json:"lastUpdated,omitempty" protobuf:"bytes,2,opt,name=lastUpdated"`
	// ObservedGeneration is the Last generation that was acted on
	//+kubebuilder:validation:Optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,3,opt,name=observedGeneration"`
	// Update in case of terminal failure
	// Borrowed from cluster api controller
	//+kubebuilder:validation:Optional
	FailureReason *catalog.StatusError `json:"failureReason,omitempty" protobuf:"bytes,4,opt,name=failureReason"`
	// Update in case of terminal failure message
	//+kubebuilder:validation:Optional
	FailureMessage *string `json:"failureMessage,omitempty" protobuf:"bytes,5,opt,name=failureMessage"`

	// +patchMergeKey=type
	// +patchStrategy=merge
	// +kubebuilder:validation:Optional
	Conditions []CronReportCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,6,rep,name=conditions"`
}

CronReportStatus is the observed state of a ReportTemplate

func (*CronReportStatus) DeepCopy

func (in *CronReportStatus) DeepCopy() *CronReportStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronReportStatus.

func (*CronReportStatus) DeepCopyInto

func (in *CronReportStatus) DeepCopyInto(out *CronReportStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CronReportStatus) Descriptor

func (*CronReportStatus) Descriptor() ([]byte, []int)

func (*CronReportStatus) Marshal

func (m *CronReportStatus) Marshal() (dAtA []byte, err error)

func (*CronReportStatus) MarshalTo

func (m *CronReportStatus) MarshalTo(dAtA []byte) (int, error)

func (*CronReportStatus) MarshalToSizedBuffer

func (m *CronReportStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CronReportStatus) ProtoMessage

func (*CronReportStatus) ProtoMessage()

func (*CronReportStatus) Reset

func (m *CronReportStatus) Reset()

func (*CronReportStatus) Size

func (m *CronReportStatus) Size() (n int)

func (*CronReportStatus) String

func (this *CronReportStatus) String() string

func (*CronReportStatus) Unmarshal

func (m *CronReportStatus) Unmarshal(dAtA []byte) error

func (*CronReportStatus) XXX_DiscardUnknown

func (m *CronReportStatus) XXX_DiscardUnknown()

func (*CronReportStatus) XXX_Marshal

func (m *CronReportStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CronReportStatus) XXX_Merge

func (m *CronReportStatus) XXX_Merge(src proto.Message)

func (*CronReportStatus) XXX_Size

func (m *CronReportStatus) XXX_Size() int

func (*CronReportStatus) XXX_Unmarshal

func (m *CronReportStatus) XXX_Unmarshal(b []byte) error

type CustomReportSpec

type CustomReportSpec struct {
	// The pages in the report
	Pages []data.PageSpec `json:"pages,omitempty" protobuf:"bytes,8,opt,name=pages"`
}

func (*CustomReportSpec) DeepCopy

func (in *CustomReportSpec) DeepCopy() *CustomReportSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomReportSpec.

func (*CustomReportSpec) DeepCopyInto

func (in *CustomReportSpec) DeepCopyInto(out *CustomReportSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CustomReportSpec) Descriptor

func (*CustomReportSpec) Descriptor() ([]byte, []int)

func (*CustomReportSpec) Marshal

func (m *CustomReportSpec) Marshal() (dAtA []byte, err error)

func (*CustomReportSpec) MarshalTo

func (m *CustomReportSpec) MarshalTo(dAtA []byte) (int, error)

func (*CustomReportSpec) MarshalToSizedBuffer

func (m *CustomReportSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CustomReportSpec) ProtoMessage

func (*CustomReportSpec) ProtoMessage()

func (*CustomReportSpec) Reset

func (m *CustomReportSpec) Reset()

func (*CustomReportSpec) Size

func (m *CustomReportSpec) Size() (n int)

func (*CustomReportSpec) String

func (this *CustomReportSpec) String() string

func (*CustomReportSpec) Unmarshal

func (m *CustomReportSpec) Unmarshal(dAtA []byte) error

func (*CustomReportSpec) XXX_DiscardUnknown

func (m *CustomReportSpec) XXX_DiscardUnknown()

func (*CustomReportSpec) XXX_Marshal

func (m *CustomReportSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CustomReportSpec) XXX_Merge

func (m *CustomReportSpec) XXX_Merge(src proto.Message)

func (*CustomReportSpec) XXX_Size

func (m *CustomReportSpec) XXX_Size() int

func (*CustomReportSpec) XXX_Unmarshal

func (m *CustomReportSpec) XXX_Unmarshal(b []byte) error

type CustomSeasonalitySpec

type CustomSeasonalitySpec struct {
	// The name of the custom seasonality
	// +kubebuilder:validation:Required
	// +required
	Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`
	// The name of the custom seasonality
	// +kubebuilder:validation:Required
	// +required
	Period float64 `json:"period,omitempty" protobuf:"bytes,2,opt,name=period"`
	// +kubebuilder:validation:Optional
	FourierOrder *int32 `json:"fourierOrder,omitempty" protobuf:"varint,3,opt,name=fourierOrder"`
}

SeasonalitySpec defines the custom seasonality

func (*CustomSeasonalitySpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomSeasonalitySpec.

func (*CustomSeasonalitySpec) DeepCopyInto

func (in *CustomSeasonalitySpec) DeepCopyInto(out *CustomSeasonalitySpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CustomSeasonalitySpec) Descriptor

func (*CustomSeasonalitySpec) Descriptor() ([]byte, []int)

func (*CustomSeasonalitySpec) Marshal

func (m *CustomSeasonalitySpec) Marshal() (dAtA []byte, err error)

func (*CustomSeasonalitySpec) MarshalTo

func (m *CustomSeasonalitySpec) MarshalTo(dAtA []byte) (int, error)

func (*CustomSeasonalitySpec) MarshalToSizedBuffer

func (m *CustomSeasonalitySpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CustomSeasonalitySpec) ProtoMessage

func (*CustomSeasonalitySpec) ProtoMessage()

func (*CustomSeasonalitySpec) Reset

func (m *CustomSeasonalitySpec) Reset()

func (*CustomSeasonalitySpec) Size

func (m *CustomSeasonalitySpec) Size() (n int)

func (*CustomSeasonalitySpec) String

func (this *CustomSeasonalitySpec) String() string

func (*CustomSeasonalitySpec) Unmarshal

func (m *CustomSeasonalitySpec) Unmarshal(dAtA []byte) error

func (*CustomSeasonalitySpec) XXX_DiscardUnknown

func (m *CustomSeasonalitySpec) XXX_DiscardUnknown()

func (*CustomSeasonalitySpec) XXX_Marshal

func (m *CustomSeasonalitySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CustomSeasonalitySpec) XXX_Merge

func (m *CustomSeasonalitySpec) XXX_Merge(src proto.Message)

func (*CustomSeasonalitySpec) XXX_Size

func (m *CustomSeasonalitySpec) XXX_Size() int

func (*CustomSeasonalitySpec) XXX_Unmarshal

func (m *CustomSeasonalitySpec) XXX_Unmarshal(b []byte) error

type DNNTypeName

type DNNTypeName string
const (
	Mlp  DNNTypeName = "mlp"
	Conv DNNTypeName = "cnn"
	Rnn  DNNTypeName = "rnn"
)

type DataHashes

type DataHashes struct {
	// Training
	// +kubebuilder:default:=""
	// +kubebuilder:validation:Optional
	TrainingHash string `json:"trainingHash,omitempty" protobuf:"bytes,1,opt,name=trainHash"`
	// Testing hash is a sha 256 of the testing data.
	// +kubebuilder:default:=""
	// +kubebuilder:validation:Optional
	TestingHash string `json:"testingHash,omitempty" protobuf:"bytes,2,opt,name=testingHash"`
	// Pointer to the validation
	// +kubebuilder:default:=""
	// +kubebuilder:validation:Optional
	ValidationHash string `json:"validationHash,omitempty" protobuf:"bytes,3,opt,name=validationHash"`
}

List compiler spec

func (*DataHashes) DeepCopy

func (in *DataHashes) DeepCopy() *DataHashes

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataHashes.

func (*DataHashes) DeepCopyInto

func (in *DataHashes) DeepCopyInto(out *DataHashes)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DataHashes) Descriptor

func (*DataHashes) Descriptor() ([]byte, []int)

func (*DataHashes) Marshal

func (m *DataHashes) Marshal() (dAtA []byte, err error)

func (*DataHashes) MarshalTo

func (m *DataHashes) MarshalTo(dAtA []byte) (int, error)

func (*DataHashes) MarshalToSizedBuffer

func (m *DataHashes) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DataHashes) ProtoMessage

func (*DataHashes) ProtoMessage()

func (*DataHashes) Reset

func (m *DataHashes) Reset()

func (*DataHashes) Size

func (m *DataHashes) Size() (n int)

func (*DataHashes) String

func (this *DataHashes) String() string

func (*DataHashes) Unmarshal

func (m *DataHashes) Unmarshal(dAtA []byte) error

func (*DataHashes) XXX_DiscardUnknown

func (m *DataHashes) XXX_DiscardUnknown()

func (*DataHashes) XXX_Marshal

func (m *DataHashes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DataHashes) XXX_Merge

func (m *DataHashes) XXX_Merge(src proto.Message)

func (*DataHashes) XXX_Size

func (m *DataHashes) XXX_Size() int

func (*DataHashes) XXX_Unmarshal

func (m *DataHashes) XXX_Unmarshal(b []byte) error

type DataSplitSpec

type DataSplitSpec struct {
	// Define the split type.
	Method catalog.DataSplitMethod `json:"method,omitempty" protobuf:"bytes,1,opt,name=method"`
	// Training is a percent number (0-100) which specify how much of
	// the data will be used for training
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:=80
	// +kubebuilder:validation:Minimum=1
	// +kubebuilder:validation:Maximum=100
	Train *int32 `json:"train,omitempty" protobuf:"varint,2,opt,name=train"`
	// Validation is percent of dataset rows which would be used to compute the objective during
	// hyper parameter search phase.
	// Only used if we do not do cross validation.
	// default is 10% of the data, if we do not have cross validation.
	// default is 0% of the data, if we do cross validation.
	// +kubebuilder:validation:Minimum=0
	// +kubebuilder:default:=0
	// +kubebuilder:validation:Maximum=50
	// +kubebuilder:validation:Optional
	Validation *int32 `json:"validation,omitempty" protobuf:"varint,3,opt,name=validation"`
	// Test is percent of dataset rows which would be used to compute the objective during
	// +kubebuilder:validation:Minimum=0
	// +kubebuilder:validation:Maximum=100
	// +kubebuilder:default:=20
	// +kubebuilder:validation:Optional
	Test *int32 `json:"test,omitempty" protobuf:"varint,4,opt,name=test"`
	// The name of the column used to split
	// +kubebuilder:validation:Optional
	SplitColumn *string `json:"splitColumn,omitempty" protobuf:"bytes,5,opt,name=splitColumn"`
	// Apply the segments first
	// +kubebuilder:validation:Optional
	Segments []SegmentSpec `json:"segments,omitempty" protobuf:"bytes,6,rep,name=segments"`
}

func (*DataSplitSpec) DeepCopy

func (in *DataSplitSpec) DeepCopy() *DataSplitSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataSplitSpec.

func (*DataSplitSpec) DeepCopyInto

func (in *DataSplitSpec) DeepCopyInto(out *DataSplitSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DataSplitSpec) Descriptor

func (*DataSplitSpec) Descriptor() ([]byte, []int)

func (*DataSplitSpec) Marshal

func (m *DataSplitSpec) Marshal() (dAtA []byte, err error)

func (*DataSplitSpec) MarshalTo

func (m *DataSplitSpec) MarshalTo(dAtA []byte) (int, error)

func (*DataSplitSpec) MarshalToSizedBuffer

func (m *DataSplitSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DataSplitSpec) ProtoMessage

func (*DataSplitSpec) ProtoMessage()

func (*DataSplitSpec) Reset

func (m *DataSplitSpec) Reset()

func (*DataSplitSpec) Size

func (m *DataSplitSpec) Size() (n int)

func (*DataSplitSpec) String

func (this *DataSplitSpec) String() string

func (*DataSplitSpec) Unmarshal

func (m *DataSplitSpec) Unmarshal(dAtA []byte) error

func (*DataSplitSpec) XXX_DiscardUnknown

func (m *DataSplitSpec) XXX_DiscardUnknown()

func (*DataSplitSpec) XXX_Marshal

func (m *DataSplitSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DataSplitSpec) XXX_Merge

func (m *DataSplitSpec) XXX_Merge(src proto.Message)

func (*DataSplitSpec) XXX_Size

func (m *DataSplitSpec) XXX_Size() int

func (*DataSplitSpec) XXX_Unmarshal

func (m *DataSplitSpec) XXX_Unmarshal(b []byte) error

type DataStageSpec

type DataStageSpec struct {
	// Enabled indicates that the stage is enabled
	// +kubebuilder:default:=true
	Enabled *bool `json:"enabled,omitempty" protobuf:"varint,1,opt,name=enabled"`
	// LabName is the lab that execute processing of the data pipeline
	// +kubebuilder:default =""
	// +kubebuilder:validation:Optional
	LabName *string `json:"labName,omitempty" protobuf:"varint,2,opt,name=labName"`
	// If not null, run the data pipeline and create a dataset. else, use the data in the data location
	// +kubebuilder:default =""
	// +kubebuilder:validation:Optional
	DataPipelineName *string `json:"dataPipelineName,omitempty" protobuf:"varint,3,opt,name=datapipelineName"`
	// The data source name for the data in the location. The data source will be used to create a new dataset for this pipeline
	// based on the file in the location.
	// +kubebuilder:default =""
	// +kubebuilder:validation:Optional
	DatasourceName *string `json:"datasourceName,omitempty" protobuf:"bytes,4,opt,name=datasourceName"`
	// If Not null, run a docker image is used in order to generate the data.
	// The data must reside in location after the container run
	// +kubebuilder:default =""
	// +kubebuilder:validation:Optional
	DockerImage *string `json:"dockerImage,omitempty" protobuf:"bytes,5,opt,name=dockerImage"`
}

DataStageSpec is the desired state of the data preprocessing step of the pipeline. Data preprocessing will be done via

func (*DataStageSpec) DeepCopy

func (in *DataStageSpec) DeepCopy() *DataStageSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataStageSpec.

func (*DataStageSpec) DeepCopyInto

func (in *DataStageSpec) DeepCopyInto(out *DataStageSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DataStageSpec) Descriptor

func (*DataStageSpec) Descriptor() ([]byte, []int)

func (*DataStageSpec) Marshal

func (m *DataStageSpec) Marshal() (dAtA []byte, err error)

func (*DataStageSpec) MarshalTo

func (m *DataStageSpec) MarshalTo(dAtA []byte) (int, error)

func (*DataStageSpec) MarshalToSizedBuffer

func (m *DataStageSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DataStageSpec) ProtoMessage

func (*DataStageSpec) ProtoMessage()

func (*DataStageSpec) Reset

func (m *DataStageSpec) Reset()

func (*DataStageSpec) Size

func (m *DataStageSpec) Size() (n int)

func (*DataStageSpec) String

func (this *DataStageSpec) String() string

func (*DataStageSpec) Unmarshal

func (m *DataStageSpec) Unmarshal(dAtA []byte) error

func (*DataStageSpec) XXX_DiscardUnknown

func (m *DataStageSpec) XXX_DiscardUnknown()

func (*DataStageSpec) XXX_Marshal

func (m *DataStageSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DataStageSpec) XXX_Merge

func (m *DataStageSpec) XXX_Merge(src proto.Message)

func (*DataStageSpec) XXX_Size

func (m *DataStageSpec) XXX_Size() int

func (*DataStageSpec) XXX_Unmarshal

func (m *DataStageSpec) XXX_Unmarshal(b []byte) error

type DeepEstimatorLayer

type DeepEstimatorLayer struct {
	// Name is the name of the layer
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
	// Type is the type of the layers
	Type NNLayerName `json:"type" protobuf:"bytes,2,opt,name=type"`
	// Parameters are the hyper parameters of this layer
	Parameters []NNLayerParameter `json:"parameters" protobuf:"bytes,3,rep,name=parameters"`
	// InputLayers are the layer input to this layer
	InputLayers []string `json:"inputLayers" protobuf:"bytes,4,rep,name=inputLayers"`
}

func (*DeepEstimatorLayer) DeepCopy

func (in *DeepEstimatorLayer) DeepCopy() *DeepEstimatorLayer

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeepEstimatorLayer.

func (*DeepEstimatorLayer) DeepCopyInto

func (in *DeepEstimatorLayer) DeepCopyInto(out *DeepEstimatorLayer)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DeepEstimatorLayer) Descriptor

func (*DeepEstimatorLayer) Descriptor() ([]byte, []int)

func (*DeepEstimatorLayer) Marshal

func (m *DeepEstimatorLayer) Marshal() (dAtA []byte, err error)

func (*DeepEstimatorLayer) MarshalTo

func (m *DeepEstimatorLayer) MarshalTo(dAtA []byte) (int, error)

func (*DeepEstimatorLayer) MarshalToSizedBuffer

func (m *DeepEstimatorLayer) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DeepEstimatorLayer) ProtoMessage

func (*DeepEstimatorLayer) ProtoMessage()

func (*DeepEstimatorLayer) Reset

func (m *DeepEstimatorLayer) Reset()

func (*DeepEstimatorLayer) Size

func (m *DeepEstimatorLayer) Size() (n int)

func (*DeepEstimatorLayer) String

func (this *DeepEstimatorLayer) String() string

func (*DeepEstimatorLayer) Unmarshal

func (m *DeepEstimatorLayer) Unmarshal(dAtA []byte) error

func (*DeepEstimatorLayer) XXX_DiscardUnknown

func (m *DeepEstimatorLayer) XXX_DiscardUnknown()

func (*DeepEstimatorLayer) XXX_Marshal

func (m *DeepEstimatorLayer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeepEstimatorLayer) XXX_Merge

func (m *DeepEstimatorLayer) XXX_Merge(src proto.Message)

func (*DeepEstimatorLayer) XXX_Size

func (m *DeepEstimatorLayer) XXX_Size() int

func (*DeepEstimatorLayer) XXX_Unmarshal

func (m *DeepEstimatorLayer) XXX_Unmarshal(b []byte) error

type DeepEstimatorSpec

type DeepEstimatorSpec struct {
	// Layers is the dnn architecture
	// +kubebuilder:validation:Optional
	Layers []DeepEstimatorLayer `json:"layers,omitempty" protobuf:"bytes,1,rep,name=layers"`
	// The type of the dnn
	// +kubebuilder:validation:Optional
	Type *DNNTypeName `json:"type,omitempty" protobuf:"bytes,2,opt,name=type"`
	// Batch size specify about
	// +kubebuilder:validation:Minimum=0
	// +kubebuilder:validation:Optional
	BatchSize *int32 `json:"batchSize,omitempty" protobuf:"varint,3,opt,name=batchSize"`
	// Budget size specify about
	// +kubebuilder:validation:Minimum=0
	// +kubebuilder:validation:Optional
	Epochs *int32 `json:"epochs,omitempty" protobuf:"varint,4,opt,name=epochs"`
	// ValidationSplit specify about
	// +kubebuilder:validation:Minimum=0
	// +kubebuilder:validation:Optional
	ValidationSplit *int32 `json:"validationSplit,omitempty" protobuf:"varint,5,opt,name=validationSplit"`
	// Is this a seq model
	// +kubebuilder:validation:Optional
	Seq *bool `json:"isSeq,omitempty" protobuf:"varint,6,opt,name=isSeq"`
	// Gpus denote of gpu for trainer, any number more than 1 denote distribute training
	// +kubebuilder:validation:Minimum=0
	// +kubebuilder:validation:Optional
	Gpus *int32 `json:"gpus,omitempty" protobuf:"varint,7,opt,name=gpus"`
	// compile
	// +kubebuilder:validation:Optional
	Loss string `json:"loss,omitempty" protobuf:"bytes,8,opt,name=loss"`
}

func (*DeepEstimatorSpec) DeepCopy

func (in *DeepEstimatorSpec) DeepCopy() *DeepEstimatorSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeepEstimatorSpec.

func (*DeepEstimatorSpec) DeepCopyInto

func (in *DeepEstimatorSpec) DeepCopyInto(out *DeepEstimatorSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DeepEstimatorSpec) Descriptor

func (*DeepEstimatorSpec) Descriptor() ([]byte, []int)

func (*DeepEstimatorSpec) Marshal

func (m *DeepEstimatorSpec) Marshal() (dAtA []byte, err error)

func (*DeepEstimatorSpec) MarshalTo

func (m *DeepEstimatorSpec) MarshalTo(dAtA []byte) (int, error)

func (*DeepEstimatorSpec) MarshalToSizedBuffer

func (m *DeepEstimatorSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DeepEstimatorSpec) ProtoMessage

func (*DeepEstimatorSpec) ProtoMessage()

func (*DeepEstimatorSpec) Reset

func (m *DeepEstimatorSpec) Reset()

func (*DeepEstimatorSpec) Size

func (m *DeepEstimatorSpec) Size() (n int)

func (*DeepEstimatorSpec) String

func (this *DeepEstimatorSpec) String() string

func (*DeepEstimatorSpec) Unmarshal

func (m *DeepEstimatorSpec) Unmarshal(dAtA []byte) error

func (*DeepEstimatorSpec) XXX_DiscardUnknown

func (m *DeepEstimatorSpec) XXX_DiscardUnknown()

func (*DeepEstimatorSpec) XXX_Marshal

func (m *DeepEstimatorSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeepEstimatorSpec) XXX_Merge

func (m *DeepEstimatorSpec) XXX_Merge(src proto.Message)

func (*DeepEstimatorSpec) XXX_Size

func (m *DeepEstimatorSpec) XXX_Size() int

func (*DeepEstimatorSpec) XXX_Unmarshal

func (m *DeepEstimatorSpec) XXX_Unmarshal(b []byte) error

type DeploymentStageSpec

type DeploymentStageSpec struct {
	// Enabled indicates that we want to release the model into production
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" protobuf:"varint,1,opt,name=enabled"`
	// ServingSiteName is the serving site for the release, if empty, the system will use the default serving site name
	// +kubebuilder:default =""
	// +kubebuilder:validation:Optional
	ServingSiteName *string `json:"servingSiteName,omitempty" protobuf:"bytes,2,opt,name=servingSiteName"`
	// ManualApproval dentoes if we need manual approval before advancing from deployed to released
	// By default a user is needed to approve the release to production
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	ManualApproval *bool `json:"manualApproval,omitempty" protobuf:"varint,3,opt,name=manualApproval"`
	// Validations is the specification of tests to run in this stage
	// +kubebuilder:validation:Optional
	Validations []ModelValidation `json:"validations,omitempty" protobuf:"bytes,4,rep,name=validations"`
	// Resource define the hardware resources req.
	// +kubebuilder:validation:Optional
	Resources catalog.ResourceSpec `json:"resources,omitempty" protobuf:"bytes,5,opt,name=resources"`
}

DeploymentStageSpec define the testing and releasing the resulting model to production.

func (*DeploymentStageSpec) DeepCopy

func (in *DeploymentStageSpec) DeepCopy() *DeploymentStageSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStageSpec.

func (*DeploymentStageSpec) DeepCopyInto

func (in *DeploymentStageSpec) DeepCopyInto(out *DeploymentStageSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DeploymentStageSpec) Descriptor

func (*DeploymentStageSpec) Descriptor() ([]byte, []int)

func (*DeploymentStageSpec) Marshal

func (m *DeploymentStageSpec) Marshal() (dAtA []byte, err error)

func (*DeploymentStageSpec) MarshalTo

func (m *DeploymentStageSpec) MarshalTo(dAtA []byte) (int, error)

func (*DeploymentStageSpec) MarshalToSizedBuffer

func (m *DeploymentStageSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DeploymentStageSpec) ProtoMessage

func (*DeploymentStageSpec) ProtoMessage()

func (*DeploymentStageSpec) Reset

func (m *DeploymentStageSpec) Reset()

func (*DeploymentStageSpec) Size

func (m *DeploymentStageSpec) Size() (n int)

func (*DeploymentStageSpec) String

func (this *DeploymentStageSpec) String() string

func (*DeploymentStageSpec) Unmarshal

func (m *DeploymentStageSpec) Unmarshal(dAtA []byte) error

func (*DeploymentStageSpec) XXX_DiscardUnknown

func (m *DeploymentStageSpec) XXX_DiscardUnknown()

func (*DeploymentStageSpec) XXX_Marshal

func (m *DeploymentStageSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeploymentStageSpec) XXX_Merge

func (m *DeploymentStageSpec) XXX_Merge(src proto.Message)

func (*DeploymentStageSpec) XXX_Size

func (m *DeploymentStageSpec) XXX_Size() int

func (*DeploymentStageSpec) XXX_Unmarshal

func (m *DeploymentStageSpec) XXX_Unmarshal(b []byte) error

type EnsembleRules

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

EnsembleRules is an algorithm class that decide

func NewEnsemble

func NewEnsemble() *EnsembleRules

func (*EnsembleRules) Add

func (e *EnsembleRules) Add(m Model)

Add a new model to the ensemble

func (*EnsembleRules) DeepCopy

func (in *EnsembleRules) DeepCopy() *EnsembleRules

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnsembleRules.

func (*EnsembleRules) DeepCopyInto

func (in *EnsembleRules) DeepCopyInto(out *EnsembleRules)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EnsembleRules) Descriptor

func (*EnsembleRules) Descriptor() ([]byte, []int)

func (*EnsembleRules) Exist

func (e *EnsembleRules) Exist() bool

Exist return true if we can form an ensemble. we can form an ensemble only if we have 3 models from different alg

func (*EnsembleRules) Marshal

func (m *EnsembleRules) Marshal() (dAtA []byte, err error)

func (*EnsembleRules) MarshalTo

func (m *EnsembleRules) MarshalTo(dAtA []byte) (int, error)

func (*EnsembleRules) MarshalToSizedBuffer

func (m *EnsembleRules) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EnsembleRules) ModelNames

func (e *EnsembleRules) ModelNames() []string

func (*EnsembleRules) Models

func (e *EnsembleRules) Models() []Model

func (*EnsembleRules) ProtoMessage

func (*EnsembleRules) ProtoMessage()

func (*EnsembleRules) Reset

func (m *EnsembleRules) Reset()

func (*EnsembleRules) Size

func (m *EnsembleRules) Size() (n int)

func (*EnsembleRules) String

func (this *EnsembleRules) String() string

func (*EnsembleRules) Unmarshal

func (m *EnsembleRules) Unmarshal(dAtA []byte) error

func (*EnsembleRules) XXX_DiscardUnknown

func (m *EnsembleRules) XXX_DiscardUnknown()

func (*EnsembleRules) XXX_Marshal

func (m *EnsembleRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EnsembleRules) XXX_Merge

func (m *EnsembleRules) XXX_Merge(src proto.Message)

func (*EnsembleRules) XXX_Size

func (m *EnsembleRules) XXX_Size() int

func (*EnsembleRules) XXX_Unmarshal

func (m *EnsembleRules) XXX_Unmarshal(b []byte) error

type EnsembleSpec

type EnsembleSpec struct {
	// Names of the models that were used for the estimators.
	// +kubebuilder:validation:Optional
	Models []string `json:"models,omitempty" protobuf:"bytes,1,rep,name=models"`
	// A list of estimators to ensemble. The ensemble method is represented as the algorithm name.
	// +kubebuilder:validation:Optional
	Estimators []ClassicalEstimatorSpec `json:"estimators,omitempty" protobuf:"bytes,2,rep,name=estimators"`
	// The meta estimator (e.g. Voting classifier)
	// +kubebuilder:validation:Optional
	BaseEstimator *ClassicalEstimatorSpec `json:"base,omitempty" protobuf:"bytes,3,rep,name=base"`
	// The ensempling method type
	// +kubebuilder:validation:Optional
	Type *catalog.EnsembleType `json:"type,omitempty" protobuf:"bytes,4,rep,name=type"`
}

func (*EnsembleSpec) DeepCopy

func (in *EnsembleSpec) DeepCopy() *EnsembleSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnsembleSpec.

func (*EnsembleSpec) DeepCopyInto

func (in *EnsembleSpec) DeepCopyInto(out *EnsembleSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EnsembleSpec) Descriptor

func (*EnsembleSpec) Descriptor() ([]byte, []int)

func (*EnsembleSpec) Marshal

func (m *EnsembleSpec) Marshal() (dAtA []byte, err error)

func (*EnsembleSpec) MarshalTo

func (m *EnsembleSpec) MarshalTo(dAtA []byte) (int, error)

func (*EnsembleSpec) MarshalToSizedBuffer

func (m *EnsembleSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EnsembleSpec) ProtoMessage

func (*EnsembleSpec) ProtoMessage()

func (*EnsembleSpec) Reset

func (m *EnsembleSpec) Reset()

func (*EnsembleSpec) Size

func (m *EnsembleSpec) Size() (n int)

func (*EnsembleSpec) String

func (this *EnsembleSpec) String() string

func (*EnsembleSpec) Unmarshal

func (m *EnsembleSpec) Unmarshal(dAtA []byte) error

func (*EnsembleSpec) XXX_DiscardUnknown

func (m *EnsembleSpec) XXX_DiscardUnknown()

func (*EnsembleSpec) XXX_Marshal

func (m *EnsembleSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EnsembleSpec) XXX_Merge

func (m *EnsembleSpec) XXX_Merge(src proto.Message)

func (*EnsembleSpec) XXX_Size

func (m *EnsembleSpec) XXX_Size() int

func (*EnsembleSpec) XXX_Unmarshal

func (m *EnsembleSpec) XXX_Unmarshal(b []byte) error

type EnsemblesSpec

type EnsemblesSpec struct {
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" protobuf:"varint,1,opt,name=enabled"`
	// VotingEnsample - If true, create a voting ensemble of the top 3 models.
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	VotingEnsemble *bool `json:"votingEnsemble,omitempty" protobuf:"varint,2,opt,name=votingEnsemble"`
	// StackingEnsemble If true, create a stacking ensemble of the top 3 models.
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	StackingEnsemble *bool `json:"stackingEnsemble,omitempty" protobuf:"varint,3,opt,name=stackingEnsemble"`
	// how many models to use for ensemble.
	// +kubebuilder:default:=3
	// +kubebuilder:validation:Optional
	Top *int32 `json:"top,omitempty" protobuf:"varint,4,opt,name=top"`
}

Define the ensemble spec

func (*EnsemblesSpec) DeepCopy

func (in *EnsemblesSpec) DeepCopy() *EnsemblesSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnsemblesSpec.

func (*EnsemblesSpec) DeepCopyInto

func (in *EnsemblesSpec) DeepCopyInto(out *EnsemblesSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EnsemblesSpec) Descriptor

func (*EnsemblesSpec) Descriptor() ([]byte, []int)

func (*EnsemblesSpec) Marshal

func (m *EnsemblesSpec) Marshal() (dAtA []byte, err error)

func (*EnsemblesSpec) MarshalTo

func (m *EnsemblesSpec) MarshalTo(dAtA []byte) (int, error)

func (*EnsemblesSpec) MarshalToSizedBuffer

func (m *EnsemblesSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EnsemblesSpec) ProtoMessage

func (*EnsemblesSpec) ProtoMessage()

func (*EnsemblesSpec) Reset

func (m *EnsemblesSpec) Reset()

func (*EnsemblesSpec) Size

func (m *EnsemblesSpec) Size() (n int)

func (*EnsemblesSpec) String

func (this *EnsemblesSpec) String() string

func (*EnsemblesSpec) Unmarshal

func (m *EnsemblesSpec) Unmarshal(dAtA []byte) error

func (*EnsemblesSpec) XXX_DiscardUnknown

func (m *EnsemblesSpec) XXX_DiscardUnknown()

func (*EnsemblesSpec) XXX_Marshal

func (m *EnsemblesSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EnsemblesSpec) XXX_Merge

func (m *EnsemblesSpec) XXX_Merge(src proto.Message)

func (*EnsemblesSpec) XXX_Size

func (m *EnsemblesSpec) XXX_Size() int

func (*EnsemblesSpec) XXX_Unmarshal

func (m *EnsemblesSpec) XXX_Unmarshal(b []byte) error

type FeatureEngineeringPipeline

type FeatureEngineeringPipeline struct {
	// The name of this feature engineering pipeline
	// +kubebuilder:validation:Required
	Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`
	// The Data type for the feature engineering.
	// +kubebuilder:validation:Required
	// +required
	DataType catalog.DataType `json:"datatype,omitempty" protobuf:"bytes,2,opt,name=datatype"`
	// Columns is the name of the columns from the original file.
	// All the columns must be from the same type
	// +kubebuilder:validation:Optional
	Columns []string `json:"columns,omitempty" protobuf:"bytes,3,rep,name=columns"`
	// imputer
	// +kubebuilder:default:=none
	// +kubebuilder:validation:Optional
	Imputation *catalog.Imputation `json:"imputation,omitempty" protobuf:"bytes,4,opt,name=imputation"`
	// Encoder. Apply only to categorical variables
	// +kubebuilder:default:=none
	// +kubebuilder:validation:Optional
	Encoding *catalog.CategoricalEncoding `json:"encoding,omitempty" protobuf:"bytes,5,opt,name=encoding"`
	// Numeric var scaler, valid only if the
	// +kubebuilder:default:=none
	// +kubebuilder:validation:Optional
	Scaling *catalog.Scaling `json:"scaling,omitempty" protobuf:"bytes,6,opt,name=scaling"`
	// Convert numerical datatypes to categories. Valid only if the number data types.
	// +kubebuilder:default:=none
	// +kubebuilder:validation:Optional
	Discretisation *catalog.Discretisation `json:"discretisation,omitempty" protobuf:"bytes,7,opt,name=discretisation"`
	// For numerical data type.
	// +kubebuilder:default:=none
	// +kubebuilder:validation:Optional
	VariableTransformation *catalog.VariableTransformation `json:"variableTransformation,omitempty" protobuf:"bytes,8,opt,name=variableTransformation"`
	// Specify how to handle outliers.
	// +kubebuilder:default:=none
	// Apply only to numeric datatypes.
	OutlierHandling *catalog.OutlierHandling `json:"outlierHandling,omitempty" protobuf:"bytes,9,opt,name=outlierHandling"`
	// Specify how For datetime data type,
	// +kubebuilder:default:=none
	// +kubebuilder:validation:Optional
	DatetimeTransformation *catalog.DatetimeTransformation `json:"datetimeTransformation,omitempty" protobuf:"bytes,10,opt,name=datetimeTransformation"`
	// Text specify the column transformation for text columns
	// +kubebuilder:validation:Optional
	Text *TextPipelineSpec `json:"text,omitempty" protobuf:"bytes,11,opt,name=text"`
	// Image specify the pipeline for images. Not supported in this release
	// +kubebuilder:validation:Optional
	Image *ImagePipelineSpec `json:"image,omitempty" protobuf:"bytes,12,opt,name=image"`
	// Audio specify the pipeline for audio. Not supported in this release
	// +kubebuilder:validation:Optional
	Audio *AudioPipelineSpec `json:"audio,omitempty" protobuf:"bytes,13,opt,name=audio"`
	// Video specify the pipeline for video. Not supported in this release
	// +kubebuilder:validation:Optional
	Video *VideoPipelineSpec `json:"video,omitempty" protobuf:"bytes,14,opt,name=video"`
	// Spec to generate one or more columns from existing columns in this pipeline
	// +kubebuilder:validation:Optional
	Genereted []GeneratedColumnSpec `json:"generated,omitempty" protobuf:"bytes,15,rep,name=generated"`
	// Specify custom columns. Custom Columns are specified by the user
	Custom []GeneratedColumnSpec `json:"custom,omitempty" protobuf:"bytes,16,rep,name=custom"`
	// If dropped, all the columns in this pipeline will be dropped.
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Drop *bool `json:"drop,omitempty" protobuf:"varint,17,opt,name=drop"`
	// If true, all the features in this pipeline will passthrough, without processing.
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Passthrough *bool `json:"passthrough,omitempty" protobuf:"varint,18,opt,name=passthrough"`
}

FeatureEngineeringPipeline represent a single pipeline for data transformation. The pipeline includes the column names and the data type.

func (*FeatureEngineeringPipeline) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureEngineeringPipeline.

func (*FeatureEngineeringPipeline) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FeatureEngineeringPipeline) Descriptor

func (*FeatureEngineeringPipeline) Descriptor() ([]byte, []int)

func (*FeatureEngineeringPipeline) Marshal

func (m *FeatureEngineeringPipeline) Marshal() (dAtA []byte, err error)

func (*FeatureEngineeringPipeline) MarshalTo

func (m *FeatureEngineeringPipeline) MarshalTo(dAtA []byte) (int, error)

func (*FeatureEngineeringPipeline) MarshalToSizedBuffer

func (m *FeatureEngineeringPipeline) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FeatureEngineeringPipeline) ProtoMessage

func (*FeatureEngineeringPipeline) ProtoMessage()

func (*FeatureEngineeringPipeline) Reset

func (m *FeatureEngineeringPipeline) Reset()

func (*FeatureEngineeringPipeline) Size

func (m *FeatureEngineeringPipeline) Size() (n int)

func (*FeatureEngineeringPipeline) String

func (this *FeatureEngineeringPipeline) String() string

func (*FeatureEngineeringPipeline) Unmarshal

func (m *FeatureEngineeringPipeline) Unmarshal(dAtA []byte) error

func (*FeatureEngineeringPipeline) XXX_DiscardUnknown

func (m *FeatureEngineeringPipeline) XXX_DiscardUnknown()

func (*FeatureEngineeringPipeline) XXX_Marshal

func (m *FeatureEngineeringPipeline) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FeatureEngineeringPipeline) XXX_Merge

func (m *FeatureEngineeringPipeline) XXX_Merge(src proto.Message)

func (*FeatureEngineeringPipeline) XXX_Size

func (m *FeatureEngineeringPipeline) XXX_Size() int

func (*FeatureEngineeringPipeline) XXX_Unmarshal

func (m *FeatureEngineeringPipeline) XXX_Unmarshal(b []byte) error

type FeatureEngineeringSearchSpec

type FeatureEngineeringSearchSpec struct {
	// If false, the study will not search for feature engineering.
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" protobuf:"varint,1,opt,name=enabled"`
	// The imbalanced handler algorithm
	// +kubebuilder:default:=auto
	// +kubebuilder:validation:Optional
	ImbalanceHandler *catalog.ImbalanceHandling `json:"imbalanceHandler,omitempty" protobuf:"bytes,2,opt,name=imbalancedHandler"`
	// Estimator is the algorithm to use when tunning the feature engineering pipeline
	// +kubebuilder:validation:Optional
	Estimator *catalog.ClassicEstimatorName `json:"estimator,omitempty" protobuf:"bytes,3,opt,name=estimator"`
	// Max models to create during the search for the best feature engineering.
	// +kubebuilder:default:=10
	// +kubebuilder:validation:Optional
	MaxModels *int32 `json:"maxModels,omitempty" protobuf:"varint,4,opt,name=maxModels"`
	// Max time in seconds for the best feature engineering pipeline
	// +kubebuilder:default:=3600
	// +kubebuilder:validation:Optional
	MaxTimeSec *int32 `json:"maxTime,omitempty" protobuf:"varint,5,opt,name=maxTime"`
	// Number of parallel models
	// +kubebuilder:default:=1
	// +kubebuilder:validation:Optional
	MaxTrainers *int32 `json:"maxTrainers,omitempty" protobuf:"varint,6,opt,name=maxTrainers"`
	// How much to sample from the dataset when performing the feature engineering search
	// +kubebuilder:default:=100
	// +kubebuilder:validation:Optional
	SamplePct *int32 `json:"samplePct,omitempty" protobuf:"varint,7,opt,name=samplePct"`
	// If true, remove all the models that were used for feature engineering, once the search is over.
	// +kubebuilder:default:=true
	// the feature engineering is done.
	AutoRemove *bool `json:"autoRemove,omitempty" protobuf:"varint,8,opt,name=autoRemove"`
	// If true, the system will try to reuse the best feature engineering pipeline from the last
	// successful study.
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Reuse *bool `json:"reuse,omitempty" protobuf:"bytes,9,opt,name=reuse"`
	// Specification for feature selection.
	// successful study.
	// +kubebuilder:validation:Optional
	FeatureSelectionTemplate FeatureSelectionSpec `json:"featureSelectionTemplate,omitempty" protobuf:"bytes,10,opt,name=featureSelectionTemplate"`
}

Define the specification for the best feature engineering pipeline

func (*FeatureEngineeringSearchSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureEngineeringSearchSpec.

func (*FeatureEngineeringSearchSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FeatureEngineeringSearchSpec) Descriptor

func (*FeatureEngineeringSearchSpec) Descriptor() ([]byte, []int)

func (*FeatureEngineeringSearchSpec) Marshal

func (m *FeatureEngineeringSearchSpec) Marshal() (dAtA []byte, err error)

func (*FeatureEngineeringSearchSpec) MarshalTo

func (m *FeatureEngineeringSearchSpec) MarshalTo(dAtA []byte) (int, error)

func (*FeatureEngineeringSearchSpec) MarshalToSizedBuffer

func (m *FeatureEngineeringSearchSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FeatureEngineeringSearchSpec) ProtoMessage

func (*FeatureEngineeringSearchSpec) ProtoMessage()

func (*FeatureEngineeringSearchSpec) Reset

func (m *FeatureEngineeringSearchSpec) Reset()

func (*FeatureEngineeringSearchSpec) Size

func (m *FeatureEngineeringSearchSpec) Size() (n int)

func (*FeatureEngineeringSearchSpec) String

func (this *FeatureEngineeringSearchSpec) String() string

func (*FeatureEngineeringSearchSpec) Unmarshal

func (m *FeatureEngineeringSearchSpec) Unmarshal(dAtA []byte) error

func (*FeatureEngineeringSearchSpec) XXX_DiscardUnknown

func (m *FeatureEngineeringSearchSpec) XXX_DiscardUnknown()

func (*FeatureEngineeringSearchSpec) XXX_Marshal

func (m *FeatureEngineeringSearchSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FeatureEngineeringSearchSpec) XXX_Merge

func (m *FeatureEngineeringSearchSpec) XXX_Merge(src proto.Message)

func (*FeatureEngineeringSearchSpec) XXX_Size

func (m *FeatureEngineeringSearchSpec) XXX_Size() int

func (*FeatureEngineeringSearchSpec) XXX_Unmarshal

func (m *FeatureEngineeringSearchSpec) XXX_Unmarshal(b []byte) error

type FeatureEngineeringSearchStatus

type FeatureEngineeringSearchStatus struct {
	// The recommended pipeline after feature engineering was done
	Best FeatureEngineeringSpec `json:"best,omitempty" protobuf:"bytes,1,opt,name=best"`
}

func (*FeatureEngineeringSearchStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureEngineeringSearchStatus.

func (*FeatureEngineeringSearchStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FeatureEngineeringSearchStatus) Descriptor

func (*FeatureEngineeringSearchStatus) Descriptor() ([]byte, []int)

func (*FeatureEngineeringSearchStatus) Marshal

func (m *FeatureEngineeringSearchStatus) Marshal() (dAtA []byte, err error)

func (*FeatureEngineeringSearchStatus) MarshalTo

func (m *FeatureEngineeringSearchStatus) MarshalTo(dAtA []byte) (int, error)

func (*FeatureEngineeringSearchStatus) MarshalToSizedBuffer

func (m *FeatureEngineeringSearchStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FeatureEngineeringSearchStatus) ProtoMessage

func (*FeatureEngineeringSearchStatus) ProtoMessage()

func (*FeatureEngineeringSearchStatus) Reset

func (m *FeatureEngineeringSearchStatus) Reset()

func (*FeatureEngineeringSearchStatus) Size

func (m *FeatureEngineeringSearchStatus) Size() (n int)

func (*FeatureEngineeringSearchStatus) String

func (this *FeatureEngineeringSearchStatus) String() string

func (*FeatureEngineeringSearchStatus) Unmarshal

func (m *FeatureEngineeringSearchStatus) Unmarshal(dAtA []byte) error

func (*FeatureEngineeringSearchStatus) XXX_DiscardUnknown

func (m *FeatureEngineeringSearchStatus) XXX_DiscardUnknown()

func (*FeatureEngineeringSearchStatus) XXX_Marshal

func (m *FeatureEngineeringSearchStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FeatureEngineeringSearchStatus) XXX_Merge

func (m *FeatureEngineeringSearchStatus) XXX_Merge(src proto.Message)

func (*FeatureEngineeringSearchStatus) XXX_Size

func (m *FeatureEngineeringSearchStatus) XXX_Size() int

func (*FeatureEngineeringSearchStatus) XXX_Unmarshal

func (m *FeatureEngineeringSearchStatus) XXX_Unmarshal(b []byte) error

type FeatureEngineeringSpec

type FeatureEngineeringSpec struct {
	// List of processing pipelines
	// +kubebuilder:validation:Optional
	Pipelines []FeatureEngineeringPipeline `json:"pipelines,omitempty" protobuf:"bytes,1,rep,name=pipelines"`
	// Define how to handle imbalance
	// +kubebuilder:default:=auto
	// +kubebuilder:validation:Optional
	Imbalance *catalog.ImbalanceHandling `json:"imbalance,omitempty" protobuf:"bytes,2,opt,name=imbalance"`
	// Spec for feature selection
	// +kubebuilder:validation:Optional
	FeatureSelection FeatureSelectionSpec `json:"selection,omitempty" protobuf:"bytes,3,opt,name=selection"`
}

func (*FeatureEngineeringSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureEngineeringSpec.

func (*FeatureEngineeringSpec) DeepCopyInto

func (in *FeatureEngineeringSpec) DeepCopyInto(out *FeatureEngineeringSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FeatureEngineeringSpec) Descriptor

func (*FeatureEngineeringSpec) Descriptor() ([]byte, []int)

func (*FeatureEngineeringSpec) Marshal

func (m *FeatureEngineeringSpec) Marshal() (dAtA []byte, err error)

func (*FeatureEngineeringSpec) MarshalTo

func (m *FeatureEngineeringSpec) MarshalTo(dAtA []byte) (int, error)

func (*FeatureEngineeringSpec) MarshalToSizedBuffer

func (m *FeatureEngineeringSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FeatureEngineeringSpec) ProtoMessage

func (*FeatureEngineeringSpec) ProtoMessage()

func (*FeatureEngineeringSpec) Reset

func (m *FeatureEngineeringSpec) Reset()

func (*FeatureEngineeringSpec) Size

func (m *FeatureEngineeringSpec) Size() (n int)

func (*FeatureEngineeringSpec) String

func (this *FeatureEngineeringSpec) String() string

func (*FeatureEngineeringSpec) Unmarshal

func (m *FeatureEngineeringSpec) Unmarshal(dAtA []byte) error

func (*FeatureEngineeringSpec) XXX_DiscardUnknown

func (m *FeatureEngineeringSpec) XXX_DiscardUnknown()

func (*FeatureEngineeringSpec) XXX_Marshal

func (m *FeatureEngineeringSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FeatureEngineeringSpec) XXX_Merge

func (m *FeatureEngineeringSpec) XXX_Merge(src proto.Message)

func (*FeatureEngineeringSpec) XXX_Size

func (m *FeatureEngineeringSpec) XXX_Size() int

func (*FeatureEngineeringSpec) XXX_Unmarshal

func (m *FeatureEngineeringSpec) XXX_Unmarshal(b []byte) error

type FeatureImportance

type FeatureImportance struct {
	Feature string `json:"feature,omitempty" protobuf:"bytes,1,opt,name=feature"`
	// +kubebuilder:validation:Format=float
	// +kubebuilder:validation:Type=number
	Importance float64 `json:"importance,omitempty" protobuf:"bytes,2,opt,name=importance"`
}

func (*FeatureImportance) DeepCopy

func (in *FeatureImportance) DeepCopy() *FeatureImportance

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureImportance.

func (*FeatureImportance) DeepCopyInto

func (in *FeatureImportance) DeepCopyInto(out *FeatureImportance)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FeatureImportance) Descriptor

func (*FeatureImportance) Descriptor() ([]byte, []int)

func (*FeatureImportance) Marshal

func (m *FeatureImportance) Marshal() (dAtA []byte, err error)

func (*FeatureImportance) MarshalTo

func (m *FeatureImportance) MarshalTo(dAtA []byte) (int, error)

func (*FeatureImportance) MarshalToSizedBuffer

func (m *FeatureImportance) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FeatureImportance) ProtoMessage

func (*FeatureImportance) ProtoMessage()

func (*FeatureImportance) Reset

func (m *FeatureImportance) Reset()

func (*FeatureImportance) Size

func (m *FeatureImportance) Size() (n int)

func (*FeatureImportance) String

func (this *FeatureImportance) String() string

func (*FeatureImportance) Unmarshal

func (m *FeatureImportance) Unmarshal(dAtA []byte) error

func (*FeatureImportance) XXX_DiscardUnknown

func (m *FeatureImportance) XXX_DiscardUnknown()

func (*FeatureImportance) XXX_Marshal

func (m *FeatureImportance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FeatureImportance) XXX_Merge

func (m *FeatureImportance) XXX_Merge(src proto.Message)

func (*FeatureImportance) XXX_Size

func (m *FeatureImportance) XXX_Size() int

func (*FeatureImportance) XXX_Unmarshal

func (m *FeatureImportance) XXX_Unmarshal(b []byte) error

type FeatureInfo

type FeatureInfo struct {
	// The feature name
	// +kubebuilder:default:=""
	// +kubebuilder:validation:Optional
	Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`
	// The reason that the feature was dropped
	// +kubebuilder:validation:Optional
	Reason string `json:"reason,omitempty" protobuf:"bytes,2,opt,name=reason"`
	// +kubebuilder:validation:Optional
	Value float64 `json:"value,omitempty" protobuf:"bytes,3,opt,name=value"`
}

func (*FeatureInfo) DeepCopy

func (in *FeatureInfo) DeepCopy() *FeatureInfo

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureInfo.

func (*FeatureInfo) DeepCopyInto

func (in *FeatureInfo) DeepCopyInto(out *FeatureInfo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FeatureInfo) Descriptor

func (*FeatureInfo) Descriptor() ([]byte, []int)

func (*FeatureInfo) Marshal

func (m *FeatureInfo) Marshal() (dAtA []byte, err error)

func (*FeatureInfo) MarshalTo

func (m *FeatureInfo) MarshalTo(dAtA []byte) (int, error)

func (*FeatureInfo) MarshalToSizedBuffer

func (m *FeatureInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FeatureInfo) ProtoMessage

func (*FeatureInfo) ProtoMessage()

func (*FeatureInfo) Reset

func (m *FeatureInfo) Reset()

func (*FeatureInfo) Size

func (m *FeatureInfo) Size() (n int)

func (*FeatureInfo) String

func (this *FeatureInfo) String() string

func (*FeatureInfo) Unmarshal

func (m *FeatureInfo) Unmarshal(dAtA []byte) error

func (*FeatureInfo) XXX_DiscardUnknown

func (m *FeatureInfo) XXX_DiscardUnknown()

func (*FeatureInfo) XXX_Marshal

func (m *FeatureInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FeatureInfo) XXX_Merge

func (m *FeatureInfo) XXX_Merge(src proto.Message)

func (*FeatureInfo) XXX_Size

func (m *FeatureInfo) XXX_Size() int

func (*FeatureInfo) XXX_Unmarshal

func (m *FeatureInfo) XXX_Unmarshal(b []byte) error

type FeaturePair added in v0.4.400

type FeaturePair struct {
	// The name of feature A
	X string `json:"x,omitempty" protobuf:"bytes,1,opt,name=x"`
	Y string `json:"y,omitempty" protobuf:"bytes,2,opt,name=y"`
}

func (*FeaturePair) DeepCopy added in v0.4.400

func (in *FeaturePair) DeepCopy() *FeaturePair

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeaturePair.

func (*FeaturePair) DeepCopyInto added in v0.4.400

func (in *FeaturePair) DeepCopyInto(out *FeaturePair)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FeaturePair) Descriptor added in v0.4.400

func (*FeaturePair) Descriptor() ([]byte, []int)

func (*FeaturePair) Marshal added in v0.4.400

func (m *FeaturePair) Marshal() (dAtA []byte, err error)

func (*FeaturePair) MarshalTo added in v0.4.400

func (m *FeaturePair) MarshalTo(dAtA []byte) (int, error)

func (*FeaturePair) MarshalToSizedBuffer added in v0.4.400

func (m *FeaturePair) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FeaturePair) ProtoMessage added in v0.4.400

func (*FeaturePair) ProtoMessage()

func (*FeaturePair) Reset added in v0.4.400

func (m *FeaturePair) Reset()

func (*FeaturePair) Size added in v0.4.400

func (m *FeaturePair) Size() (n int)

func (*FeaturePair) String added in v0.4.400

func (this *FeaturePair) String() string

func (*FeaturePair) Unmarshal added in v0.4.400

func (m *FeaturePair) Unmarshal(dAtA []byte) error

func (*FeaturePair) XXX_DiscardUnknown added in v0.4.400

func (m *FeaturePair) XXX_DiscardUnknown()

func (*FeaturePair) XXX_Marshal added in v0.4.400

func (m *FeaturePair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FeaturePair) XXX_Merge added in v0.4.400

func (m *FeaturePair) XXX_Merge(src proto.Message)

func (*FeaturePair) XXX_Size added in v0.4.400

func (m *FeaturePair) XXX_Size() int

func (*FeaturePair) XXX_Unmarshal added in v0.4.400

func (m *FeaturePair) XXX_Unmarshal(b []byte) error

type FeatureSelectionSpec

type FeatureSelectionSpec struct {
	// Enable the feature selection.
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" protobuf:"varint,1,rep,name=enabled"`
	// Percent of data to sample while preforming the feature engineering search
	// +kubebuilder:default:=100
	// +kubebuilder:validation:Optional
	SamplePct *int32 `json:"samplePct,omitempty" protobuf:"varint,2,rep,name=samplePct"`
	// If true, sample embedding methods as part of candidate algorithms for feature selection
	// Example of embedded method are tree based selection
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	Embedding *bool `json:"embedding,omitempty" protobuf:"varint,3,rep,name=embedding"`
	// If true, sample filter methods. Filter method are based on statistical tests.
	// For example, chi square and anova tests.
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	Filter *bool `json:"filter,omitempty" protobuf:"varint,4,rep,name=filter"`
	// If true, sample wrapper methods,
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	Wrapper *bool `json:"wrapper,omitempty" protobuf:"varint,5,rep,name=wrapper"`
	// the Feature selection pipeline.
	// Steps are applied in the order of the pipeline
	Pipeline []catalog.FeatureSelection `json:"pipeline,omitempty" protobuf:"varint,6,rep,name=pipeline"`
	// Lowvar specify the filter to remove low variance features
	// +kubebuilder:default:=5
	// +kubebuilder:validation:Optional
	VarianceThresholdPct *int32 `json:"varianceThresholdPct,omitempty" protobuf:"varint,7,opt,name=varianceThresholdPct"`
	// Remove Features with high correlations
	// +kubebuilder:default:=95
	// +kubebuilder:validation:Optional
	CorrThreshold *int32 `json:"corrThreshold,omitempty" protobuf:"varint,8,opt,name=corrThreshold"`
	// Select the Top N is the number of feature to select by importance. If 0, all the features are selected.
	// +kubebuilder:default:=0
	// +kubebuilder:validation:Optional
	TopN *int32 `json:"topN,omitempty" protobuf:"varint,9,opt,name=topN"`
	// The cummulative importance of all the importance feature to include
	// +kubebuilder:default:=95
	// +kubebuilder:validation:Optional
	CumulativeImportancePercent *int32 `json:"cumulativeImportancePercent,omitempty" protobuf:"varint,10,opt,name=cumulativeImportancePercent"`
	// List of feature names to consider when training , even after filtering
	// +kubebuilder:validation:Optional
	Reserved []string `json:"reserved,omitempty" protobuf:"bytes,11,rep,name=reserved"`
}

Feature selection spec defines how to select feature

func (*FeatureSelectionSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureSelectionSpec.

func (*FeatureSelectionSpec) DeepCopyInto

func (in *FeatureSelectionSpec) DeepCopyInto(out *FeatureSelectionSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FeatureSelectionSpec) Descriptor

func (*FeatureSelectionSpec) Descriptor() ([]byte, []int)

func (*FeatureSelectionSpec) Marshal

func (m *FeatureSelectionSpec) Marshal() (dAtA []byte, err error)

func (*FeatureSelectionSpec) MarshalTo

func (m *FeatureSelectionSpec) MarshalTo(dAtA []byte) (int, error)

func (*FeatureSelectionSpec) MarshalToSizedBuffer

func (m *FeatureSelectionSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FeatureSelectionSpec) ProtoMessage

func (*FeatureSelectionSpec) ProtoMessage()

func (*FeatureSelectionSpec) Reset

func (m *FeatureSelectionSpec) Reset()

func (*FeatureSelectionSpec) Size

func (m *FeatureSelectionSpec) Size() (n int)

func (*FeatureSelectionSpec) String

func (this *FeatureSelectionSpec) String() string

func (*FeatureSelectionSpec) Unmarshal

func (m *FeatureSelectionSpec) Unmarshal(dAtA []byte) error

func (*FeatureSelectionSpec) XXX_DiscardUnknown

func (m *FeatureSelectionSpec) XXX_DiscardUnknown()

func (*FeatureSelectionSpec) XXX_Marshal

func (m *FeatureSelectionSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FeatureSelectionSpec) XXX_Merge

func (m *FeatureSelectionSpec) XXX_Merge(src proto.Message)

func (*FeatureSelectionSpec) XXX_Size

func (m *FeatureSelectionSpec) XXX_Size() int

func (*FeatureSelectionSpec) XXX_Unmarshal

func (m *FeatureSelectionSpec) XXX_Unmarshal(b []byte) error

type ForecastObj

type ForecastObj struct {
	Key        string `json:"key,omitempty" protobuf:"bytes,1,opt,name=key"`
	LevelIndex int32  `json:"levelIndex,omitempty" protobuf:"varint,2,opt,name=levelIndex"`
}

A definition for a single forecast A single forecast knows its forecast key and the index to its level

func (*ForecastObj) DeepCopy

func (in *ForecastObj) DeepCopy() *ForecastObj

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForecastObj.

func (*ForecastObj) DeepCopyInto

func (in *ForecastObj) DeepCopyInto(out *ForecastObj)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ForecastObj) Descriptor

func (*ForecastObj) Descriptor() ([]byte, []int)

func (*ForecastObj) Marshal

func (m *ForecastObj) Marshal() (dAtA []byte, err error)

func (*ForecastObj) MarshalTo

func (m *ForecastObj) MarshalTo(dAtA []byte) (int, error)

func (*ForecastObj) MarshalToSizedBuffer

func (m *ForecastObj) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ForecastObj) ProtoMessage

func (*ForecastObj) ProtoMessage()

func (*ForecastObj) Reset

func (m *ForecastObj) Reset()

func (*ForecastObj) Size

func (m *ForecastObj) Size() (n int)

func (*ForecastObj) String

func (this *ForecastObj) String() string

func (*ForecastObj) Unmarshal

func (m *ForecastObj) Unmarshal(dAtA []byte) error

func (*ForecastObj) XXX_DiscardUnknown

func (m *ForecastObj) XXX_DiscardUnknown()

func (*ForecastObj) XXX_Marshal

func (m *ForecastObj) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ForecastObj) XXX_Merge

func (m *ForecastObj) XXX_Merge(src proto.Message)

func (*ForecastObj) XXX_Size

func (m *ForecastObj) XXX_Size() int

func (*ForecastObj) XXX_Unmarshal

func (m *ForecastObj) XXX_Unmarshal(b []byte) error

type ForecastPostProcessingSpec

type ForecastPostProcessingSpec struct {
	// The name of the connection for a database the result of the forecast
	// If null, the system will insert the forecast in the database.
	// +kubebuilder:validation:Optional
	ConnectionName *string `json:"connectionName,omitempty" protobuf:"bytes,1,opt,name=connectionName"`
	// Specify if we should generate a forecast using the model
	// If true, the system will perform a forecast and update the forecast connection.
	// Default it true
	// +kubebuilder:validation:Optional
	Forecast *bool `json:"forecast,omitempty" protobuf:"varint,2,opt,name=forecast"`
}

The Forecast storage spec specify where to store the forecast after prediction.

func (*ForecastPostProcessingSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForecastPostProcessingSpec.

func (*ForecastPostProcessingSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ForecastPostProcessingSpec) Descriptor

func (*ForecastPostProcessingSpec) Descriptor() ([]byte, []int)

func (*ForecastPostProcessingSpec) Marshal

func (m *ForecastPostProcessingSpec) Marshal() (dAtA []byte, err error)

func (*ForecastPostProcessingSpec) MarshalTo

func (m *ForecastPostProcessingSpec) MarshalTo(dAtA []byte) (int, error)

func (*ForecastPostProcessingSpec) MarshalToSizedBuffer

func (m *ForecastPostProcessingSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ForecastPostProcessingSpec) ProtoMessage

func (*ForecastPostProcessingSpec) ProtoMessage()

func (*ForecastPostProcessingSpec) Reset

func (m *ForecastPostProcessingSpec) Reset()

func (*ForecastPostProcessingSpec) Size

func (m *ForecastPostProcessingSpec) Size() (n int)

func (*ForecastPostProcessingSpec) String

func (this *ForecastPostProcessingSpec) String() string

func (*ForecastPostProcessingSpec) Unmarshal

func (m *ForecastPostProcessingSpec) Unmarshal(dAtA []byte) error

func (*ForecastPostProcessingSpec) XXX_DiscardUnknown

func (m *ForecastPostProcessingSpec) XXX_DiscardUnknown()

func (*ForecastPostProcessingSpec) XXX_Marshal

func (m *ForecastPostProcessingSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ForecastPostProcessingSpec) XXX_Merge

func (m *ForecastPostProcessingSpec) XXX_Merge(src proto.Message)

func (*ForecastPostProcessingSpec) XXX_Size

func (m *ForecastPostProcessingSpec) XXX_Size() int

func (*ForecastPostProcessingSpec) XXX_Unmarshal

func (m *ForecastPostProcessingSpec) XXX_Unmarshal(b []byte) error

type ForecastSpec

type ForecastSpec struct {
	// Specification of the forecast data.
	// +kubebuilder:validation:Optional
	Data TimeSeriesDataSpec `json:"data,omitempty" protobuf:"bytes,1,opt,name=data"`
	// The confidence levels for the forecast, each level must be between 1-100.
	// +kubebuilder:default = 95
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:Minimum=0
	ConfidenceInterval *int32 `json:"confidenceIntervals,omitempty" protobuf:"varint,2,opt,name=confidenceInterval"`
	// The backtest specification, the system supports back testing with expanding windows.
	// +kubebuilder:validation:Optional
	Backtest BacktestSpec `json:"backtest,omitempty" protobuf:"bytes,3,opt,name=backtest"`
	// Post processing
	// +kubebuilder:validation:Optional
	PostPrecessing ForecastPostProcessingSpec `json:"postProcessing,omitempty" protobuf:"bytes,4,opt,name=postProcessing"`
	// If true generate the plots
	// +kubebuilder:default = true
	// +kubebuilder:validation:Optional
	Plot *bool `json:"plot,omitempty" protobuf:"varint,5,opt,name=plot"`
	// +kubebuilder:default = true
	// +kubebuilder:validation:Optional
	PlotChangePoints *bool `json:"plotChangePoints,omitempty" protobuf:"varint,6,opt,name=plotChangePoints"`
}

ForecastingSpec

func (*ForecastSpec) DeepCopy

func (in *ForecastSpec) DeepCopy() *ForecastSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForecastSpec.

func (*ForecastSpec) DeepCopyInto

func (in *ForecastSpec) DeepCopyInto(out *ForecastSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ForecastSpec) Descriptor

func (*ForecastSpec) Descriptor() ([]byte, []int)

func (*ForecastSpec) Marshal

func (m *ForecastSpec) Marshal() (dAtA []byte, err error)

func (*ForecastSpec) MarshalTo

func (m *ForecastSpec) MarshalTo(dAtA []byte) (int, error)

func (*ForecastSpec) MarshalToSizedBuffer

func (m *ForecastSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ForecastSpec) ProtoMessage

func (*ForecastSpec) ProtoMessage()

func (*ForecastSpec) Reset

func (m *ForecastSpec) Reset()

func (*ForecastSpec) Size

func (m *ForecastSpec) Size() (n int)

func (*ForecastSpec) String

func (this *ForecastSpec) String() string

func (*ForecastSpec) Unmarshal

func (m *ForecastSpec) Unmarshal(dAtA []byte) error

func (*ForecastSpec) XXX_DiscardUnknown

func (m *ForecastSpec) XXX_DiscardUnknown()

func (*ForecastSpec) XXX_Marshal

func (m *ForecastSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ForecastSpec) XXX_Merge

func (m *ForecastSpec) XXX_Merge(src proto.Message)

func (*ForecastSpec) XXX_Size

func (m *ForecastSpec) XXX_Size() int

func (*ForecastSpec) XXX_Unmarshal

func (m *ForecastSpec) XXX_Unmarshal(b []byte) error

type GarbageCollectionSpec added in v0.4.414

type GarbageCollectionSpec struct {
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:=true
	CollectAtStudyEnd *bool `json:"collectAtStudyEnd,omitempty" protobuf:"varint,1,opt,name=collectAtStudyEnd"`
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:=true
	KeepOnlyBestModelPerAlgorithm *bool `json:"keepOnlyBestModelPerAlgorithm,omitempty" protobuf:"varint,2,opt,name=keepOnlyBestModelPerAlgorithm"`
}

Garbage collection

func (*GarbageCollectionSpec) DeepCopy added in v0.4.414

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GarbageCollectionSpec.

func (*GarbageCollectionSpec) DeepCopyInto added in v0.4.414

func (in *GarbageCollectionSpec) DeepCopyInto(out *GarbageCollectionSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GarbageCollectionSpec) Descriptor added in v0.4.414

func (*GarbageCollectionSpec) Descriptor() ([]byte, []int)

func (*GarbageCollectionSpec) Marshal added in v0.4.414

func (m *GarbageCollectionSpec) Marshal() (dAtA []byte, err error)

func (*GarbageCollectionSpec) MarshalTo added in v0.4.414

func (m *GarbageCollectionSpec) MarshalTo(dAtA []byte) (int, error)

func (*GarbageCollectionSpec) MarshalToSizedBuffer added in v0.4.414

func (m *GarbageCollectionSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GarbageCollectionSpec) ProtoMessage added in v0.4.414

func (*GarbageCollectionSpec) ProtoMessage()

func (*GarbageCollectionSpec) Reset added in v0.4.414

func (m *GarbageCollectionSpec) Reset()

func (*GarbageCollectionSpec) Size added in v0.4.414

func (m *GarbageCollectionSpec) Size() (n int)

func (*GarbageCollectionSpec) String added in v0.4.414

func (this *GarbageCollectionSpec) String() string

func (*GarbageCollectionSpec) Unmarshal added in v0.4.414

func (m *GarbageCollectionSpec) Unmarshal(dAtA []byte) error

func (*GarbageCollectionSpec) XXX_DiscardUnknown added in v0.4.414

func (m *GarbageCollectionSpec) XXX_DiscardUnknown()

func (*GarbageCollectionSpec) XXX_Marshal added in v0.4.414

func (m *GarbageCollectionSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GarbageCollectionSpec) XXX_Merge added in v0.4.414

func (m *GarbageCollectionSpec) XXX_Merge(src proto.Message)

func (*GarbageCollectionSpec) XXX_Size added in v0.4.414

func (m *GarbageCollectionSpec) XXX_Size() int

func (*GarbageCollectionSpec) XXX_Unmarshal added in v0.4.414

func (m *GarbageCollectionSpec) XXX_Unmarshal(b []byte) error

type GarbageCollectionStatus added in v0.4.414

type GarbageCollectionStatus struct {
	// +kubebuilder:validation:Optional
	Collected int32 `json:"collected,omitempty" protobuf:"varint,1,opt,name=collected"`
}

func (*GarbageCollectionStatus) DeepCopy added in v0.4.414

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GarbageCollectionStatus.

func (*GarbageCollectionStatus) DeepCopyInto added in v0.4.414

func (in *GarbageCollectionStatus) DeepCopyInto(out *GarbageCollectionStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GarbageCollectionStatus) Descriptor added in v0.4.414

func (*GarbageCollectionStatus) Descriptor() ([]byte, []int)

func (*GarbageCollectionStatus) Marshal added in v0.4.414

func (m *GarbageCollectionStatus) Marshal() (dAtA []byte, err error)

func (*GarbageCollectionStatus) MarshalTo added in v0.4.414

func (m *GarbageCollectionStatus) MarshalTo(dAtA []byte) (int, error)

func (*GarbageCollectionStatus) MarshalToSizedBuffer added in v0.4.414

func (m *GarbageCollectionStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GarbageCollectionStatus) ProtoMessage added in v0.4.414

func (*GarbageCollectionStatus) ProtoMessage()

func (*GarbageCollectionStatus) Reset added in v0.4.414

func (m *GarbageCollectionStatus) Reset()

func (*GarbageCollectionStatus) Size added in v0.4.414

func (m *GarbageCollectionStatus) Size() (n int)

func (*GarbageCollectionStatus) String added in v0.4.414

func (this *GarbageCollectionStatus) String() string

func (*GarbageCollectionStatus) Unmarshal added in v0.4.414

func (m *GarbageCollectionStatus) Unmarshal(dAtA []byte) error

func (*GarbageCollectionStatus) XXX_DiscardUnknown added in v0.4.414

func (m *GarbageCollectionStatus) XXX_DiscardUnknown()

func (*GarbageCollectionStatus) XXX_Marshal added in v0.4.414

func (m *GarbageCollectionStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GarbageCollectionStatus) XXX_Merge added in v0.4.414

func (m *GarbageCollectionStatus) XXX_Merge(src proto.Message)

func (*GarbageCollectionStatus) XXX_Size added in v0.4.414

func (m *GarbageCollectionStatus) XXX_Size() int

func (*GarbageCollectionStatus) XXX_Unmarshal added in v0.4.414

func (m *GarbageCollectionStatus) XXX_Unmarshal(b []byte) error

type GeneratedColumnSpec

type GeneratedColumnSpec struct {
	// The name of the generated column
	Name *string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`
	// The resulting data type
	DataType catalog.DataType `json:"datatype,omitempty" protobuf:"bytes,2,opt,name=datatype"`
	// The name of the first original column
	First string `json:"first,omitempty" protobuf:"bytes,3,opt,name=first"`
	// The name of the second original column, if the expression is binary operator
	// +kubebuilder:validation:Optional
	Second string `json:"second,omitempty" protobuf:"bytes,4,opt,name=second"`
	// The expression to apply in order to generate the new column
	// +kubebuilder:validation:Optional
	Expression string `json:"original,omitempty" protobuf:"bytes,5,opt,name=original"`
}

func (*GeneratedColumnSpec) DeepCopy

func (in *GeneratedColumnSpec) DeepCopy() *GeneratedColumnSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeneratedColumnSpec.

func (*GeneratedColumnSpec) DeepCopyInto

func (in *GeneratedColumnSpec) DeepCopyInto(out *GeneratedColumnSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GeneratedColumnSpec) Descriptor

func (*GeneratedColumnSpec) Descriptor() ([]byte, []int)

func (*GeneratedColumnSpec) Marshal

func (m *GeneratedColumnSpec) Marshal() (dAtA []byte, err error)

func (*GeneratedColumnSpec) MarshalTo

func (m *GeneratedColumnSpec) MarshalTo(dAtA []byte) (int, error)

func (*GeneratedColumnSpec) MarshalToSizedBuffer

func (m *GeneratedColumnSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GeneratedColumnSpec) ProtoMessage

func (*GeneratedColumnSpec) ProtoMessage()

func (*GeneratedColumnSpec) Reset

func (m *GeneratedColumnSpec) Reset()

func (*GeneratedColumnSpec) Size

func (m *GeneratedColumnSpec) Size() (n int)

func (*GeneratedColumnSpec) String

func (this *GeneratedColumnSpec) String() string

func (*GeneratedColumnSpec) Unmarshal

func (m *GeneratedColumnSpec) Unmarshal(dAtA []byte) error

func (*GeneratedColumnSpec) XXX_DiscardUnknown

func (m *GeneratedColumnSpec) XXX_DiscardUnknown()

func (*GeneratedColumnSpec) XXX_Marshal

func (m *GeneratedColumnSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GeneratedColumnSpec) XXX_Merge

func (m *GeneratedColumnSpec) XXX_Merge(src proto.Message)

func (*GeneratedColumnSpec) XXX_Size

func (m *GeneratedColumnSpec) XXX_Size() int

func (*GeneratedColumnSpec) XXX_Unmarshal

func (m *GeneratedColumnSpec) XXX_Unmarshal(b []byte) error

type GrowthMode

type GrowthMode string

+kubebuilder:validation:Enum="linear";"logistic";"flat"

const (
	Linear   GrowthMode = "linear"
	Logistic GrowthMode = "logistic"
	Flat     GrowthMode = "flat"
)

type Hierarchy

type Hierarchy struct {
	// The columns in the data frame that belongs to the hierarchy. By default, all the item level column is the last one. The default aggregate function is sum.
	Columns []string `json:"columns,omitempty" protobuf:"bytes,1,rep,name=columns"`
	// The group level columns. For each group level column specify the horizon and the aggregate function
	GroupLevels []Level `json:"groupLevels,omitempty" protobuf:"bytes,2,rep,name=groupLevels"`
	// Item level column.
	ItemLevel *Level `json:"itemLevel,omitempty" protobuf:"bytes,3,opt,name=itemLevel"`
	// Optional notifier to use when the forecast is complete.
	// +kubebuilder:validation:Optional
	NotifierName *string `json:"notifierName,omitempty" protobuf:"bytes,4,opt,name=notifierName"`
}

func (*Hierarchy) DeepCopy

func (in *Hierarchy) DeepCopy() *Hierarchy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Hierarchy.

func (*Hierarchy) DeepCopyInto

func (in *Hierarchy) DeepCopyInto(out *Hierarchy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Hierarchy) Descriptor

func (*Hierarchy) Descriptor() ([]byte, []int)

func (Hierarchy) Explode

func (h Hierarchy) Explode() []ForecastObj

Ask the hirerchy to return forecast keys

func (*Hierarchy) Marshal

func (m *Hierarchy) Marshal() (dAtA []byte, err error)

func (*Hierarchy) MarshalTo

func (m *Hierarchy) MarshalTo(dAtA []byte) (int, error)

func (*Hierarchy) MarshalToSizedBuffer

func (m *Hierarchy) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Hierarchy) ProtoMessage

func (*Hierarchy) ProtoMessage()

func (*Hierarchy) Reset

func (m *Hierarchy) Reset()

func (*Hierarchy) Size

func (m *Hierarchy) Size() (n int)

func (*Hierarchy) String

func (this *Hierarchy) String() string

func (*Hierarchy) Unmarshal

func (m *Hierarchy) Unmarshal(dAtA []byte) error

func (*Hierarchy) XXX_DiscardUnknown

func (m *Hierarchy) XXX_DiscardUnknown()

func (*Hierarchy) XXX_Marshal

func (m *Hierarchy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Hierarchy) XXX_Merge

func (m *Hierarchy) XXX_Merge(src proto.Message)

func (*Hierarchy) XXX_Size

func (m *Hierarchy) XXX_Size() int

func (*Hierarchy) XXX_Unmarshal

func (m *Hierarchy) XXX_Unmarshal(b []byte) error

type HierarchySpec

type HierarchySpec struct {
	// If true enable
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" protobuf:"varint,1,opt,name=enabled"`
	// Column name of the first level of grouping
	// +kubebuilder:validation:Optional
	GroupColumn *string `json:"groupColumn,omitempty" protobuf:"bytes,2,opt,name=groupColumn"`
	// Column name of the second level of grouping
	// +kubebuilder:validation:Optional
	SubGroupColumn *string `json:"subGroupColumn,omitempty" protobuf:"bytes,3,opt,name=subGroupColumn"`
	// Column name of the third level of grouping
	// +kubebuilder:validation:Optional
	SubSubGroupColumn *string `json:"subSubGroupColumn,omitempty" protobuf:"bytes,4,opt,name=subSubGroupColumn"`
}

Define weather an hierarchy exists in the time series

func (*HierarchySpec) DeepCopy

func (in *HierarchySpec) DeepCopy() *HierarchySpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HierarchySpec.

func (*HierarchySpec) DeepCopyInto

func (in *HierarchySpec) DeepCopyInto(out *HierarchySpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*HierarchySpec) Descriptor

func (*HierarchySpec) Descriptor() ([]byte, []int)

func (*HierarchySpec) Marshal

func (m *HierarchySpec) Marshal() (dAtA []byte, err error)

func (*HierarchySpec) MarshalTo

func (m *HierarchySpec) MarshalTo(dAtA []byte) (int, error)

func (*HierarchySpec) MarshalToSizedBuffer

func (m *HierarchySpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HierarchySpec) ProtoMessage

func (*HierarchySpec) ProtoMessage()

func (*HierarchySpec) Reset

func (m *HierarchySpec) Reset()

func (*HierarchySpec) Size

func (m *HierarchySpec) Size() (n int)

func (*HierarchySpec) String

func (this *HierarchySpec) String() string

func (*HierarchySpec) Unmarshal

func (m *HierarchySpec) Unmarshal(dAtA []byte) error

func (*HierarchySpec) XXX_DiscardUnknown

func (m *HierarchySpec) XXX_DiscardUnknown()

func (*HierarchySpec) XXX_Marshal

func (m *HierarchySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HierarchySpec) XXX_Merge

func (m *HierarchySpec) XXX_Merge(src proto.Message)

func (*HierarchySpec) XXX_Size

func (m *HierarchySpec) XXX_Size() int

func (*HierarchySpec) XXX_Unmarshal

func (m *HierarchySpec) XXX_Unmarshal(b []byte) error

type HolidaySpec

type HolidaySpec struct {
	// If true enable holidays
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" protobuf:"varint,1,opt,name=enabled"`
	// The name of the holiday column. If the column is empty, no holiday
	// Column name of the first level of grouping
	// +kubebuilder:validation:Optional
	HolidayColumn *string `json:"holidayColumn,omitempty" protobuf:"bytes,2,opt,name=holidayColumn"`
	// +kubebuilder:validation:Optional
	Country *catalog.HolidayCountry `json:"country,omitempty" protobuf:"bytes,3,opt,name=country"`
	// For custom holiday use external dataset
	// +kubebuilder:validation:Optional
	DatasetName *string `json:"datasetName,omitempty" protobuf:"bytes,4,opt,name=datasetName"`
}

func (*HolidaySpec) DeepCopy

func (in *HolidaySpec) DeepCopy() *HolidaySpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HolidaySpec.

func (*HolidaySpec) DeepCopyInto

func (in *HolidaySpec) DeepCopyInto(out *HolidaySpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*HolidaySpec) Descriptor

func (*HolidaySpec) Descriptor() ([]byte, []int)

func (*HolidaySpec) Marshal

func (m *HolidaySpec) Marshal() (dAtA []byte, err error)

func (*HolidaySpec) MarshalTo

func (m *HolidaySpec) MarshalTo(dAtA []byte) (int, error)

func (*HolidaySpec) MarshalToSizedBuffer

func (m *HolidaySpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HolidaySpec) ProtoMessage

func (*HolidaySpec) ProtoMessage()

func (*HolidaySpec) Reset

func (m *HolidaySpec) Reset()

func (*HolidaySpec) Size

func (m *HolidaySpec) Size() (n int)

func (*HolidaySpec) String

func (this *HolidaySpec) String() string

func (*HolidaySpec) Unmarshal

func (m *HolidaySpec) Unmarshal(dAtA []byte) error

func (*HolidaySpec) XXX_DiscardUnknown

func (m *HolidaySpec) XXX_DiscardUnknown()

func (*HolidaySpec) XXX_Marshal

func (m *HolidaySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HolidaySpec) XXX_Merge

func (m *HolidaySpec) XXX_Merge(src proto.Message)

func (*HolidaySpec) XXX_Size

func (m *HolidaySpec) XXX_Size() int

func (*HolidaySpec) XXX_Unmarshal

func (m *HolidaySpec) XXX_Unmarshal(b []byte) error

type HyperParameterValue

type HyperParameterValue struct {
	// Reference to the name of the hyper parameter.
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
	// Value hold the value if  the hyper paramer type is string
	Value string `json:"value" protobuf:"bytes,2,opt,name=value"`
}

HyperParameterValue represent a specific value of the learning algorithm hyper-parameter. The value is chosen by the planner

func NewHyperParameterValue

func NewHyperParameterValue() *HyperParameterValue

func ParseHyperParametersFromJson

func ParseHyperParametersFromJson(jsonStr string) ([]HyperParameterValue, error)

func (*HyperParameterValue) DeepCopy

func (in *HyperParameterValue) DeepCopy() *HyperParameterValue

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HyperParameterValue.

func (*HyperParameterValue) DeepCopyInto

func (in *HyperParameterValue) DeepCopyInto(out *HyperParameterValue)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*HyperParameterValue) Descriptor

func (*HyperParameterValue) Descriptor() ([]byte, []int)

func (*HyperParameterValue) Marshal

func (m *HyperParameterValue) Marshal() (dAtA []byte, err error)

func (*HyperParameterValue) MarshalTo

func (m *HyperParameterValue) MarshalTo(dAtA []byte) (int, error)

func (*HyperParameterValue) MarshalToSizedBuffer

func (m *HyperParameterValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HyperParameterValue) ProtoMessage

func (*HyperParameterValue) ProtoMessage()

func (*HyperParameterValue) Reset

func (m *HyperParameterValue) Reset()

func (*HyperParameterValue) Size

func (m *HyperParameterValue) Size() (n int)

func (*HyperParameterValue) String

func (this *HyperParameterValue) String() string

func (*HyperParameterValue) Unmarshal

func (m *HyperParameterValue) Unmarshal(dAtA []byte) error

func (*HyperParameterValue) XXX_DiscardUnknown

func (m *HyperParameterValue) XXX_DiscardUnknown()

func (*HyperParameterValue) XXX_Marshal

func (m *HyperParameterValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HyperParameterValue) XXX_Merge

func (m *HyperParameterValue) XXX_Merge(src proto.Message)

func (*HyperParameterValue) XXX_Size

func (m *HyperParameterValue) XXX_Size() int

func (*HyperParameterValue) XXX_Unmarshal

func (m *HyperParameterValue) XXX_Unmarshal(b []byte) error

type IinitializerName

type IinitializerName string
const (
	IinitializerZeros            IinitializerName = "zeros"
	IinitializerOnes             IinitializerName = "ones"
	IinitializerConstant         IinitializerName = "constant"
	IinitializerRandom_normal    IinitializerName = "random-normal"
	IinitializerRandom_uniform   IinitializerName = "random-uniform"
	IinitializerTruncated_normal IinitializerName = "truncated-normal"
	IinitializerVariance_scaling IinitializerName = "variance-scaling"
	IinitializerOrthogonal       IinitializerName = "orthogonal"
	IinitializerIdentity         IinitializerName = "identity"
	IinitializerLecun_uniform    IinitializerName = "lecun-uniform"
	IinitializerGlorot_normal    IinitializerName = "glorot-normal"
	IinitializerGlorot_uniform   IinitializerName = "glorot-uniform"
	IinitializerHe_normal        IinitializerName = "he-normal"
	Iinitializerlecun_normal     IinitializerName = "lecun-normal"
	IinitializerHeUniform        IinitializerName = "uniform"
	IinitializerNone             IinitializerName = "none"
)

type ImagePipelineSpec

type ImagePipelineSpec struct {
	// The date time imputer.
	// +kubebuilder:default:="auto"
	// +kubebuilder:validation:Optional
	Featurizer *catalog.ImageFeaturizer `json:"featurizer,omitempty" protobuf:"bytes,1,opt,name=featurizer"`
}

ImagePipelineSpec is the specification for preprocessing image data

func (*ImagePipelineSpec) DeepCopy

func (in *ImagePipelineSpec) DeepCopy() *ImagePipelineSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImagePipelineSpec.

func (*ImagePipelineSpec) DeepCopyInto

func (in *ImagePipelineSpec) DeepCopyInto(out *ImagePipelineSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ImagePipelineSpec) Descriptor

func (*ImagePipelineSpec) Descriptor() ([]byte, []int)

func (*ImagePipelineSpec) Marshal

func (m *ImagePipelineSpec) Marshal() (dAtA []byte, err error)

func (*ImagePipelineSpec) MarshalTo

func (m *ImagePipelineSpec) MarshalTo(dAtA []byte) (int, error)

func (*ImagePipelineSpec) MarshalToSizedBuffer

func (m *ImagePipelineSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ImagePipelineSpec) ProtoMessage

func (*ImagePipelineSpec) ProtoMessage()

func (*ImagePipelineSpec) Reset

func (m *ImagePipelineSpec) Reset()

func (*ImagePipelineSpec) Size

func (m *ImagePipelineSpec) Size() (n int)

func (*ImagePipelineSpec) String

func (this *ImagePipelineSpec) String() string

func (*ImagePipelineSpec) Unmarshal

func (m *ImagePipelineSpec) Unmarshal(dAtA []byte) error

func (*ImagePipelineSpec) XXX_DiscardUnknown

func (m *ImagePipelineSpec) XXX_DiscardUnknown()

func (*ImagePipelineSpec) XXX_Marshal

func (m *ImagePipelineSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImagePipelineSpec) XXX_Merge

func (m *ImagePipelineSpec) XXX_Merge(src proto.Message)

func (*ImagePipelineSpec) XXX_Size

func (m *ImagePipelineSpec) XXX_Size() int

func (*ImagePipelineSpec) XXX_Unmarshal

func (m *ImagePipelineSpec) XXX_Unmarshal(b []byte) error

type InterpretabilitySpec

type InterpretabilitySpec struct {
	// If true generate ice plots for each feature.
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	ICE *bool `json:"ice,omitempty" protobuf:"varint,1,opt,name=ice"`
	// Define one or more feature pairs. The system will generate ice scatter diagram for each pair.
	ICEPairs []FeaturePair `json:"icepairs,omitempty" protobuf:"bytes,2,rep,name=icepairs"`
	// If true generate lime plot
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Lime *bool `json:"lime,omitempty" protobuf:"varint,3,opt,name=lime"`
	// Set the shap type. Set to none for not shap value. This is set automatically by the system based on the model type.
	// Due to high compute time, currently only two types are supported : linear and tree.
	// +kubebuilder:default:=auto
	// +kubebuilder:validation:Optional
	Shap *catalog.ShapType `json:"shap,omitempty" protobuf:"bytes,4,opt,name=shap"`
	// Generate scatter shap diagram for each pair.
	// +kubebuilder:validation:Optional
	ShapPairs []FeaturePair `json:"shappairs,omitempty" protobuf:"varint,5,rep,name=shappairs"`
	// If true generate counter factual
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	CounterFactual *bool `json:"counterfactual,omitempty" protobuf:"varint,6,opt,name=counterfactual"`
	// If true generate anchor explentation.
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Anchor *bool `json:"anchor,omitempty" protobuf:"varint,7,opt,name=anchor"`
}

func (*InterpretabilitySpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterpretabilitySpec.

func (*InterpretabilitySpec) DeepCopyInto

func (in *InterpretabilitySpec) DeepCopyInto(out *InterpretabilitySpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*InterpretabilitySpec) Descriptor

func (*InterpretabilitySpec) Descriptor() ([]byte, []int)

func (*InterpretabilitySpec) Marshal

func (m *InterpretabilitySpec) Marshal() (dAtA []byte, err error)

func (*InterpretabilitySpec) MarshalTo

func (m *InterpretabilitySpec) MarshalTo(dAtA []byte) (int, error)

func (*InterpretabilitySpec) MarshalToSizedBuffer

func (m *InterpretabilitySpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*InterpretabilitySpec) ProtoMessage

func (*InterpretabilitySpec) ProtoMessage()

func (*InterpretabilitySpec) Reset

func (m *InterpretabilitySpec) Reset()

func (*InterpretabilitySpec) Size

func (m *InterpretabilitySpec) Size() (n int)

func (*InterpretabilitySpec) String

func (this *InterpretabilitySpec) String() string

func (*InterpretabilitySpec) Unmarshal

func (m *InterpretabilitySpec) Unmarshal(dAtA []byte) error

func (*InterpretabilitySpec) XXX_DiscardUnknown

func (m *InterpretabilitySpec) XXX_DiscardUnknown()

func (*InterpretabilitySpec) XXX_Marshal

func (m *InterpretabilitySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InterpretabilitySpec) XXX_Merge

func (m *InterpretabilitySpec) XXX_Merge(src proto.Message)

func (*InterpretabilitySpec) XXX_Size

func (m *InterpretabilitySpec) XXX_Size() int

func (*InterpretabilitySpec) XXX_Unmarshal

func (m *InterpretabilitySpec) XXX_Unmarshal(b []byte) error

type InterpretabilityStatus

type InterpretabilityStatus struct {
	// StartTime represents time when the model interpretability started
	// +kubebuilder:validation:Optional
	StartTime *metav1.Time `json:"trainingStartTime,omitempty" protobuf:"bytes,1,opt,name=trainingStartTime"`
	// EndTime represents time when the model interpretability ended
	// +kubebuilder:validation:Optional
	EndTime *metav1.Time `json:"trainingEndTime,omitempty" protobuf:"bytes,2,opt,name=trainingEndTime"`

	// The URI for the explainer
	ExplainerURI string `json:"explainerURI,omitempty" protobuf:"bytes,3,opt,name=explainerURI"`

	// The location of the train shap value uri
	TrainShapValuesURI string `json:"trainShapValuesURI,omitempty" protobuf:"bytes,4,opt,name=trainShapValuesURI"`

	// The location of the test shap value uri
	TestShapValuesURI string `json:"testShapValuesURI,omitempty" protobuf:"bytes,5,opt,name=testShapValuesURI"`

	// Shap based feature importance
	Importance []FeatureImportance `json:"importance,omitempty" protobuf:"bytes,6,rep,name=importance"`
}

func (*InterpretabilityStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterpretabilityStatus.

func (*InterpretabilityStatus) DeepCopyInto

func (in *InterpretabilityStatus) DeepCopyInto(out *InterpretabilityStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*InterpretabilityStatus) Descriptor

func (*InterpretabilityStatus) Descriptor() ([]byte, []int)

func (*InterpretabilityStatus) Marshal

func (m *InterpretabilityStatus) Marshal() (dAtA []byte, err error)

func (*InterpretabilityStatus) MarshalTo

func (m *InterpretabilityStatus) MarshalTo(dAtA []byte) (int, error)

func (*InterpretabilityStatus) MarshalToSizedBuffer

func (m *InterpretabilityStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*InterpretabilityStatus) ProtoMessage

func (*InterpretabilityStatus) ProtoMessage()

func (*InterpretabilityStatus) Reset

func (m *InterpretabilityStatus) Reset()

func (*InterpretabilityStatus) Size

func (m *InterpretabilityStatus) Size() (n int)

func (*InterpretabilityStatus) String

func (this *InterpretabilityStatus) String() string

func (*InterpretabilityStatus) Unmarshal

func (m *InterpretabilityStatus) Unmarshal(dAtA []byte) error

func (*InterpretabilityStatus) XXX_DiscardUnknown

func (m *InterpretabilityStatus) XXX_DiscardUnknown()

func (*InterpretabilityStatus) XXX_Marshal

func (m *InterpretabilityStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InterpretabilityStatus) XXX_Merge

func (m *InterpretabilityStatus) XXX_Merge(src proto.Message)

func (*InterpretabilityStatus) XXX_Size

func (m *InterpretabilityStatus) XXX_Size() int

func (*InterpretabilityStatus) XXX_Unmarshal

func (m *InterpretabilityStatus) XXX_Unmarshal(b []byte) error

type Level

type Level struct {
	// The name of the level - the column name
	Name *string `json:"string,omitempty" protobuf:"bytes,1,opt,name=string"`
	// The number of time periods to
	Horizon *int32 `json:"horizon,omitempty" protobuf:"varint,2,opt,name=horizon"`
	// The freq of the level
	Freq *catalog.Freq `json:"freq,omitempty" protobuf:"bytes,3,opt,name=freq"`
	// The aggregate function used to roll up the lower level
	Aggregate *catalog.Aggregate `json:"aggregate,omitempty" protobuf:"bytes,4,opt,name=aggregate"`
	// The distinct values of the column for this level
	Values []string `json:"distinc,omitempty" protobuf:"bytes,5,rep,name=distinc"`
}

func (*Level) DeepCopy

func (in *Level) DeepCopy() *Level

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Level.

func (*Level) DeepCopyInto

func (in *Level) DeepCopyInto(out *Level)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Level) Descriptor

func (*Level) Descriptor() ([]byte, []int)

func (*Level) Marshal

func (m *Level) Marshal() (dAtA []byte, err error)

func (*Level) MarshalTo

func (m *Level) MarshalTo(dAtA []byte) (int, error)

func (*Level) MarshalToSizedBuffer

func (m *Level) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Level) ProtoMessage

func (*Level) ProtoMessage()

func (*Level) Reset

func (m *Level) Reset()

func (*Level) Size

func (m *Level) Size() (n int)

func (*Level) String

func (this *Level) String() string

func (*Level) Unmarshal

func (m *Level) Unmarshal(dAtA []byte) error

func (*Level) XXX_DiscardUnknown

func (m *Level) XXX_DiscardUnknown()

func (*Level) XXX_Marshal

func (m *Level) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Level) XXX_Merge

func (m *Level) XXX_Merge(src proto.Message)

func (*Level) XXX_Size

func (m *Level) XXX_Size() int

func (*Level) XXX_Unmarshal

func (m *Level) XXX_Unmarshal(b []byte) error

type LossFunctionName

type LossFunctionName string
const (
	LossFunctionNameL1                       LossFunctionName = "sgd-loss"
	LossFunctionNameMSE                      LossFunctionName = "mse-loss"
	LossFunctionNameCrossEntropy             LossFunctionName = "cross-entropy-loss"
	LossFunctionNameCTC                      LossFunctionName = "ctc-loss"
	LossFunctionNameNLL                      LossFunctionName = "nll-loss"
	LossFunctionNamePoissonNLL               LossFunctionName = "poisson-nll"
	LossFunctionNameKLDivLoss                LossFunctionName = "kl-div"
	LossFunctionNameBCELoss                  LossFunctionName = "bce-loss"
	LossFunctionNameBCEWithLogitsLoss        LossFunctionName = "bce-with-logits"
	LossFunctionNameMarginRankingLoss        LossFunctionName = "margin-ranking"
	LossFunctionNameHingeEmbeddingLoss       LossFunctionName = "hinge-embedding"
	LossFunctionNameMultiLabelMarginLoss     LossFunctionName = "multi-label-marign"
	LossFunctionNameSmoothL1Loss             LossFunctionName = "smooth-l1"
	LossFunctionNameSoftMarginLoss           LossFunctionName = "soft-margin"
	LossFunctionNameMultiLabelSoftMarginLoss LossFunctionName = "multi-label-soft-margin"
	LossFunctionNameCosineEmbeddingLoss      LossFunctionName = "multi-cosine-embedding"
	LossFunctionNameMultiMarginLoss          LossFunctionName = "multi-margin"
	LossFunctionNameTripletMarginLoss        LossFunctionName = "tripple-margin"
)

type Model

type Model struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Spec              ModelSpec   `json:"spec" protobuf:"bytes,2,opt,name=spec"`
	Status            ModelStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Progress",type="string",JSONPath=".status.progress" +kubebuilder:printcolumn:name="Best",type="boolean",JSONPath=".status.best" +kubebuilder:printcolumn:name="Owner",type="string",JSONPath=".spec.owner",priority=1 +kubebuilder:printcolumn:name="Version",type="string",JSONPath=".spec.versionName" +kubebuilder:printcolumn:name="Study",type="string",JSONPath=".spec.studyName" +kubebuilder:printcolumn:name="Task",type="string",JSONPath=".spec.task" +kubebuilder:printcolumn:name="Algorithm",type="string",JSONPath=".spec.estimator.algorithmName" +kubebuilder:printcolumn:name="Objective",type="string",JSONPath=".spec.objective" +kubebuilder:printcolumn:name="CV Score",type="number",JSONPath=".status.cvScore" +kubebuilder:printcolumn:name="Train Score",type="number",JSONPath=".status.trainScore" +kubebuilder:printcolumn:name="Test Score",type="number",JSONPath=".status.testScore" +kubebuilder:printcolumn:name="Last Failure",type="string",JSONPath=".status.failureMessage" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:path=models,singular=model,shortName=md,categories={training,modela,all} Model represent a machine learning model. models are automatically generated by the planner and trained by the trainer. After training, models are packaged into a docker container and served by predictor.

func NewModel

func NewModel(
	ns string,
	name string,
	bucket string,
	study string,
	schema string,
	task catalog.MLTask) *Model

func ParseModelYaml

func ParseModelYaml(content []byte) (*Model, error)

func (*Model) Aborted

func (model *Model) Aborted() bool

func (*Model) Accuracy

func (model *Model) Accuracy() float64

func (*Model) AddFinalizer

func (model *Model) AddFinalizer()

func (*Model) Age

func (model *Model) Age() string

func (*Model) ArchiveKey

func (model *Model) ArchiveKey() string

func (*Model) CombinedImageName

func (model *Model) CombinedImageName() string

func (*Model) CreateOrUpdateCond

func (model *Model) CreateOrUpdateCond(cond ModelCondition)

Merge or update condition

func (*Model) DatasetJsonUri

func (model *Model) DatasetJsonUri() string

dataproducts/*/models/*/metadata/dataset.json

func (*Model) DeepCopy

func (in *Model) DeepCopy() *Model

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Model.

func (*Model) DeepCopyInto

func (in *Model) DeepCopyInto(out *Model)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Model) DeepCopyObject

func (in *Model) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Model) Default

func (model *Model) Default()

func (*Model) DefaultImageName

func (model *Model) DefaultImageName() string

func (*Model) DefaultObjective

func (model *Model) DefaultObjective() catalog.Metric

func (*Model) DepotKey

func (model *Model) DepotKey() string

func (*Model) Descriptor

func (*Model) Descriptor() ([]byte, []int)

func (*Model) DockerfileUri

func (model *Model) DockerfileUri() string

dataproducts/*/models/*/Dockerfile

func (*Model) Done

func (model *Model) Done() bool

func (*Model) ExplainModelUri

func (model *Model) ExplainModelUri() string

func (*Model) Explained

func (model *Model) Explained() bool

func (*Model) F1

func (model *Model) F1() float64

func (*Model) Failed

func (model *Model) Failed() bool

func (*Model) ForecastUri

func (model *Model) ForecastUri() string

func (*Model) Forecasted

func (model *Model) Forecasted() bool

Answer true if the model has been forecasted

func (*Model) GetCond

func (model *Model) GetCond(t ModelConditionType) ModelCondition

func (*Model) GetCondIdx

func (model *Model) GetCondIdx(t ModelConditionType) int

func (*Model) GetTestResult

func (model *Model) GetTestResult(metric catalog.Metric) float64

return the result for a metric

func (*Model) HasFinalizer

func (model *Model) HasFinalizer() bool

func (*Model) InitModelFromStudy

func (model *Model) InitModelFromStudy(study *Study)

func (*Model) IsArchived

func (model *Model) IsArchived() bool

func (Model) IsBaseline

func (model Model) IsBaseline() bool

func (*Model) IsEnsemble

func (model *Model) IsEnsemble() bool

func (*Model) IsExpired

func (model *Model) IsExpired(minutes int) bool

func (Model) IsFE

func (model Model) IsFE() bool

func (*Model) IsLive

func (model *Model) IsLive() bool

func (*Model) IsReady

func (model *Model) IsReady() bool

func (*Model) IsReleasing

func (model *Model) IsReleasing() bool

func (*Model) IsSaved

func (model *Model) IsSaved() bool

func (Model) IsSearch

func (model Model) IsSearch() bool

func (Model) IsTest

func (model Model) IsTest() bool

func (*Model) Key

func (model *Model) Key() string

func (*Model) LiveKey

func (model *Model) LiveKey() string

func (*Model) MAPE

func (model *Model) MAPE() float64

func (*Model) Maintain

func (model *Model) Maintain() bool

func (*Model) ManifestUri

func (model *Model) ManifestUri() string

func (*Model) MarkAborted

func (model *Model) MarkAborted()

func (*Model) MarkArchived

func (model *Model) MarkArchived()

func (*Model) MarkExplained

func (model *Model) MarkExplained(image string)

func (*Model) MarkExplainedFailed

func (model *Model) MarkExplainedFailed(err string)

func (*Model) MarkExplaining

func (model *Model) MarkExplaining()

func (*Model) MarkFailedToTrain

func (model *Model) MarkFailedToTrain(err string)

func (*Model) MarkForecastFailed

func (model *Model) MarkForecastFailed(err string)

func (*Model) MarkForecasted

func (model *Model) MarkForecasted()

func (*Model) MarkForecasting

func (model *Model) MarkForecasting()

func (*Model) MarkLive

func (model *Model) MarkLive()

func (*Model) MarkMaintain

func (model *Model) MarkMaintain()

func (*Model) MarkPackaged

func (model *Model) MarkPackaged(image string)

func (*Model) MarkPackaging

func (model *Model) MarkPackaging()

func (*Model) MarkPackgedFailed

func (model *Model) MarkPackgedFailed(err string)

func (*Model) MarkPaused

func (model *Model) MarkPaused()

func (*Model) MarkProfiled

func (model *Model) MarkProfiled(uri string)

func (*Model) MarkProfiledFailed

func (model *Model) MarkProfiledFailed(err string)

func (*Model) MarkProfiling

func (model *Model) MarkProfiling()

func (*Model) MarkPublishFailed

func (model *Model) MarkPublishFailed(err string)

func (*Model) MarkPublished

func (model *Model) MarkPublished(image string)

func (*Model) MarkPublishing

func (model *Model) MarkPublishing()

func (*Model) MarkReady

func (model *Model) MarkReady()

func (*Model) MarkReleaseFailed added in v0.4.448

func (model *Model) MarkReleaseFailed(err string)

func (*Model) MarkReleasing

func (model *Model) MarkReleasing()

func (*Model) MarkReportFailed

func (model *Model) MarkReportFailed(err string)

func (*Model) MarkReported

func (model *Model) MarkReported(name string)

func (*Model) MarkReporting

func (model *Model) MarkReporting()

--------------- Reporting

func (*Model) MarkResumed

func (model *Model) MarkResumed()

func (*Model) MarkSaved

func (model *Model) MarkSaved()

func (*Model) MarkTested

func (model *Model) MarkTested()

func (*Model) MarkTesting

func (model *Model) MarkTesting()

func (*Model) MarkTestingFailed

func (model *Model) MarkTestingFailed(err string)

func (*Model) MarkTrained

func (model *Model) MarkTrained(ms []catalog.Measurement)

func (*Model) MarkTraining

func (model *Model) MarkTraining()

func (*Model) MarkWaitingToTest

func (model *Model) MarkWaitingToTest()

func (*Model) MarkWaitingToTrain

func (model *Model) MarkWaitingToTrain()

func (*Model) Marshal

func (m *Model) Marshal() (dAtA []byte, err error)

func (*Model) MarshalTo

func (m *Model) MarshalTo(dAtA []byte) (int, error)

func (*Model) MarshalToSizedBuffer

func (m *Model) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Model) ModelJsonUri

func (model *Model) ModelJsonUri() string

dataproducts/*/models/*/metadata/model.json

func (*Model) OpName

func (model *Model) OpName() string

func (*Model) Packaged

func (model *Model) Packaged() bool

func (*Model) Paused

func (model *Model) Paused() bool

func (*Model) Precision

func (model *Model) Precision() float64

func (*Model) ProductVersionJsonUri

func (model *Model) ProductVersionJsonUri() string

dataproducts/*/models/*/metadata/productversion.json

func (*Model) Profiled

func (model *Model) Profiled() bool

func (*Model) ProtoMessage

func (*Model) ProtoMessage()

func (*Model) Published

func (model *Model) Published() bool

func (*Model) R2

func (model *Model) R2() float64

func (*Model) RMSE

func (model *Model) RMSE() float64

func (*Model) RMSLE

func (model *Model) RMSLE() float64

func (*Model) Recall

func (model *Model) Recall() float64

func (*Model) RemoveFinalizer

func (model *Model) RemoveFinalizer()

func (*Model) ReportName

func (model *Model) ReportName() string

func (*Model) ReportType

func (model *Model) ReportType() ReportType

func (*Model) ReportUri

func (model *Model) ReportUri() string

dataproducts/*/models/*/model-<name>-report.pdf

func (*Model) Reported

func (model *Model) Reported() bool

func (*Model) Reset

func (m *Model) Reset()

func (*Model) RootUri

func (model *Model) RootUri() string

func (*Model) SchemaJsonUri

func (model *Model) SchemaJsonUri() string

dataproducts/*/models/*/metadata/schema.json

func (*Model) SetBracket

func (model *Model) SetBracket(v int32)

func (*Model) SetRung

func (model *Model) SetRung(v int32)

func (*Model) SetupWebhookWithManager

func (r *Model) SetupWebhookWithManager(mgr ctrl.Manager) error

Set up the webhook with the manager.

func (*Model) Size

func (m *Model) Size() (n int)

func (*Model) StatusString

func (model *Model) StatusString() string

func (*Model) String

func (this *Model) String() string

func (*Model) StudyJsonUri

func (model *Model) StudyJsonUri() string

dataproducts/*/models/*/metadata/study.json

func (*Model) TarUri

func (model *Model) TarUri() string

func (*Model) Tested

func (model *Model) Tested() bool

func (*Model) Testing

func (model *Model) Testing() bool

func (*Model) TestingFailed

func (model *Model) TestingFailed() bool

func (*Model) ToYamlFile

func (model *Model) ToYamlFile() ([]byte, error)

func (*Model) Trained

func (model *Model) Trained() bool

func (*Model) Training

func (model *Model) Training() bool

func (*Model) TrainingFailed

func (model *Model) TrainingFailed() bool

func (*Model) Unmarshal

func (m *Model) Unmarshal(dAtA []byte) error

func (*Model) ValidateCreate

func (model *Model) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Model) ValidateDelete

func (in *Model) ValidateDelete() error

func (*Model) ValidateUpdate

func (model *Model) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

func (*Model) WaitingToTest

func (model *Model) WaitingToTest() bool

func (*Model) WaitingToTrain

func (model *Model) WaitingToTrain() bool

func (*Model) WeightsUri

func (model *Model) WeightsUri() string

dataproducts/*/models/*/bin/model.joblib

func (*Model) XXX_DiscardUnknown

func (m *Model) XXX_DiscardUnknown()

func (*Model) XXX_Marshal

func (m *Model) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Model) XXX_Merge

func (m *Model) XXX_Merge(src proto.Message)

func (*Model) XXX_Size

func (m *Model) XXX_Size() int

func (*Model) XXX_Unmarshal

func (m *Model) XXX_Unmarshal(b []byte) error

type ModelAutobuilder

type ModelAutobuilder struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Spec   ModelAutobuilderSpec   `json:"spec" protobuf:"bytes,2,opt,name=spec"`
	Status ModelAutobuilderStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Location Product",type="string",JSONPath=".spec.dataProductName" +kubebuilder:printcolumn:name="Version",type="string",JSONPath=".spec.dataProductVersionName" +kubebuilder:printcolumn:name="Dataset",type="string",JSONPath=".status.datasetName" +kubebuilder:printcolumn:name="Study",type="string",JSONPath=".status.studyName" +kubebuilder:printcolumn:name="Predictor",type="string",JSONPath=".status.predictorName" +kubebuilder:printcolumn:name="StartTime",type="date",JSONPath=".status.startTime",priority=1 +kubebuilder:printcolumn:name="CompletionTime",type="date",JSONPath=".status.completionTime",priority=1 +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:path=modelautobuilders,singular=modelautobuilder,shortName=ar,categories={training,modela,all} ModelAutobuilder represent an automatic run of all the phases needed to create a model

func ParseModelAutobuilderYaml

func ParseModelAutobuilderYaml(content []byte) (*ModelAutobuilder, error)

func (*ModelAutobuilder) AddFinalizer

func (b *ModelAutobuilder) AddFinalizer()

func (*ModelAutobuilder) Age

func (b *ModelAutobuilder) Age() string

func (*ModelAutobuilder) CreateDataProduct

func (b *ModelAutobuilder) CreateDataProduct() *data.DataProduct

func (*ModelAutobuilder) CreateDataProductVersion

func (b *ModelAutobuilder) CreateDataProductVersion() *data.DataProductVersion

func (*ModelAutobuilder) CreateDataSource

func (b *ModelAutobuilder) CreateDataSource(columns []data.Column) *data.DataSource

func (*ModelAutobuilder) CreateDataset

func (b *ModelAutobuilder) CreateDataset() *data.Dataset

func (*ModelAutobuilder) CreateOrUpdateCond

func (b *ModelAutobuilder) CreateOrUpdateCond(cond ModelAutobuilderCondition)

Merge or update condition

func (*ModelAutobuilder) CreateStudy

func (b *ModelAutobuilder) CreateStudy() *Study

func (*ModelAutobuilder) DataAppName added in v0.4.387

func (b *ModelAutobuilder) DataAppName() string

func (*ModelAutobuilder) DataAppReady added in v0.4.388

func (b *ModelAutobuilder) DataAppReady() bool

func (*ModelAutobuilder) DataProductName

func (b *ModelAutobuilder) DataProductName() string

func (*ModelAutobuilder) DataProductReady

func (b *ModelAutobuilder) DataProductReady() bool

func (*ModelAutobuilder) DataProductVersionName

func (b *ModelAutobuilder) DataProductVersionName() string

func (*ModelAutobuilder) DataProductVersionReady

func (b *ModelAutobuilder) DataProductVersionReady() bool

func (*ModelAutobuilder) DataSourceReady

func (b *ModelAutobuilder) DataSourceReady() bool

func (*ModelAutobuilder) DatasetName

func (b *ModelAutobuilder) DatasetName() string

func (*ModelAutobuilder) DatasetReady

func (b *ModelAutobuilder) DatasetReady() bool

func (*ModelAutobuilder) DatasourceName

func (b *ModelAutobuilder) DatasourceName() string

func (*ModelAutobuilder) DeepCopy

func (in *ModelAutobuilder) DeepCopy() *ModelAutobuilder

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelAutobuilder.

func (*ModelAutobuilder) DeepCopyInto

func (in *ModelAutobuilder) DeepCopyInto(out *ModelAutobuilder)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModelAutobuilder) DeepCopyObject

func (in *ModelAutobuilder) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ModelAutobuilder) Default

func (b *ModelAutobuilder) Default()

func (*ModelAutobuilder) Deleted

func (b *ModelAutobuilder) Deleted() bool

func (*ModelAutobuilder) Descriptor

func (*ModelAutobuilder) Descriptor() ([]byte, []int)

func (*ModelAutobuilder) FileName

func (b *ModelAutobuilder) FileName() string

Answer the last component in the path

func (*ModelAutobuilder) GetCondIdx

func (*ModelAutobuilder) HasFinalizer

func (b *ModelAutobuilder) HasFinalizer() bool

func (*ModelAutobuilder) ManifestUri

func (b *ModelAutobuilder) ManifestUri() string

func (*ModelAutobuilder) MarkArchived

func (b *ModelAutobuilder) MarkArchived()

func (*ModelAutobuilder) MarkComplete

func (b *ModelAutobuilder) MarkComplete()

func (*ModelAutobuilder) MarkDataAppFailed added in v0.4.387

func (b *ModelAutobuilder) MarkDataAppFailed(err error)

func (*ModelAutobuilder) MarkDataAppReady added in v0.4.387

func (b *ModelAutobuilder) MarkDataAppReady()

func (*ModelAutobuilder) MarkDataAppRunning added in v0.4.387

func (b *ModelAutobuilder) MarkDataAppRunning()

Data App

func (*ModelAutobuilder) MarkDataProductReady

func (b *ModelAutobuilder) MarkDataProductReady()

func (*ModelAutobuilder) MarkDataProductVersionReady

func (b *ModelAutobuilder) MarkDataProductVersionReady()

func (*ModelAutobuilder) MarkDataSetFailed

func (b *ModelAutobuilder) MarkDataSetFailed(err error)

DatasetFailed

func (*ModelAutobuilder) MarkDataSetRunning

func (b *ModelAutobuilder) MarkDataSetRunning()

func (*ModelAutobuilder) MarkDataSourceRunning

func (b *ModelAutobuilder) MarkDataSourceRunning()

func (*ModelAutobuilder) MarkDatasetReady

func (b *ModelAutobuilder) MarkDatasetReady()

DatasetSuccess

func (*ModelAutobuilder) MarkDatasetRunning

func (b *ModelAutobuilder) MarkDatasetRunning()

func (*ModelAutobuilder) MarkDatasourceFailed

func (b *ModelAutobuilder) MarkDatasourceFailed(err error)

func (*ModelAutobuilder) MarkDatasourceReady

func (b *ModelAutobuilder) MarkDatasourceReady()

func (*ModelAutobuilder) MarkFailed

func (b *ModelAutobuilder) MarkFailed(err error)

func (*ModelAutobuilder) MarkPredictorFailed

func (b *ModelAutobuilder) MarkPredictorFailed(err error)

func (*ModelAutobuilder) MarkPredictorReady

func (b *ModelAutobuilder) MarkPredictorReady()

func (*ModelAutobuilder) MarkPredictorRunning

func (b *ModelAutobuilder) MarkPredictorRunning()

func (*ModelAutobuilder) MarkStudyFailed

func (b *ModelAutobuilder) MarkStudyFailed(err error)

StudyFailed

func (*ModelAutobuilder) MarkStudyReady

func (b *ModelAutobuilder) MarkStudyReady()

StudySuccess

func (*ModelAutobuilder) MarkStudyRunning

func (b *ModelAutobuilder) MarkStudyRunning()

StudyRunning

func (*ModelAutobuilder) Marshal

func (m *ModelAutobuilder) Marshal() (dAtA []byte, err error)

func (*ModelAutobuilder) MarshalTo

func (m *ModelAutobuilder) MarshalTo(dAtA []byte) (int, error)

func (*ModelAutobuilder) MarshalToSizedBuffer

func (m *ModelAutobuilder) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ModelAutobuilder) PredictorName

func (b *ModelAutobuilder) PredictorName() string

func (*ModelAutobuilder) PredictorReady

func (b *ModelAutobuilder) PredictorReady() bool

func (*ModelAutobuilder) PrintConditions

func (b *ModelAutobuilder) PrintConditions()

func (*ModelAutobuilder) ProtoMessage

func (*ModelAutobuilder) ProtoMessage()

func (*ModelAutobuilder) Ready

func (b *ModelAutobuilder) Ready() bool

func (*ModelAutobuilder) RemoveFinalizer

func (b *ModelAutobuilder) RemoveFinalizer()

func (*ModelAutobuilder) Reset

func (m *ModelAutobuilder) Reset()

func (*ModelAutobuilder) RootUri

func (b *ModelAutobuilder) RootUri() string

func (*ModelAutobuilder) SchemaName

func (b *ModelAutobuilder) SchemaName() string

func (*ModelAutobuilder) SetupWebhookWithManager

func (b *ModelAutobuilder) SetupWebhookWithManager(mgr ctrl.Manager) error

Set up the webhook with the manager.

func (*ModelAutobuilder) Size

func (m *ModelAutobuilder) Size() (n int)

func (*ModelAutobuilder) String

func (this *ModelAutobuilder) String() string

func (*ModelAutobuilder) StudyName

func (b *ModelAutobuilder) StudyName() string

func (*ModelAutobuilder) StudyReady

func (b *ModelAutobuilder) StudyReady() bool

func (*ModelAutobuilder) TestUri

func (b *ModelAutobuilder) TestUri() string

func (*ModelAutobuilder) ToYamlFile

func (b *ModelAutobuilder) ToYamlFile() ([]byte, error)

func (*ModelAutobuilder) TrainUri

func (b *ModelAutobuilder) TrainUri() string

dataproducts/*/featuresets/*/data/<file>.features.train

func (*ModelAutobuilder) Unmarshal

func (m *ModelAutobuilder) Unmarshal(dAtA []byte) error

func (*ModelAutobuilder) ValidateCreate

func (b *ModelAutobuilder) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*ModelAutobuilder) ValidateDelete

func (b *ModelAutobuilder) ValidateDelete() error

func (*ModelAutobuilder) ValidateUpdate

func (b *ModelAutobuilder) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

func (*ModelAutobuilder) WeightsUri

func (b *ModelAutobuilder) WeightsUri() string

dataproducts/*/models/*/bin/model.joblib

func (*ModelAutobuilder) XXX_DiscardUnknown

func (m *ModelAutobuilder) XXX_DiscardUnknown()

func (*ModelAutobuilder) XXX_Marshal

func (m *ModelAutobuilder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ModelAutobuilder) XXX_Merge

func (m *ModelAutobuilder) XXX_Merge(src proto.Message)

func (*ModelAutobuilder) XXX_Size

func (m *ModelAutobuilder) XXX_Size() int

func (*ModelAutobuilder) XXX_Unmarshal

func (m *ModelAutobuilder) XXX_Unmarshal(b []byte) error

type ModelAutobuilderCondition

type ModelAutobuilderCondition struct {
	// Type of account condition.
	Type ModelAutobuilderConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=ModelAutobuilderConditionType"`
	// Status of the condition, one of True, False, AutoScaler.
	Status v1.ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=k8s.io/api/core/v1.ConditionStatus"`
	// Last time the condition transitioned from one status to another.
	LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,4,opt,name=lastTransitionTime"`
	// The reason for the condition's last transition.
	Reason string `json:"reason,omitempty" protobuf:"bytes,5,opt,name=reason"`
	// A human readable message indicating details about the transition.
	Message string `json:"message,omitempty" protobuf:"bytes,6,opt,name=message"`
}

ModelAutobuilderCondition describes the state of a pipeline at a certain point.

func (*ModelAutobuilderCondition) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelAutobuilderCondition.

func (*ModelAutobuilderCondition) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModelAutobuilderCondition) Descriptor

func (*ModelAutobuilderCondition) Descriptor() ([]byte, []int)

func (*ModelAutobuilderCondition) Marshal

func (m *ModelAutobuilderCondition) Marshal() (dAtA []byte, err error)

func (*ModelAutobuilderCondition) MarshalTo

func (m *ModelAutobuilderCondition) MarshalTo(dAtA []byte) (int, error)

func (*ModelAutobuilderCondition) MarshalToSizedBuffer

func (m *ModelAutobuilderCondition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ModelAutobuilderCondition) ProtoMessage

func (*ModelAutobuilderCondition) ProtoMessage()

func (*ModelAutobuilderCondition) Reset

func (m *ModelAutobuilderCondition) Reset()

func (*ModelAutobuilderCondition) Size

func (m *ModelAutobuilderCondition) Size() (n int)

func (*ModelAutobuilderCondition) String

func (this *ModelAutobuilderCondition) String() string

func (*ModelAutobuilderCondition) Unmarshal

func (m *ModelAutobuilderCondition) Unmarshal(dAtA []byte) error

func (*ModelAutobuilderCondition) XXX_DiscardUnknown

func (m *ModelAutobuilderCondition) XXX_DiscardUnknown()

func (*ModelAutobuilderCondition) XXX_Marshal

func (m *ModelAutobuilderCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ModelAutobuilderCondition) XXX_Merge

func (m *ModelAutobuilderCondition) XXX_Merge(src proto.Message)

func (*ModelAutobuilderCondition) XXX_Size

func (m *ModelAutobuilderCondition) XXX_Size() int

func (*ModelAutobuilderCondition) XXX_Unmarshal

func (m *ModelAutobuilderCondition) XXX_Unmarshal(b []byte) error

type ModelAutobuilderConditionType

type ModelAutobuilderConditionType string

ModelAutobuilderConditionType represent that condition that a model auto builder can be in.

const (
	ModelAutobuilderReady                   ModelAutobuilderConditionType = "Ready"
	ModelAutobuilderDataProductReady        ModelAutobuilderConditionType = "DataProductReady"
	ModelAutobuilderDataProductVersionReady ModelAutobuilderConditionType = "DataProductVersionReady"
	ModelAutobuilderDataSourceReady         ModelAutobuilderConditionType = "DataSourceReady"
	ModelAutobuilderDatasetCompleted        ModelAutobuilderConditionType = "DatasetCompleted"
	ModelAutobuilderStudyCompleted          ModelAutobuilderConditionType = "StudyCompleted"
	ModelAutobuilderPredictorReady          ModelAutobuilderConditionType = "PredictorReady"
	ModelAutobuilderDataAppReady            ModelAutobuilderConditionType = "DataAppReady"
	ModelAutobuilderSaved                   ModelAutobuilderConditionType = "Saved"
)

type ModelAutobuilderList

type ModelAutobuilderList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Items           []ModelAutobuilder `json:"items" protobuf:"bytes,2,rep,name=items"`
}

+kubebuilder:object:root=true ModelAutobuilderList represent a list of ModelAutoBuilders

func (*ModelAutobuilderList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelAutobuilderList.

func (*ModelAutobuilderList) DeepCopyInto

func (in *ModelAutobuilderList) DeepCopyInto(out *ModelAutobuilderList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModelAutobuilderList) DeepCopyObject

func (in *ModelAutobuilderList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ModelAutobuilderList) Descriptor

func (*ModelAutobuilderList) Descriptor() ([]byte, []int)

func (*ModelAutobuilderList) Marshal

func (m *ModelAutobuilderList) Marshal() (dAtA []byte, err error)

func (*ModelAutobuilderList) MarshalTo

func (m *ModelAutobuilderList) MarshalTo(dAtA []byte) (int, error)

func (*ModelAutobuilderList) MarshalToSizedBuffer

func (m *ModelAutobuilderList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ModelAutobuilderList) ProtoMessage

func (*ModelAutobuilderList) ProtoMessage()

func (*ModelAutobuilderList) Reset

func (m *ModelAutobuilderList) Reset()

func (*ModelAutobuilderList) Size

func (m *ModelAutobuilderList) Size() (n int)

func (*ModelAutobuilderList) String

func (this *ModelAutobuilderList) String() string

func (*ModelAutobuilderList) Unmarshal

func (m *ModelAutobuilderList) Unmarshal(dAtA []byte) error

func (*ModelAutobuilderList) XXX_DiscardUnknown

func (m *ModelAutobuilderList) XXX_DiscardUnknown()

func (*ModelAutobuilderList) XXX_Marshal

func (m *ModelAutobuilderList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ModelAutobuilderList) XXX_Merge

func (m *ModelAutobuilderList) XXX_Merge(src proto.Message)

func (*ModelAutobuilderList) XXX_Size

func (m *ModelAutobuilderList) XXX_Size() int

func (*ModelAutobuilderList) XXX_Unmarshal

func (m *ModelAutobuilderList) XXX_Unmarshal(b []byte) error

type ModelAutobuilderPhase

type ModelAutobuilderPhase string

ModelAutobuilderPhase represent that state of the model auto builder

const (
	ModelAutobuilderPhasePending            ModelAutobuilderPhase = "Pending"
	ModelAutobuilderPhaseDataSourceRunning  ModelAutobuilderPhase = "DataSourceRunning"
	ModelAutobuilderPhaseDataSourceReady    ModelAutobuilderPhase = "DataSourceReady"
	ModelAutobuilderPhaseDatasetRunning     ModelAutobuilderPhase = "DatasetRunning"
	ModelAutobuilderPhaseDatasetCompleted   ModelAutobuilderPhase = "DatasetCompleted"
	ModelAutobuilderPhaseStudyRunning       ModelAutobuilderPhase = "StudyRunning"
	ModelAutobuilderPhaseStudyCompleted     ModelAutobuilderPhase = "StudyCompleted"
	ModelAutobuilderPhasePredictorRunning   ModelAutobuilderPhase = "PredictorRunning"
	ModelAutobuilderPhasePredictorCompleted ModelAutobuilderPhase = "PredictorCompleted"
	ModelAutobuilderPhaseDataAppRunning     ModelAutobuilderPhase = "DataAppRunning"
	ModelAutobuilderPhaseDataAppCompleted   ModelAutobuilderPhase = "DataAppCompleted"
	ModelAutobuilderPhaseCompleted          ModelAutobuilderPhase = "Completed"
	ModelAutobuilderPhaseAborted            ModelAutobuilderPhase = "Aborted"
	ModelAutobuilderPhaseFailed             ModelAutobuilderPhase = "Failed"
)

type ModelAutobuilderSpec

type ModelAutobuilderSpec struct {

	// DataProductName is the name of the data product
	// +kubebuilder:validation:MaxLength=63
	// +kubebuilder:validation:Pattern="[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*"
	// +kubebuilder:validation:Optional
	DataProductName *string `json:"dataProductName,omitempty" protobuf:"bytes,1,opt,name=dataProductName"`
	// DataProductVersionName is a reference to data product version
	// +kubebuilder:validation:MaxLength=253
	// +kubebuilder:validation:Pattern="[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*"
	// +kubebuilder:validation:Optional
	DataProductVersionName *string `json:"dataProductVersionName,omitempty" protobuf:"bytes,2,opt,name=dataProductVersionName"`
	// DataSourceName is the name of existing datasource, if empty the datasource parameters will be inferred from the file
	// +kubebuilder:validation:MaxLength=253
	// +kubebuilder:validation:Pattern="[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*"
	// +kubebuilder:validation:Optional
	DataSourceName *string `json:"datasourceName,omitempty" protobuf:"bytes,3,opt,name=datasourceName"`
	// DatasetName is the name of existing dataset, if empty the dataset object will be created
	// otherwise, a dataset will be created based on the file in the path section.
	// +kubebuilder:validation:Pattern="[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*"
	// +kubebuilder:validation:MaxLength=253
	DatasetName *string `json:"datasetName,omitempty" protobuf:"bytes,4,opt,name=datasetName"`
	// Location is the location of the data in the cloud
	// +kubebuilder:validation:Optional
	Location data.DataLocation `json:"location,omitempty" protobuf:"bytes,5,opt,name=location"`
	// Task is the machine learning task (regression/classification)
	// required
	Task *catalog.MLTask `json:"task,omitempty" protobuf:"bytes,6,opt,name=task"`
	// The task objective. this is how models will be scored.
	// If not defined this will be set to the default objective for the task
	// +kubebuilder:validation:Optional
	Objective *catalog.Metric `json:"objective,omitempty" protobuf:"bytes,7,opt,name=objective"`
	// Target column.
	// Default: last column in the schema.
	// +kubebuilder:validation:MaxLength=128
	// +kubebuilder:validation:Optional
	TargetColumn *string `json:"targetColumn,omitempty" protobuf:"bytes,8,opt,name=targetColumn"`
	// Max training time.
	// +kubebuilder:validation:Maximum=512
	// +kubebuilder:validation:Minimum=1
	// +kubebuilder:default:=60
	// +kubebuilder:validation:Optional
	MaxTime *int32 `json:"maxTime,omitempty" protobuf:"varint,9,opt,name=maxTime"`
	// Max model
	// +kubebuilder:validation:Maximum=512
	// +kubebuilder:validation:Minimum=1
	// +kubebuilder:default:=10
	// +kubebuilder:validation:Optional
	MaxModels *int32 `json:"maxModels,omitempty" protobuf:"varint,10,opt,name=maxModels"`
	// Access method specify the predictor access method.
	// Default: ClusterPort
	// +kubebuilder:default:=cluster-port
	// +kubebuilder:validation:Optional
	AccessMethod *catalog.AccessType `json:"accessMethod,omitempty" protobuf:"bytes,11,opt,name=accessMethod"`
	// Specify if the predictor should autoscale.
	// Default : false
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	AutoScale *bool `json:"autoScale,omitempty" protobuf:"varint,12,opt,name=autoScale"`
	// Specify if we should create a data app as part of the autobuilder.
	// Default : false
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	DataApp *bool `json:"dataapp,omitempty" protobuf:"varint,13,opt,name=dataapp"`

	// The spec of the data source, if none, the runner will infer the schema, and will create a new schema with
	// +kubebuilder:validation:Optional
	DataSourceSpec datav1.DataSourceSpec `json:"dataSourceSpec,omitempty" protobuf:"bytes,14,opt,name=dataSourceSpec"`
	// Specify the number of trainers.
	// Default 1 trainer.
	// +kubebuilder:default:=1
	// +kubebuilder:validation:Optional
	Trainers *int32 `json:"trainers,omitempty" protobuf:"varint,15,opt,name=trainers"`
	// Specify the search method
	// +kubebuilder:default:="random"
	// +kubebuilder:validation:Optional
	Sampler *SamplerName `json:"sampler,omitempty" protobuf:"bytes,16,opt,name=sampler"`
	// Set the true to abort the model auto builder
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Aborted *bool `json:"aborted,omitempty" protobuf:"varint,17,opt,name=aborted"`
	// The owner account name
	// +kubebuilder:validation:Pattern="[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*"
	// +kubebuilder:default:="no-one"
	// +kubebuilder:validation:Optional
	Owner *string `json:"owner,omitempty" protobuf:"bytes,18,opt,name=owner"`
	// Resource spec specify the resources needed for running the model pipeline job
	// +kubebuilder:validation:Optional
	Resources catalog.ResourceSpec `json:"resources,omitempty" protobuf:"bytes,19,opt,name=resources"`
	// LabRef is a reference to the lab where the trainers for this study run.
	// If no value is provided, the lab is taken from the
	// +kubebuilder:validation:Optional
	LabRef *v1.ObjectReference `json:"labRef,omitempty" protobuf:"bytes,20,opt,name=labRef"`
}

ModelAutobuilderSpec define the desired state of the ModelAutobuilder resource.

func (*ModelAutobuilderSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelAutobuilderSpec.

func (*ModelAutobuilderSpec) DeepCopyInto

func (in *ModelAutobuilderSpec) DeepCopyInto(out *ModelAutobuilderSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModelAutobuilderSpec) Descriptor

func (*ModelAutobuilderSpec) Descriptor() ([]byte, []int)

func (*ModelAutobuilderSpec) Marshal

func (m *ModelAutobuilderSpec) Marshal() (dAtA []byte, err error)

func (*ModelAutobuilderSpec) MarshalTo

func (m *ModelAutobuilderSpec) MarshalTo(dAtA []byte) (int, error)

func (*ModelAutobuilderSpec) MarshalToSizedBuffer

func (m *ModelAutobuilderSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ModelAutobuilderSpec) ProtoMessage

func (*ModelAutobuilderSpec) ProtoMessage()

func (*ModelAutobuilderSpec) Reset

func (m *ModelAutobuilderSpec) Reset()

func (*ModelAutobuilderSpec) Size

func (m *ModelAutobuilderSpec) Size() (n int)

func (*ModelAutobuilderSpec) String

func (this *ModelAutobuilderSpec) String() string

func (*ModelAutobuilderSpec) Unmarshal

func (m *ModelAutobuilderSpec) Unmarshal(dAtA []byte) error

func (*ModelAutobuilderSpec) XXX_DiscardUnknown

func (m *ModelAutobuilderSpec) XXX_DiscardUnknown()

func (*ModelAutobuilderSpec) XXX_Marshal

func (m *ModelAutobuilderSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ModelAutobuilderSpec) XXX_Merge

func (m *ModelAutobuilderSpec) XXX_Merge(src proto.Message)

func (*ModelAutobuilderSpec) XXX_Size

func (m *ModelAutobuilderSpec) XXX_Size() int

func (*ModelAutobuilderSpec) XXX_Unmarshal

func (m *ModelAutobuilderSpec) XXX_Unmarshal(b []byte) error

type ModelAutobuilderStatus

type ModelAutobuilderStatus struct {
	// the generate flat file name
	FlatFileName string `json:"flatFileName,omitempty" protobuf:"bytes,1,opt,name=flatFileName"`
	// the generated schema name (if generated)
	DataSourceName string `json:"dataSourceName,omitempty" protobuf:"bytes,2,opt,name=dataSourceName"`
	// the generated dataset name (if generated)
	DatasetName string `json:"datasetName,omitempty" protobuf:"bytes,3,opt,name=datasetName"`
	// the generate study name
	StudyName string `json:"studyName,omitempty" protobuf:"bytes,4,opt,name=studyName"`
	// The selected model name.
	BestModelName string `json:"bestModelName,omitempty" protobuf:"bytes,6,opt,name=bestModelName"`
	// the generated predictor name
	PredictorName string `json:"predictorName,omitempty" protobuf:"bytes,7,opt,name=predictorName"`
	// the name of the image repository
	ImageRepoName string `json:"imageRepoName,omitempty" protobuf:"bytes,8,opt,name=imageRepoName"`
	// The phase of the auto ml run
	// +kubebuilder:default:="Pending"
	// +kubebuilder:validation:Optional
	Phase ModelAutobuilderPhase `json:"phase,omitempty" protobuf:"bytes,9,opt,name=phase"`
	// number of rows in the dataset
	// +kubebuilder:validation:Optional
	Rows int32 `json:"rows,omitempty" protobuf:"varint,10,opt,name=rows"`
	// number of columns, used mainly to show the columns
	// +kubebuilder:validation:Optional
	Cols int32 `json:"cols,omitempty" protobuf:"varint,11,opt,name=cols"`
	// file size in bytes
	// +kubebuilder:validation:Optional
	FileSize int32 `json:"fileSize,omitempty" protobuf:"varint,12,opt,name=fileSize"`
	// Total models created for the study
	// +kubebuilder:validation:Optional
	Models int32 `json:"models,omitempty" protobuf:"varint,13,opt,name=models"`
	// models that were successful during training
	// +kubebuilder:validation:Optional
	TrainedModels int32 `json:"trainedModels,omitempty" protobuf:"varint,14,opt,name=trainedModels"`
	// The Best model score, so far.
	// +kubebuilder:validation:Optional
	BestModelScore float64 `json:"bestModelScore,omitempty" protobuf:"bytes,15,opt,name=bestModelScore"`
	// The best estimator, taken from the best model
	Estimator *ClassicalEstimatorSpec `json:"estimator,omitempty" protobuf:"bytes,16,opt,name=estimator"`
	// StartTime is the times that this prediction job started
	// +kubebuilder:validation:Optional
	StartTime *metav1.Time `json:"startTime,omitempty" protobuf:"bytes,17,opt,name=startTime"`
	// CompletionTime is the time that this prediction job finished
	// +kubebuilder:validation:Optional
	EndTime *metav1.Time `json:"endTime,omitempty" protobuf:"bytes,18,opt,name=endTime"`
	// ObservedGeneration is the Last generation that was acted on
	//+kubebuilder:validation:Optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,19,opt,name=observedGeneration"`
	// Update in case of terminal failure
	// Borrowed from cluster api controller
	//+kubebuilder:validation:Optional
	FailureReason *catalog.StatusError `json:"failureReason,omitempty" protobuf:"bytes,20,opt,name=failureReason"`
	// Update in case of terminal failure message
	//+kubebuilder:validation:Optional
	FailureMessage *string `json:"failureMessage,omitempty" protobuf:"bytes,21,opt,name=failureMessage"`
	// Last time the object was updated
	//+kubebuilder:validation:Optional
	LastUpdated *metav1.Time `json:"lastUpdated,omitempty" protobuf:"bytes,22,opt,name=lastUpdated"`
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +kubebuilder:validation:Optional
	Conditions []ModelAutobuilderCondition `json:"conditions,omitempty" protobuf:"bytes,23,rep,name=conditions"`
}

ModelAutobuilderStatus define the observed state of the pipeline

func (*ModelAutobuilderStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelAutobuilderStatus.

func (*ModelAutobuilderStatus) DeepCopyInto

func (in *ModelAutobuilderStatus) DeepCopyInto(out *ModelAutobuilderStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModelAutobuilderStatus) Descriptor

func (*ModelAutobuilderStatus) Descriptor() ([]byte, []int)

func (*ModelAutobuilderStatus) Marshal

func (m *ModelAutobuilderStatus) Marshal() (dAtA []byte, err error)

func (*ModelAutobuilderStatus) MarshalTo

func (m *ModelAutobuilderStatus) MarshalTo(dAtA []byte) (int, error)

func (*ModelAutobuilderStatus) MarshalToSizedBuffer

func (m *ModelAutobuilderStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ModelAutobuilderStatus) ProtoMessage

func (*ModelAutobuilderStatus) ProtoMessage()

func (*ModelAutobuilderStatus) Reset

func (m *ModelAutobuilderStatus) Reset()

func (*ModelAutobuilderStatus) Size

func (m *ModelAutobuilderStatus) Size() (n int)

func (*ModelAutobuilderStatus) String

func (this *ModelAutobuilderStatus) String() string

func (*ModelAutobuilderStatus) Unmarshal

func (m *ModelAutobuilderStatus) Unmarshal(dAtA []byte) error

func (*ModelAutobuilderStatus) XXX_DiscardUnknown

func (m *ModelAutobuilderStatus) XXX_DiscardUnknown()

func (*ModelAutobuilderStatus) XXX_Marshal

func (m *ModelAutobuilderStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ModelAutobuilderStatus) XXX_Merge

func (m *ModelAutobuilderStatus) XXX_Merge(src proto.Message)

func (*ModelAutobuilderStatus) XXX_Size

func (m *ModelAutobuilderStatus) XXX_Size() int

func (*ModelAutobuilderStatus) XXX_Unmarshal

func (m *ModelAutobuilderStatus) XXX_Unmarshal(b []byte) error

type ModelCompilerRun

type ModelCompilerRun struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Spec              ModelCompilerRunSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"`
	// +kubebuilder:validation:Optional
	Status ModelCompilerRunStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

ModelCompilerRun represent a single compilation of a model into a target hardware.

func (*ModelCompilerRun) AddFinalizer

func (run *ModelCompilerRun) AddFinalizer()

func (*ModelCompilerRun) CreateOrUpdateCond

func (run *ModelCompilerRun) CreateOrUpdateCond(cond ModelCompilerRunCondition)

func (*ModelCompilerRun) DeepCopy

func (in *ModelCompilerRun) DeepCopy() *ModelCompilerRun

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelCompilerRun.

func (*ModelCompilerRun) DeepCopyInto

func (in *ModelCompilerRun) DeepCopyInto(out *ModelCompilerRun)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModelCompilerRun) DeepCopyObject

func (in *ModelCompilerRun) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ModelCompilerRun) Default

func (pr *ModelCompilerRun) Default()

func (*ModelCompilerRun) Descriptor

func (*ModelCompilerRun) Descriptor() ([]byte, []int)

func (*ModelCompilerRun) GetCond

func (*ModelCompilerRun) GetCondIdx

func (*ModelCompilerRun) HasFinalizer

func (run *ModelCompilerRun) HasFinalizer() bool

func (*ModelCompilerRun) Marshal

func (m *ModelCompilerRun) Marshal() (dAtA []byte, err error)

func (*ModelCompilerRun) MarshalTo

func (m *ModelCompilerRun) MarshalTo(dAtA []byte) (int, error)

func (*ModelCompilerRun) MarshalToSizedBuffer

func (m *ModelCompilerRun) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ModelCompilerRun) ProtoMessage

func (*ModelCompilerRun) ProtoMessage()

func (*ModelCompilerRun) RemoveFinalizer

func (run *ModelCompilerRun) RemoveFinalizer()

func (*ModelCompilerRun) Reset

func (m *ModelCompilerRun) Reset()

func (*ModelCompilerRun) SetupWebhookWithManager

func (pl *ModelCompilerRun) SetupWebhookWithManager(mgr ctrl.Manager) error

Set up the webhook with the manager.

func (*ModelCompilerRun) Size

func (m *ModelCompilerRun) Size() (n int)

func (*ModelCompilerRun) StatusString

func (run *ModelCompilerRun) StatusString() string

func (*ModelCompilerRun) String

func (this *ModelCompilerRun) String() string

func (*ModelCompilerRun) ToYamlFile

func (run *ModelCompilerRun) ToYamlFile() ([]byte, error)

func (*ModelCompilerRun) Unmarshal

func (m *ModelCompilerRun) Unmarshal(dAtA []byte) error

func (*ModelCompilerRun) ValidateCreate

func (run *ModelCompilerRun) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*ModelCompilerRun) ValidateDelete

func (pl *ModelCompilerRun) ValidateDelete() error

func (*ModelCompilerRun) ValidateUpdate

func (run *ModelCompilerRun) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

func (*ModelCompilerRun) XXX_DiscardUnknown

func (m *ModelCompilerRun) XXX_DiscardUnknown()

func (*ModelCompilerRun) XXX_Marshal

func (m *ModelCompilerRun) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ModelCompilerRun) XXX_Merge

func (m *ModelCompilerRun) XXX_Merge(src proto.Message)

func (*ModelCompilerRun) XXX_Size

func (m *ModelCompilerRun) XXX_Size() int

func (*ModelCompilerRun) XXX_Unmarshal

func (m *ModelCompilerRun) XXX_Unmarshal(b []byte) error

type ModelCompilerRunCondition

type ModelCompilerRunCondition struct {
	// Type of  condition.
	Type ModelCompilerRunConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=ModelCompilerRunConditionType"`
	// Status of the condition, one of True, False, Unknown.
	Status v1.ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=k8s.io/api/core/v1.ConditionStatus"`
	// Last time the condition transitioned from one status to another.
	LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,4,opt,name=lastTransitionTime"`
	// The reason for the condition's last transition.
	Reason string `json:"reason,omitempty" protobuf:"bytes,5,opt,name=reason"`
	// A human readable message indicating details about the transition.
	Message string `json:"message,omitempty" protobuf:"bytes,6,opt,name=message"`
}

ModelCompilerRunCondition describes the state of a ModelCompilerRun at a certain point.

func (*ModelCompilerRunCondition) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelCompilerRunCondition.

func (*ModelCompilerRunCondition) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModelCompilerRunCondition) Descriptor

func (*ModelCompilerRunCondition) Descriptor() ([]byte, []int)

func (*ModelCompilerRunCondition) Marshal

func (m *ModelCompilerRunCondition) Marshal() (dAtA []byte, err error)

func (*ModelCompilerRunCondition) MarshalTo

func (m *ModelCompilerRunCondition) MarshalTo(dAtA []byte) (int, error)

func (*ModelCompilerRunCondition) MarshalToSizedBuffer

func (m *ModelCompilerRunCondition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ModelCompilerRunCondition) ProtoMessage

func (*ModelCompilerRunCondition) ProtoMessage()

func (*ModelCompilerRunCondition) Reset

func (m *ModelCompilerRunCondition) Reset()

func (*ModelCompilerRunCondition) Size

func (m *ModelCompilerRunCondition) Size() (n int)

func (*ModelCompilerRunCondition) String

func (this *ModelCompilerRunCondition) String() string

func (*ModelCompilerRunCondition) Unmarshal

func (m *ModelCompilerRunCondition) Unmarshal(dAtA []byte) error

func (*ModelCompilerRunCondition) XXX_DiscardUnknown

func (m *ModelCompilerRunCondition) XXX_DiscardUnknown()

func (*ModelCompilerRunCondition) XXX_Marshal

func (m *ModelCompilerRunCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ModelCompilerRunCondition) XXX_Merge

func (m *ModelCompilerRunCondition) XXX_Merge(src proto.Message)

func (*ModelCompilerRunCondition) XXX_Size

func (m *ModelCompilerRunCondition) XXX_Size() int

func (*ModelCompilerRunCondition) XXX_Unmarshal

func (m *ModelCompilerRunCondition) XXX_Unmarshal(b []byte) error

type ModelCompilerRunConditionType

type ModelCompilerRunConditionType string

Pipeline run condition

type ModelCompilerRunList

type ModelCompilerRunList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Items           []ModelCompilerRun `json:"items" protobuf:"bytes,2,rep,name=items"`
}

+kubebuilder:object:root=true ModelCompilerRunList represent list of pipelineruns

func (*ModelCompilerRunList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelCompilerRunList.

func (*ModelCompilerRunList) DeepCopyInto

func (in *ModelCompilerRunList) DeepCopyInto(out *ModelCompilerRunList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModelCompilerRunList) DeepCopyObject

func (in *ModelCompilerRunList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ModelCompilerRunList) Descriptor

func (*ModelCompilerRunList) Descriptor() ([]byte, []int)

func (*ModelCompilerRunList) Marshal

func (m *ModelCompilerRunList) Marshal() (dAtA []byte, err error)

func (*ModelCompilerRunList) MarshalTo

func (m *ModelCompilerRunList) MarshalTo(dAtA []byte) (int, error)

func (*ModelCompilerRunList) MarshalToSizedBuffer

func (m *ModelCompilerRunList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ModelCompilerRunList) ProtoMessage

func (*ModelCompilerRunList) ProtoMessage()

func (*ModelCompilerRunList) Reset

func (m *ModelCompilerRunList) Reset()

func (*ModelCompilerRunList) Size

func (m *ModelCompilerRunList) Size() (n int)

func (*ModelCompilerRunList) String

func (this *ModelCompilerRunList) String() string

func (*ModelCompilerRunList) Unmarshal

func (m *ModelCompilerRunList) Unmarshal(dAtA []byte) error

func (*ModelCompilerRunList) XXX_DiscardUnknown

func (m *ModelCompilerRunList) XXX_DiscardUnknown()

func (*ModelCompilerRunList) XXX_Marshal

func (m *ModelCompilerRunList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ModelCompilerRunList) XXX_Merge

func (m *ModelCompilerRunList) XXX_Merge(src proto.Message)

func (*ModelCompilerRunList) XXX_Size

func (m *ModelCompilerRunList) XXX_Size() int

func (*ModelCompilerRunList) XXX_Unmarshal

func (m *ModelCompilerRunList) XXX_Unmarshal(b []byte) error

type ModelCompilerRunSpec

type ModelCompilerRunSpec struct {
	// VersionName is the data product version of the run
	// +kubebuilder:default:=""
	// +kubebuilder:validation:Optional
	VersionName *string `json:"versionName,omitempty" protobuf:"bytes,1,opt,name=versionName"`
	// Description is the user provided description
	// +kubebuilder:default:=""
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" protobuf:"bytes,2,opt,name=description"`
	// DatasetName is the name of the dataset that we trained on.
	// +kubebuilder:default:=""
	// +kubebuilder:validation:Optional
	ModelName *string `json:"modelName,omitempty" protobuf:"bytes,3,opt,name=modelName"`
	// The owner of the ruyn.
	// +kubebuilder:default:="no-one"
	// +kubebuilder:validation:Optional
	Owner *string `json:"owner,omitempty" protobuf:"bytes,4,opt,name=owner"`
	// The priority of this pipeline run. The default is medium.
	// +kubebuilder:default:=medium
	// +kubebuilder:validation:Optional
	Priority *catalog.PriorityLevel `json:"priority,omitempty" protobuf:"bytes,5,opt,name=priority"`
	// The compiler name
	// +kubebuilder:default:=tvm
	Compiler *catalog.CompilerName `json:"compiler,omitempty" protobuf:"bytes,6,opt,name=compiler"`
	// Set one or more targets for the compiler
	//
	Target *catalog.HardwareTarget `json:"target,omitempty" protobuf:"bytes,7,opt,name=target"`
}

ModelCompilerRunSpec is the desired state of the ModelCompilerRun resource

func (*ModelCompilerRunSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelCompilerRunSpec.

func (*ModelCompilerRunSpec) DeepCopyInto

func (in *ModelCompilerRunSpec) DeepCopyInto(out *ModelCompilerRunSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModelCompilerRunSpec) Descriptor

func (*ModelCompilerRunSpec) Descriptor() ([]byte, []int)

func (*ModelCompilerRunSpec) Marshal

func (m *ModelCompilerRunSpec) Marshal() (dAtA []byte, err error)

func (*ModelCompilerRunSpec) MarshalTo

func (m *ModelCompilerRunSpec) MarshalTo(dAtA []byte) (int, error)

func (*ModelCompilerRunSpec) MarshalToSizedBuffer

func (m *ModelCompilerRunSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ModelCompilerRunSpec) ProtoMessage

func (*ModelCompilerRunSpec) ProtoMessage()

func (*ModelCompilerRunSpec) Reset

func (m *ModelCompilerRunSpec) Reset()

func (*ModelCompilerRunSpec) Size

func (m *ModelCompilerRunSpec) Size() (n int)

func (*ModelCompilerRunSpec) String

func (this *ModelCompilerRunSpec) String() string

func (*ModelCompilerRunSpec) Unmarshal

func (m *ModelCompilerRunSpec) Unmarshal(dAtA []byte) error

func (*ModelCompilerRunSpec) XXX_DiscardUnknown

func (m *ModelCompilerRunSpec) XXX_DiscardUnknown()

func (*ModelCompilerRunSpec) XXX_Marshal

func (m *ModelCompilerRunSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ModelCompilerRunSpec) XXX_Merge

func (m *ModelCompilerRunSpec) XXX_Merge(src proto.Message)

func (*ModelCompilerRunSpec) XXX_Size

func (m *ModelCompilerRunSpec) XXX_Size() int

func (*ModelCompilerRunSpec) XXX_Unmarshal

func (m *ModelCompilerRunSpec) XXX_Unmarshal(b []byte) error

type ModelCompilerRunStatus

type ModelCompilerRunStatus struct {
	// +kubebuilder:validation:Optional
	StartTime *metav1.Time `json:"startTime,omitempty" protobuf:"bytes,1,opt,name=startTime"`
	// +kubebuilder:validation:Optional
	CompletionTime *metav1.Time `json:"completionTime,omitempty" protobuf:"bytes,2,opt,name=completionTime"`
	// The phase of the pipeline run
	// +kubebuilder:default:="Pending"
	// +kubebuilder:validation:Optional
	Phase CompilerPhase `json:"phase" protobuf:"bytes,3,opt,name=phase"`
	// ObservedGeneration is the Last generation that was acted on
	//+kubebuilder:validation:Optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,4,opt,name=observedGeneration"`
	// Folder for pipeline run artifacts. This is assigned by the system
	// The folder contains all the pipeline artifacts - metadata, logs
	// +kubebuilder:validation:Optional
	Folder string `json:"folder,omitempty" protobuf:"bytes,5,opt,name=evalMetrics"`
	// Update in case of terminal failure
	// Borrowed from cluster api controller
	//+kubebuilder:validation:Optional
	FailureReason *catalog.StatusError `json:"failureReason,omitempty" protobuf:"bytes,6,opt,name=failureReason"`
	// Update in case of terminal failure message
	//+kubebuilder:validation:Optional
	FailureMessage *string `json:"failureMessage,omitempty" protobuf:"bytes,7,opt,name=failureMessage"`
	// Pipeline progress Progress in percent, the progress takes into account the different stages of the pipeline
	// +kubebuilder:validation:Optional
	Progress *int32 `json:"progress" protobuf:"varint,8,opt,name=progress"`
	// Last time the object was updated
	//+kubebuilder:validation:Optional
	LastUpdated *metav1.Time `json:"lastUpdated,omitempty" protobuf:"bytes,9,opt,name=lastUpdated"`

	// +patchMergeKey=type
	// +patchStrategy=merge
	// +kubebuilder:validation:Optional
	Conditions []ModelCompilerRunCondition `json:"conditions,omitempty" protobuf:"bytes,10,rep,name=conditions"`
}

ModelCompilerRunStatus is the observed state of the ModelCompilerRun resource .

func (*ModelCompilerRunStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelCompilerRunStatus.

func (*ModelCompilerRunStatus) DeepCopyInto

func (in *ModelCompilerRunStatus) DeepCopyInto(out *ModelCompilerRunStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModelCompilerRunStatus) Descriptor

func (*ModelCompilerRunStatus) Descriptor() ([]byte, []int)

func (*ModelCompilerRunStatus) Marshal

func (m *ModelCompilerRunStatus) Marshal() (dAtA []byte, err error)

func (*ModelCompilerRunStatus) MarshalTo

func (m *ModelCompilerRunStatus) MarshalTo(dAtA []byte) (int, error)

func (*ModelCompilerRunStatus) MarshalToSizedBuffer

func (m *ModelCompilerRunStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ModelCompilerRunStatus) ProtoMessage

func (*ModelCompilerRunStatus) ProtoMessage()

func (*ModelCompilerRunStatus) Reset

func (m *ModelCompilerRunStatus) Reset()

func (*ModelCompilerRunStatus) Size

func (m *ModelCompilerRunStatus) Size() (n int)

func (*ModelCompilerRunStatus) String

func (this *ModelCompilerRunStatus) String() string

func (*ModelCompilerRunStatus) Unmarshal

func (m *ModelCompilerRunStatus) Unmarshal(dAtA []byte) error

func (*ModelCompilerRunStatus) XXX_DiscardUnknown

func (m *ModelCompilerRunStatus) XXX_DiscardUnknown()

func (*ModelCompilerRunStatus) XXX_Marshal

func (m *ModelCompilerRunStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ModelCompilerRunStatus) XXX_Merge

func (m *ModelCompilerRunStatus) XXX_Merge(src proto.Message)

func (*ModelCompilerRunStatus) XXX_Size

func (m *ModelCompilerRunStatus) XXX_Size() int

func (*ModelCompilerRunStatus) XXX_Unmarshal

func (m *ModelCompilerRunStatus) XXX_Unmarshal(b []byte) error

type ModelCondition

type ModelCondition struct {
	// Type of account condition.
	Type ModelConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=ModelConditionType"`
	// Status of the condition, one of True, False, AutoScaler.
	Status v1.ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=k8s.io/api/core/v1.ConditionStatus"`
	// Last time the condition transitioned from one status to another.
	LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,4,opt,name=lastTransitionTime"`
	// The reason for the condition's last transition.
	Reason string `json:"reason,omitempty" protobuf:"bytes,5,opt,name=reason"`
	// A human readable message indicating details about the transition.
	Message string `json:"message,omitempty" protobuf:"bytes,6,opt,name=message"`
}

ModelCondition describes the state of a model at a certain point.

func (*ModelCondition) DeepCopy

func (in *ModelCondition) DeepCopy() *ModelCondition

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelCondition.

func (*ModelCondition) DeepCopyInto

func (in *ModelCondition) DeepCopyInto(out *ModelCondition)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModelCondition) Descriptor

func (*ModelCondition) Descriptor() ([]byte, []int)

func (*ModelCondition) Marshal

func (m *ModelCondition) Marshal() (dAtA []byte, err error)

func (*ModelCondition) MarshalTo

func (m *ModelCondition) MarshalTo(dAtA []byte) (int, error)

func (*ModelCondition) MarshalToSizedBuffer

func (m *ModelCondition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ModelCondition) ProtoMessage

func (*ModelCondition) ProtoMessage()

func (*ModelCondition) Reset

func (m *ModelCondition) Reset()

func (*ModelCondition) Size

func (m *ModelCondition) Size() (n int)

func (*ModelCondition) String

func (this *ModelCondition) String() string

func (*ModelCondition) Unmarshal

func (m *ModelCondition) Unmarshal(dAtA []byte) error

func (*ModelCondition) XXX_DiscardUnknown

func (m *ModelCondition) XXX_DiscardUnknown()

func (*ModelCondition) XXX_Marshal

func (m *ModelCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ModelCondition) XXX_Merge

func (m *ModelCondition) XXX_Merge(src proto.Message)

func (*ModelCondition) XXX_Size

func (m *ModelCondition) XXX_Size() int

func (*ModelCondition) XXX_Unmarshal

func (m *ModelCondition) XXX_Unmarshal(b []byte) error

type ModelConditionType

type ModelConditionType string

ModelConditionType is a condition on a model

const (
	// NodePlanned means that the model is populated with an algorithm and hyper parameter
	ModelInitialized ModelConditionType = "Initialized"
	// Model was trained on the training set, and validated against the validation set.
	ModelTrained ModelConditionType = "Trained"
	// Model was trained on the training set, and testedActual against the testing set.
	ModelTested ModelConditionType = "Tested"
	// Model report was generated and uploaded to the bucket.
	ModelReported ModelConditionType = "Reported"
	// Model was baked
	ModelPackaged ModelConditionType = "Packaged"
	// Model was baked
	ModelPublished ModelConditionType = "Published"
	// Model profiled
	ModelProfiled ModelConditionType = "Profiled"
	// Execution of the model completed successful
	ModelReady ModelConditionType = "Ready"
	// The model artifact were saved to the database
	ModelSaved ModelConditionType = "Saved"
	// The model artifact were archived in the bucket.
	ModelArchived ModelConditionType = "Archived"
	// The model was explained by computing shap values
	ModelExplained ModelConditionType = "Explained"
	// True if the model is active and serving prediction
	ModelReleased ModelConditionType = "Released"
	// Training was aborted
	ModelAborted ModelConditionType = "Aborted"
	// Training is paused
	ModelPaused ModelConditionType = "Paused"
	//
	ModelForecasted ModelConditionType = "Forecasted"
	// The model is under testing
	ModelUat ModelConditionType = "UAT"
	// The model is in production
	ModelLive ModelConditionType = "Live"
	// The model is stale
	ModelStale ModelConditionType = "Stale"
	// The model is in maintance
	ModelMaintenance ModelConditionType = "Maintenance"
	// The model is in retired
	ModelRetired ModelConditionType = "Retired"
)

/ Model

type ModelImageSpec

type ModelImageSpec struct {
	// Is the release to
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:=false
	Exist *bool `json:"exist,omitempty" protobuf:"varint,1,opt,name=exist"`
	// Full image name to use
	// +kubebuilder:default:=""
	// +kubebuilder:validation:Optional
	ImageName *string `json:"imageName,omitempty" protobuf:"bytes,2,opt,name=imageName"`
	// The name of the connection object, the name must be provided in order to push the image.
	// +kubebuilder:default:=""
	// +kubebuilder:validation:Optional
	RegistryConnection *string `json:"registryConnectionName,omitempty" protobuf:"bytes,3,opt,name=registryConnectionName"`
}

Model Image spec define the desired state of the container image of the best model If enabled, the system will create a docker image and push it to a docker registry

func (*ModelImageSpec) DeepCopy

func (in *ModelImageSpec) DeepCopy() *ModelImageSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelImageSpec.

func (*ModelImageSpec) DeepCopyInto

func (in *ModelImageSpec) DeepCopyInto(out *ModelImageSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModelImageSpec) Descriptor

func (*ModelImageSpec) Descriptor() ([]byte, []int)

func (*ModelImageSpec) Marshal

func (m *ModelImageSpec) Marshal() (dAtA []byte, err error)

func (*ModelImageSpec) MarshalTo

func (m *ModelImageSpec) MarshalTo(dAtA []byte) (int, error)

func (*ModelImageSpec) MarshalToSizedBuffer

func (m *ModelImageSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ModelImageSpec) ProtoMessage

func (*ModelImageSpec) ProtoMessage()

func (*ModelImageSpec) Reset

func (m *ModelImageSpec) Reset()

func (*ModelImageSpec) Size

func (m *ModelImageSpec) Size() (n int)

func (*ModelImageSpec) String

func (this *ModelImageSpec) String() string

func (*ModelImageSpec) Unmarshal

func (m *ModelImageSpec) Unmarshal(dAtA []byte) error

func (*ModelImageSpec) XXX_DiscardUnknown

func (m *ModelImageSpec) XXX_DiscardUnknown()

func (*ModelImageSpec) XXX_Marshal

func (m *ModelImageSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ModelImageSpec) XXX_Merge

func (m *ModelImageSpec) XXX_Merge(src proto.Message)

func (*ModelImageSpec) XXX_Size

func (m *ModelImageSpec) XXX_Size() int

func (*ModelImageSpec) XXX_Unmarshal

func (m *ModelImageSpec) XXX_Unmarshal(b []byte) error

type ModelList

type ModelList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Items           []Model `json:"items" protobuf:"bytes,2,rep,name=items"`
}

+kubebuilder:object:root=true ModelList is a list of models.

func (*ModelList) DeepCopy

func (in *ModelList) DeepCopy() *ModelList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelList.

func (*ModelList) DeepCopyInto

func (in *ModelList) DeepCopyInto(out *ModelList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModelList) DeepCopyObject

func (in *ModelList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ModelList) Descriptor

func (*ModelList) Descriptor() ([]byte, []int)

func (*ModelList) Marshal

func (m *ModelList) Marshal() (dAtA []byte, err error)

func (*ModelList) MarshalTo

func (m *ModelList) MarshalTo(dAtA []byte) (int, error)

func (*ModelList) MarshalToSizedBuffer

func (m *ModelList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ModelList) ProtoMessage

func (*ModelList) ProtoMessage()

func (*ModelList) Reset

func (m *ModelList) Reset()

func (*ModelList) Size

func (m *ModelList) Size() (n int)

func (*ModelList) String

func (this *ModelList) String() string

func (*ModelList) Unmarshal

func (m *ModelList) Unmarshal(dAtA []byte) error

func (*ModelList) XXX_DiscardUnknown

func (m *ModelList) XXX_DiscardUnknown()

func (*ModelList) XXX_Marshal

func (m *ModelList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ModelList) XXX_Merge

func (m *ModelList) XXX_Merge(src proto.Message)

func (*ModelList) XXX_Size

func (m *ModelList) XXX_Size() int

func (*ModelList) XXX_Unmarshal

func (m *ModelList) XXX_Unmarshal(b []byte) error

type ModelPhase

type ModelPhase string

ModelPhase is the current phase of a model

const (
	ModelPhaseFailed      ModelPhase = "Failed"
	ModelPhasePending     ModelPhase = "Pending"
	ModelPhaseTraining    ModelPhase = "Training"
	ModelPhaseTrained     ModelPhase = "Trained"
	ModelPhaseTesting     ModelPhase = "Testing"
	ModelPhaseTested      ModelPhase = "Tested"
	ModelPhaseReporting   ModelPhase = "Reporting"
	ModelPhaseReported    ModelPhase = "Reported"
	ModelPhaseCompleted   ModelPhase = "Completed"
	ModelPhasePublishing  ModelPhase = "Publishing"
	ModelPhasePublished   ModelPhase = "Published"
	ModelPhasePackaging   ModelPhase = "Packaging"
	ModelPhasePackaged    ModelPhase = "Packaged"
	ModelPhaseProfiling   ModelPhase = "Profiling"
	ModelPhaseProfiled    ModelPhase = "Profiled"
	ModelPhaseExplaining  ModelPhase = "Explaining"
	ModelPhaseExplained   ModelPhase = "Explained"
	ModelPhaseAborted     ModelPhase = "Aborted"
	ModelPhaseForecasting ModelPhase = "Forecasting"
	ModelPhaseForecasted  ModelPhase = "Forecasted"
	ModelPhaseUat         ModelPhase = "UAT"
	ModelPhaseDeployed    ModelPhase = "Deployed"
	ModelPhaseReleasing   ModelPhase = "Releasing"
	ModelPhaseLive        ModelPhase = "Live"
	ModelPhaseMaintenance ModelPhase = "Maintenance"
	ModelPhaseRetired     ModelPhase = "Retired"
)

type ModelPipeline

type ModelPipeline struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Spec              ModelPipelineSpec   `json:"spec" protobuf:"bytes,2,opt,name=spec"`
	Status            ModelPipelineStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type==\"Ready\")].status",description="" +kubebuilder:printcolumn:name="Schedule",type="string",JSONPath=".spec.schedule",description="" +kubebuilder:printcolumn:name="Last Run",type="date",JSONPath=".status.lastRun",description="" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:path=modelpipelines,singular=modelpipeline,shortName=pipe,categories={training,modela,all} ModelPipeline represent a CI/CD machine learning pipeline definition

func ParsePipelineYaml

func ParsePipelineYaml(content []byte) (*ModelPipeline, error)

func (*ModelPipeline) AddFinalizer

func (pl *ModelPipeline) AddFinalizer()

func (*ModelPipeline) Archived

func (pl *ModelPipeline) Archived() bool

func (*ModelPipeline) CreateOrUpdateCond

func (pl *ModelPipeline) CreateOrUpdateCond(cond ModelPipelineCondition)

Merge or update condition

func (*ModelPipeline) DeepCopy

func (in *ModelPipeline) DeepCopy() *ModelPipeline

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelPipeline.

func (*ModelPipeline) DeepCopyInto

func (in *ModelPipeline) DeepCopyInto(out *ModelPipeline)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModelPipeline) DeepCopyObject

func (in *ModelPipeline) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ModelPipeline) Default

func (pl *ModelPipeline) Default()

func (*ModelPipeline) Descriptor

func (*ModelPipeline) Descriptor() ([]byte, []int)

func (*ModelPipeline) GetCond

func (*ModelPipeline) GetCondIdx

func (pl *ModelPipeline) GetCondIdx(t ModelPipelineConditionType) int

func (*ModelPipeline) HasDataStage

func (pl *ModelPipeline) HasDataStage() bool

func (*ModelPipeline) HasFinalizer

func (pl *ModelPipeline) HasFinalizer() bool

func (*ModelPipeline) HasTrainingNotebook

func (pl *ModelPipeline) HasTrainingNotebook() bool

func (*ModelPipeline) HasTrainingStage

func (pl *ModelPipeline) HasTrainingStage() bool

func (*ModelPipeline) HasTrainingStudy

func (pl *ModelPipeline) HasTrainingStudy() bool

func (*ModelPipeline) IsReady

func (run *ModelPipeline) IsReady() bool

func (*ModelPipeline) MarkArchived

func (pl *ModelPipeline) MarkArchived()

func (*ModelPipeline) MarkReady

func (pl *ModelPipeline) MarkReady()

func (*ModelPipeline) Marshal

func (m *ModelPipeline) Marshal() (dAtA []byte, err error)

func (*ModelPipeline) MarshalTo

func (m *ModelPipeline) MarshalTo(dAtA []byte) (int, error)

func (*ModelPipeline) MarshalToSizedBuffer

func (m *ModelPipeline) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ModelPipeline) PredictionName

func (pl *ModelPipeline) PredictionName() string

func (*ModelPipeline) PredictorName

func (pl *ModelPipeline) PredictorName() string

Compare the current

func (*ModelPipeline) ProtoMessage

func (*ModelPipeline) ProtoMessage()

func (*ModelPipeline) RemoveFinalizer

func (pl *ModelPipeline) RemoveFinalizer()

func (*ModelPipeline) Reset

func (m *ModelPipeline) Reset()

func (*ModelPipeline) SetupWebhookWithManager

func (pl *ModelPipeline) SetupWebhookWithManager(mgr ctrl.Manager) error

Set up the webhook with the manager.

func (*ModelPipeline) Size

func (m *ModelPipeline) Size() (n int)

func (*ModelPipeline) String

func (this *ModelPipeline) String() string

func (*ModelPipeline) ToYamlFile

func (pl *ModelPipeline) ToYamlFile() ([]byte, error)

func (*ModelPipeline) Unmarshal

func (m *ModelPipeline) Unmarshal(dAtA []byte) error

func (*ModelPipeline) ValidateCreate

func (pl *ModelPipeline) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*ModelPipeline) ValidateDelete

func (pl *ModelPipeline) ValidateDelete() error

func (*ModelPipeline) ValidateUpdate

func (pl *ModelPipeline) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

func (*ModelPipeline) XXX_DiscardUnknown

func (m *ModelPipeline) XXX_DiscardUnknown()

func (*ModelPipeline) XXX_Marshal

func (m *ModelPipeline) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ModelPipeline) XXX_Merge

func (m *ModelPipeline) XXX_Merge(src proto.Message)

func (*ModelPipeline) XXX_Size

func (m *ModelPipeline) XXX_Size() int

func (*ModelPipeline) XXX_Unmarshal

func (m *ModelPipeline) XXX_Unmarshal(b []byte) error

type ModelPipelineCondition

type ModelPipelineCondition struct {
	// Type of account condition.
	Type ModelPipelineConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=ModelPipelineConditionType"`
	// Status of the condition, one of True, False, AutoScaler.
	Status v1.ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=k8s.io/api/core/v1.ConditionStatus"`
	// Last time the condition transitioned from one status to another.
	LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,3,opt,name=lastTransitionTime"`
	// The reason for the condition's last transition.
	Reason string `json:"reason,omitempty" protobuf:"bytes,4,opt,name=reason"`
	// A human readable message indicating details about the transition.
	Message string `json:"message,omitempty" protobuf:"bytes,5,opt,name=message"`
}

ModelPipelineCondition describes the state of a pipeline at a certain point.

func (*ModelPipelineCondition) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelPipelineCondition.

func (*ModelPipelineCondition) DeepCopyInto

func (in *ModelPipelineCondition) DeepCopyInto(out *ModelPipelineCondition)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModelPipelineCondition) Descriptor

func (*ModelPipelineCondition) Descriptor() ([]byte, []int)

func (*ModelPipelineCondition) Marshal

func (m *ModelPipelineCondition) Marshal() (dAtA []byte, err error)

func (*ModelPipelineCondition) MarshalTo

func (m *ModelPipelineCondition) MarshalTo(dAtA []byte) (int, error)

func (*ModelPipelineCondition) MarshalToSizedBuffer

func (m *ModelPipelineCondition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ModelPipelineCondition) ProtoMessage

func (*ModelPipelineCondition) ProtoMessage()

func (*ModelPipelineCondition) Reset

func (m *ModelPipelineCondition) Reset()

func (*ModelPipelineCondition) Size

func (m *ModelPipelineCondition) Size() (n int)

func (*ModelPipelineCondition) String

func (this *ModelPipelineCondition) String() string

func (*ModelPipelineCondition) Unmarshal

func (m *ModelPipelineCondition) Unmarshal(dAtA []byte) error

func (*ModelPipelineCondition) XXX_DiscardUnknown

func (m *ModelPipelineCondition) XXX_DiscardUnknown()

func (*ModelPipelineCondition) XXX_Marshal

func (m *ModelPipelineCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ModelPipelineCondition) XXX_Merge

func (m *ModelPipelineCondition) XXX_Merge(src proto.Message)

func (*ModelPipelineCondition) XXX_Size

func (m *ModelPipelineCondition) XXX_Size() int

func (*ModelPipelineCondition) XXX_Unmarshal

func (m *ModelPipelineCondition) XXX_Unmarshal(b []byte) error

type ModelPipelineConditionType

type ModelPipelineConditionType string
const (
	ModelPipelineReady ModelPipelineConditionType = "Ready"
	ModelPipelineSaved ModelPipelineConditionType = "Saved"
)

type ModelPipelineList

type ModelPipelineList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Items           []ModelPipeline `json:"items" protobuf:"bytes,2,rep,name=items"`
}

+kubebuilder:object:root=true ModelPipelineList represent list of pipelines

func (*ModelPipelineList) DeepCopy

func (in *ModelPipelineList) DeepCopy() *ModelPipelineList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelPipelineList.

func (*ModelPipelineList) DeepCopyInto

func (in *ModelPipelineList) DeepCopyInto(out *ModelPipelineList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModelPipelineList) DeepCopyObject

func (in *ModelPipelineList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ModelPipelineList) Descriptor

func (*ModelPipelineList) Descriptor() ([]byte, []int)

func (*ModelPipelineList) Marshal

func (m *ModelPipelineList) Marshal() (dAtA []byte, err error)

func (*ModelPipelineList) MarshalTo

func (m *ModelPipelineList) MarshalTo(dAtA []byte) (int, error)

func (*ModelPipelineList) MarshalToSizedBuffer

func (m *ModelPipelineList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ModelPipelineList) ProtoMessage

func (*ModelPipelineList) ProtoMessage()

func (*ModelPipelineList) Reset

func (m *ModelPipelineList) Reset()

func (*ModelPipelineList) Size

func (m *ModelPipelineList) Size() (n int)

func (*ModelPipelineList) String

func (this *ModelPipelineList) String() string

func (*ModelPipelineList) Unmarshal

func (m *ModelPipelineList) Unmarshal(dAtA []byte) error

func (*ModelPipelineList) XXX_DiscardUnknown

func (m *ModelPipelineList) XXX_DiscardUnknown()

func (*ModelPipelineList) XXX_Marshal

func (m *ModelPipelineList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ModelPipelineList) XXX_Merge

func (m *ModelPipelineList) XXX_Merge(src proto.Message)

func (*ModelPipelineList) XXX_Size

func (m *ModelPipelineList) XXX_Size() int

func (*ModelPipelineList) XXX_Unmarshal

func (m *ModelPipelineList) XXX_Unmarshal(b []byte) error

type ModelPipelineRun

type ModelPipelineRun struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Spec              ModelPipelineRunSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"`
	// +kubebuilder:validation:Optional
	Status ModelPipelineRunStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Progress",type="number",JSONPath=".status.progress" +kubebuilder:printcolumn:name="Pipeline",type="string",JSONPath=".status.pipelineName" +kubebuilder:printcolumn:name="Version",type="string",JSONPath=".status.versionName" +kubebuilder:printcolumn:name="StartTime",type="date",JSONPath=".status.startTime",priority=1 +kubebuilder:printcolumn:name="CompletionTime",type="date",JSONPath=".status.completionTime",priority=1 +kubebuilder:printcolumn:name="Last Failure",type="string",JSONPath=".status.failureMessage" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:path=modelpipelineruns,shortName=mpr,singular=modelpipelinerun,categories={train,modela,all} ModelPipelineRun represent a execution of a pipeline

func (*ModelPipelineRun) AddFinalizer

func (run *ModelPipelineRun) AddFinalizer()

func (*ModelPipelineRun) CreateOrUpdateCond

func (run *ModelPipelineRun) CreateOrUpdateCond(cond ModelPipelineRunCondition)

func (*ModelPipelineRun) DeepCopy

func (in *ModelPipelineRun) DeepCopy() *ModelPipelineRun

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelPipelineRun.

func (*ModelPipelineRun) DeepCopyInto

func (in *ModelPipelineRun) DeepCopyInto(out *ModelPipelineRun)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModelPipelineRun) DeepCopyObject

func (in *ModelPipelineRun) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ModelPipelineRun) Default

func (pr *ModelPipelineRun) Default()

func (*ModelPipelineRun) Descriptor

func (*ModelPipelineRun) Descriptor() ([]byte, []int)

func (*ModelPipelineRun) GetCond

func (*ModelPipelineRun) GetCondIdx

func (run *ModelPipelineRun) GetCondIdx(t PipelineRunConditionType) int

func (*ModelPipelineRun) HasFinalizer

func (run *ModelPipelineRun) HasFinalizer() bool

func (*ModelPipelineRun) IsCapacityStageCompleted

func (this *ModelPipelineRun) IsCapacityStageCompleted() bool

func (*ModelPipelineRun) IsCapacityStageFailed

func (this *ModelPipelineRun) IsCapacityStageFailed() bool

func (*ModelPipelineRun) IsCapacityStageRunning

func (this *ModelPipelineRun) IsCapacityStageRunning() bool

func (*ModelPipelineRun) IsDataStageCompleted

func (this *ModelPipelineRun) IsDataStageCompleted() bool

func (*ModelPipelineRun) IsDataStageFailed

func (this *ModelPipelineRun) IsDataStageFailed() bool

func (*ModelPipelineRun) IsDataStageRunning

func (this *ModelPipelineRun) IsDataStageRunning() bool

func (*ModelPipelineRun) IsProdStageCompleted

func (this *ModelPipelineRun) IsProdStageCompleted() bool

func (*ModelPipelineRun) IsProdStageFailed

func (this *ModelPipelineRun) IsProdStageFailed() bool

func (*ModelPipelineRun) IsProdStageRunning

func (this *ModelPipelineRun) IsProdStageRunning() bool

func (*ModelPipelineRun) IsSaved

func (this *ModelPipelineRun) IsSaved() bool

func (*ModelPipelineRun) IsTrainingStageCompleted

func (this *ModelPipelineRun) IsTrainingStageCompleted() bool

func (*ModelPipelineRun) IsTrainingStageFailed

func (this *ModelPipelineRun) IsTrainingStageFailed() bool

func (*ModelPipelineRun) IsTrainingStageRunning

func (this *ModelPipelineRun) IsTrainingStageRunning() bool

func (*ModelPipelineRun) IsUATStageFailed

func (this *ModelPipelineRun) IsUATStageFailed() bool

func (*ModelPipelineRun) IsUATStageRunning

func (this *ModelPipelineRun) IsUATStageRunning() bool

func (*ModelPipelineRun) IsUatStageCompleted

func (this *ModelPipelineRun) IsUatStageCompleted() bool

func (*ModelPipelineRun) MarkCapacityStageFailed

func (this *ModelPipelineRun) MarkCapacityStageFailed(err error)

func (*ModelPipelineRun) MarkCapacityStageRunning

func (this *ModelPipelineRun) MarkCapacityStageRunning()

////////////////////////////////////////////////////////// Capacity Stage //////////////////////////////////////////////////////////

func (*ModelPipelineRun) MarkCapcityStageCompleted

func (this *ModelPipelineRun) MarkCapcityStageCompleted()

func (*ModelPipelineRun) MarkDataStageCompleted

func (this *ModelPipelineRun) MarkDataStageCompleted()

func (*ModelPipelineRun) MarkDataStageFailed

func (this *ModelPipelineRun) MarkDataStageFailed(err error)

func (*ModelPipelineRun) MarkDataStageRunning

func (this *ModelPipelineRun) MarkDataStageRunning()

func (*ModelPipelineRun) MarkProdStageCompleted

func (this *ModelPipelineRun) MarkProdStageCompleted()

func (*ModelPipelineRun) MarkProdStageFailed

func (this *ModelPipelineRun) MarkProdStageFailed(err error)

func (*ModelPipelineRun) MarkProdStageRunning

func (this *ModelPipelineRun) MarkProdStageRunning()

func (*ModelPipelineRun) MarkSaved

func (this *ModelPipelineRun) MarkSaved()

func (*ModelPipelineRun) MarkTrainingStageCompleted

func (this *ModelPipelineRun) MarkTrainingStageCompleted()

func (*ModelPipelineRun) MarkTrainingStageFailed

func (this *ModelPipelineRun) MarkTrainingStageFailed(err error)

func (*ModelPipelineRun) MarkTrainingStageRunning

func (this *ModelPipelineRun) MarkTrainingStageRunning()

////////////////////////////////////////////////////////// Training Stage //////////////////////////////////////////////////////////

func (*ModelPipelineRun) MarkUATStageCompleted

func (this *ModelPipelineRun) MarkUATStageCompleted()

func (*ModelPipelineRun) MarkUATStageRunning

func (this *ModelPipelineRun) MarkUATStageRunning()

////////////////////////////////////////////////////////// UAT Stage //////////////////////////////////////////////////////////

func (*ModelPipelineRun) MarkUatStageFailed

func (this *ModelPipelineRun) MarkUatStageFailed(err error)

func (*ModelPipelineRun) Marshal

func (m *ModelPipelineRun) Marshal() (dAtA []byte, err error)

func (*ModelPipelineRun) MarshalTo

func (m *ModelPipelineRun) MarshalTo(dAtA []byte) (int, error)

func (*ModelPipelineRun) MarshalToSizedBuffer

func (m *ModelPipelineRun) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ModelPipelineRun) ProtoMessage

func (*ModelPipelineRun) ProtoMessage()

func (*ModelPipelineRun) RemoveFinalizer

func (run *ModelPipelineRun) RemoveFinalizer()

func (*ModelPipelineRun) Reset

func (m *ModelPipelineRun) Reset()

func (*ModelPipelineRun) SetupWebhookWithManager

func (pl *ModelPipelineRun) SetupWebhookWithManager(mgr ctrl.Manager) error

Set up the webhook with the manager.

func (*ModelPipelineRun) Size

func (m *ModelPipelineRun) Size() (n int)

func (*ModelPipelineRun) StatusString

func (run *ModelPipelineRun) StatusString() string

func (*ModelPipelineRun) String

func (this *ModelPipelineRun) String() string

func (*ModelPipelineRun) ToYamlFile

func (run *ModelPipelineRun) ToYamlFile() ([]byte, error)

func (*ModelPipelineRun) Unmarshal

func (m *ModelPipelineRun) Unmarshal(dAtA []byte) error

func (*ModelPipelineRun) ValidateCreate

func (run *ModelPipelineRun) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*ModelPipelineRun) ValidateDelete

func (run *ModelPipelineRun) ValidateDelete() error

func (*ModelPipelineRun) ValidateUpdate

func (run *ModelPipelineRun) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

func (*ModelPipelineRun) XXX_DiscardUnknown

func (m *ModelPipelineRun) XXX_DiscardUnknown()

func (*ModelPipelineRun) XXX_Marshal

func (m *ModelPipelineRun) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ModelPipelineRun) XXX_Merge

func (m *ModelPipelineRun) XXX_Merge(src proto.Message)

func (*ModelPipelineRun) XXX_Size

func (m *ModelPipelineRun) XXX_Size() int

func (*ModelPipelineRun) XXX_Unmarshal

func (m *ModelPipelineRun) XXX_Unmarshal(b []byte) error

type ModelPipelineRunCondition

type ModelPipelineRunCondition struct {
	// Type of  condition.
	Type PipelineRunConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=PipelineRunConditionType"`
	// Status of the condition, one of True, False, Unknown.
	Status v1.ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=k8s.io/api/core/v1.ConditionStatus"`
	// Last time the condition transitioned from one status to another.
	LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,4,opt,name=lastTransitionTime"`
	// The reason for the condition's last transition.
	Reason string `json:"reason,omitempty" protobuf:"bytes,5,opt,name=reason"`
	// A human readable message indicating details about the transition.
	Message string `json:"message,omitempty" protobuf:"bytes,6,opt,name=message"`
}

ModelPipelineRunCondition describes the state of a ModelPipelineRun at a certain point.

func (*ModelPipelineRunCondition) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelPipelineRunCondition.

func (*ModelPipelineRunCondition) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModelPipelineRunCondition) Descriptor

func (*ModelPipelineRunCondition) Descriptor() ([]byte, []int)

func (*ModelPipelineRunCondition) Marshal

func (m *ModelPipelineRunCondition) Marshal() (dAtA []byte, err error)

func (*ModelPipelineRunCondition) MarshalTo

func (m *ModelPipelineRunCondition) MarshalTo(dAtA []byte) (int, error)

func (*ModelPipelineRunCondition) MarshalToSizedBuffer

func (m *ModelPipelineRunCondition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ModelPipelineRunCondition) ProtoMessage

func (*ModelPipelineRunCondition) ProtoMessage()

func (*ModelPipelineRunCondition) Reset

func (m *ModelPipelineRunCondition) Reset()

func (*ModelPipelineRunCondition) Size

func (m *ModelPipelineRunCondition) Size() (n int)

func (*ModelPipelineRunCondition) String

func (this *ModelPipelineRunCondition) String() string

func (*ModelPipelineRunCondition) Unmarshal

func (m *ModelPipelineRunCondition) Unmarshal(dAtA []byte) error

func (*ModelPipelineRunCondition) XXX_DiscardUnknown

func (m *ModelPipelineRunCondition) XXX_DiscardUnknown()

func (*ModelPipelineRunCondition) XXX_Marshal

func (m *ModelPipelineRunCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ModelPipelineRunCondition) XXX_Merge

func (m *ModelPipelineRunCondition) XXX_Merge(src proto.Message)

func (*ModelPipelineRunCondition) XXX_Size

func (m *ModelPipelineRunCondition) XXX_Size() int

func (*ModelPipelineRunCondition) XXX_Unmarshal

func (m *ModelPipelineRunCondition) XXX_Unmarshal(b []byte) error

type ModelPipelineRunList

type ModelPipelineRunList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Items           []ModelPipelineRun `json:"items" protobuf:"bytes,2,rep,name=items"`
}

+kubebuilder:object:root=true ModelPipelineRunList represent list of pipelineruns

func (*ModelPipelineRunList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelPipelineRunList.

func (*ModelPipelineRunList) DeepCopyInto

func (in *ModelPipelineRunList) DeepCopyInto(out *ModelPipelineRunList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModelPipelineRunList) DeepCopyObject

func (in *ModelPipelineRunList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ModelPipelineRunList) Descriptor

func (*ModelPipelineRunList) Descriptor() ([]byte, []int)

func (*ModelPipelineRunList) Marshal

func (m *ModelPipelineRunList) Marshal() (dAtA []byte, err error)

func (*ModelPipelineRunList) MarshalTo

func (m *ModelPipelineRunList) MarshalTo(dAtA []byte) (int, error)

func (*ModelPipelineRunList) MarshalToSizedBuffer

func (m *ModelPipelineRunList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ModelPipelineRunList) ProtoMessage

func (*ModelPipelineRunList) ProtoMessage()

func (*ModelPipelineRunList) Reset

func (m *ModelPipelineRunList) Reset()

func (*ModelPipelineRunList) Size

func (m *ModelPipelineRunList) Size() (n int)

func (*ModelPipelineRunList) String

func (this *ModelPipelineRunList) String() string

func (*ModelPipelineRunList) Unmarshal

func (m *ModelPipelineRunList) Unmarshal(dAtA []byte) error

func (*ModelPipelineRunList) XXX_DiscardUnknown

func (m *ModelPipelineRunList) XXX_DiscardUnknown()

func (*ModelPipelineRunList) XXX_Marshal

func (m *ModelPipelineRunList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ModelPipelineRunList) XXX_Merge

func (m *ModelPipelineRunList) XXX_Merge(src proto.Message)

func (*ModelPipelineRunList) XXX_Size

func (m *ModelPipelineRunList) XXX_Size() int

func (*ModelPipelineRunList) XXX_Unmarshal

func (m *ModelPipelineRunList) XXX_Unmarshal(b []byte) error

type ModelPipelineRunSpec

type ModelPipelineRunSpec struct {
	// VersionName is the data product version of the run
	// +kubebuilder:default:=""
	// +kubebuilder:validation:Optional
	VersionName *string `json:"versionName,omitempty" protobuf:"bytes,1,opt,name=versionName"`
	// Description is the user provided description
	// +kubebuilder:default:=""
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" protobuf:"bytes,2,opt,name=description"`
	// DatasetName is the name of the dataset that we trained on.
	// +kubebuilder:default:=""
	// +kubebuilder:validation:Optional
	Dataset *string `json:"datasetName,omitempty" protobuf:"bytes,3,opt,name=datasetName"`
	// PipelineName is the name of the ModelPipeline for this pipeline
	// +kubebuilder:default:=""
	// +kubebuilder:validation:Optional
	PipelineName *string `json:"pipelineName,omitempty" protobuf:"bytes,4,opt,name=pipelineName"`
	// The owner of the run.
	// +kubebuilder:default:="no-one"
	// +kubebuilder:validation:Optional
	Owner *string `json:"owner,omitempty" protobuf:"bytes,5,opt,name=owner"`
	// The priority of this pipeline run. The default is medium.
	// +kubebuilder:default:=medium
	// +kubebuilder:validation:Optional
	Priority *catalog.PriorityLevel `json:"priority,omitempty" protobuf:"bytes,6,opt,name=priority"`
	// Set to true to pause the model pipeline run
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Paused *bool `json:"paused,omitempty" protobuf:"bytes,7,opt,name=paused"`
	// Set to true to abort the model pipeline run
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Aborted *bool `json:"aborted,omitempty" protobuf:"bytes,8,opt,name=aborted"`
	// TTL.
	// +kubebuilder:default:=0
	// +kubebuilder:validation:Optional
	TTL *int32 `json:"ttl,omitempty" protobuf:"varint,9,opt,name=ttl"`
}

ModelPipelineRunSpec is the desired state of the ModelPipelineRun resource

func (*ModelPipelineRunSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelPipelineRunSpec.

func (*ModelPipelineRunSpec) DeepCopyInto

func (in *ModelPipelineRunSpec) DeepCopyInto(out *ModelPipelineRunSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModelPipelineRunSpec) Descriptor

func (*ModelPipelineRunSpec) Descriptor() ([]byte, []int)

func (*ModelPipelineRunSpec) Marshal

func (m *ModelPipelineRunSpec) Marshal() (dAtA []byte, err error)

func (*ModelPipelineRunSpec) MarshalTo

func (m *ModelPipelineRunSpec) MarshalTo(dAtA []byte) (int, error)

func (*ModelPipelineRunSpec) MarshalToSizedBuffer

func (m *ModelPipelineRunSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ModelPipelineRunSpec) ProtoMessage

func (*ModelPipelineRunSpec) ProtoMessage()

func (*ModelPipelineRunSpec) Reset

func (m *ModelPipelineRunSpec) Reset()

func (*ModelPipelineRunSpec) Size

func (m *ModelPipelineRunSpec) Size() (n int)

func (*ModelPipelineRunSpec) String

func (this *ModelPipelineRunSpec) String() string

func (*ModelPipelineRunSpec) Unmarshal

func (m *ModelPipelineRunSpec) Unmarshal(dAtA []byte) error

func (*ModelPipelineRunSpec) XXX_DiscardUnknown

func (m *ModelPipelineRunSpec) XXX_DiscardUnknown()

func (*ModelPipelineRunSpec) XXX_Marshal

func (m *ModelPipelineRunSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ModelPipelineRunSpec) XXX_Merge

func (m *ModelPipelineRunSpec) XXX_Merge(src proto.Message)

func (*ModelPipelineRunSpec) XXX_Size

func (m *ModelPipelineRunSpec) XXX_Size() int

func (*ModelPipelineRunSpec) XXX_Unmarshal

func (m *ModelPipelineRunSpec) XXX_Unmarshal(b []byte) error

type ModelPipelineRunStageStatus

type ModelPipelineRunStageStatus struct {
	// Phase is the phase of the stage
	// +kubebuilder:default:="Pending"
	// +kubebuilder:validation:Optional
	Phase StageStatusPhase `json:"phase,omitempty" protobuf:"bytes,1,opt,name=phase"`
	// Approved indicates that the stage is approved.
	// +kubebuilder:validation:Optional
	Approved bool `json:"approved,omitempty" protobuf:"bytes,2,opt,name=approved"`
	// ApprovedBy indicates the account that approve this model.
	// +kubebuilder:validation:Optional
	ApprovedBy string `json:"approvedBy,omitempty" protobuf:"bytes,3,opt,name=approvedBy"`
	// ApprovedAt indicates the time of approval
	// +kubebuilder:validation:Optional
	ApprovedAt *metav1.Time `json:"approvedAt,omitempty" protobuf:"bytes,4,opt,name=approvedAt"`
	// Start time is the start time of the stage
	// +kubebuilder:validation:Optional
	StartTime *metav1.Time `json:"startTime,omitempty" protobuf:"bytes,7,opt,name=startTime"`
	// End time is the end time of the stage.
	// +kubebuilder:validation:Optional
	EndTime *metav1.Time `json:"endTime,omitempty" protobuf:"bytes,8,opt,name=endTime"`
	// Results is the results of running the test datasets against the new model
	// +kubebuilder:validation:Optional
	Results []ModelValidationResult `json:"results,omitempty" protobuf:"bytes,9,rep,name=results"`
	// Error record error.
	//+kubebuilder:validation:Optional
	Error string `json:"error,omitempty" protobuf:"bytes,10,opt,name=error"`
}

ModelPipelineRunStageStatus is the observed state of the PipelineRunStage.

func (*ModelPipelineRunStageStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelPipelineRunStageStatus.

func (*ModelPipelineRunStageStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModelPipelineRunStageStatus) Descriptor

func (*ModelPipelineRunStageStatus) Descriptor() ([]byte, []int)

func (*ModelPipelineRunStageStatus) IsCompleted

func (this *ModelPipelineRunStageStatus) IsCompleted() bool

func (*ModelPipelineRunStageStatus) IsFailed

func (this *ModelPipelineRunStageStatus) IsFailed() bool

func (*ModelPipelineRunStageStatus) IsRunning

func (this *ModelPipelineRunStageStatus) IsRunning() bool

func (*ModelPipelineRunStageStatus) Marshal

func (m *ModelPipelineRunStageStatus) Marshal() (dAtA []byte, err error)

func (*ModelPipelineRunStageStatus) MarshalTo

func (m *ModelPipelineRunStageStatus) MarshalTo(dAtA []byte) (int, error)

func (*ModelPipelineRunStageStatus) MarshalToSizedBuffer

func (m *ModelPipelineRunStageStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ModelPipelineRunStageStatus) ProtoMessage

func (*ModelPipelineRunStageStatus) ProtoMessage()

func (*ModelPipelineRunStageStatus) RecordApprove

func (this *ModelPipelineRunStageStatus) RecordApprove(name string)

func (*ModelPipelineRunStageStatus) RecordCompleted

func (this *ModelPipelineRunStageStatus) RecordCompleted()

func (*ModelPipelineRunStageStatus) RecordDeny

func (this *ModelPipelineRunStageStatus) RecordDeny(name string)

func (*ModelPipelineRunStageStatus) RecordError

func (this *ModelPipelineRunStageStatus) RecordError(err error)

func (*ModelPipelineRunStageStatus) RecordFailed

func (this *ModelPipelineRunStageStatus) RecordFailed()

func (*ModelPipelineRunStageStatus) RecordRunning

func (this *ModelPipelineRunStageStatus) RecordRunning()

func (*ModelPipelineRunStageStatus) Reset

func (m *ModelPipelineRunStageStatus) Reset()

func (*ModelPipelineRunStageStatus) Size

func (m *ModelPipelineRunStageStatus) Size() (n int)

func (*ModelPipelineRunStageStatus) String

func (this *ModelPipelineRunStageStatus) String() string

func (*ModelPipelineRunStageStatus) Unmarshal

func (m *ModelPipelineRunStageStatus) Unmarshal(dAtA []byte) error

func (*ModelPipelineRunStageStatus) XXX_DiscardUnknown

func (m *ModelPipelineRunStageStatus) XXX_DiscardUnknown()

func (*ModelPipelineRunStageStatus) XXX_Marshal

func (m *ModelPipelineRunStageStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ModelPipelineRunStageStatus) XXX_Merge

func (m *ModelPipelineRunStageStatus) XXX_Merge(src proto.Message)

func (*ModelPipelineRunStageStatus) XXX_Size

func (m *ModelPipelineRunStageStatus) XXX_Size() int

func (*ModelPipelineRunStageStatus) XXX_Unmarshal

func (m *ModelPipelineRunStageStatus) XXX_Unmarshal(b []byte) error

type ModelPipelineRunStatus

type ModelPipelineRunStatus struct {
	// The current stage of the pipeline
	//+kubebuilder:validation:Optional
	Stage ModelPipelineStage `json:"stage,omitempty" protobuf:"bytes,1,opt,name=stage"`
	// The name of the dataset that was captured by the label filter.
	//+kubebuilder:validation:Optional
	DatasetName string `json:"datasetName,omitempty" protobuf:"bytes,2,opt,name=datasetName"`
	// The name of the study generated.
	//+kubebuilder:validation:Optional
	StudyName string `json:"studyName,omitempty" protobuf:"bytes,3,opt,name=studyName"`
	// The name of the best model
	//+kubebuilder:validation:Optional
	ModelName string `json:"modelName,omitempty" protobuf:"bytes,4,opt,name=modelName"`
	// DataStatus is the status of the data stage
	// data is the status for the data stage.
	//+kubebuilder:validation:Optional
	DataStatus ModelPipelineRunStageStatus `json:"dataStatus,omitempty" protobuf:"bytes,5,opt,name=dataStatus"`
	// TrainingStatus is the status for the training stage
	// +kubebuilder:validation:Optional
	TrainingStatus ModelPipelineRunStageStatus `json:"trainingStatus,omitempty" protobuf:"bytes,6,opt,name=trainingStatus"`
	// UATStatus is the status of the uat stage
	//+kubebuilder:validation:Optional
	UATStatus ModelPipelineRunStageStatus `json:"uatStatus,omitempty" protobuf:"bytes,7,opt,name=uatStatus"`
	// CapacityStatus is the status for the capacity stage.
	//+kubebuilder:validation:Optional
	CapacityStatus ModelPipelineRunStageStatus `json:"capacityStatus,omitempty" protobuf:"bytes,8,opt,name=capacityStatus"`
	// DeploymentStatus is the status for the prod stage
	//+kubebuilder:validation:Optional
	DeploymentStatus ModelPipelineRunStageStatus `json:"deploymentStatus,omitempty" protobuf:"bytes,9,opt,name=deploymentStatus"`
	// DeploymentStatus is the status for the prod stage
	//+kubebuilder:validation:Optional
	ReleaseStatus ModelPipelineRunStageStatus `json:"releaseStatus,omitempty" protobuf:"bytes,10,opt,name=releaseStatus"`
	// Monitoring status is the status of the monitor phase.
	//+kubebuilder:validation:Optional
	MonitoringStatus ModelPipelineRunStageStatus `json:"monitoringStatus,omitempty" protobuf:"bytes,11,opt,name=monitoringStatus"`
	// Labeling status if the status of the labeling process
	//+kubebuilder:validation:Optional
	LabelingStatus ModelPipelineRunStageStatus `json:"labelingStatus,omitempty" protobuf:"bytes,12,opt,name=labelingStatus"`
	// +kubebuilder:validation:Optional
	StartTime *metav1.Time `json:"startTime,omitempty" protobuf:"bytes,13,opt,name=startTime"`
	// +kubebuilder:validation:Optional
	CompletionTime *metav1.Time `json:"completionTime,omitempty" protobuf:"bytes,14,opt,name=completionTime"`
	// The phase of the pipeline run
	// +kubebuilder:default:="Pending"
	// +kubebuilder:validation:Optional
	Phase PipelinePhase `json:"phase" protobuf:"bytes,15,opt,name=phase"`
	// ObservedGeneration is the Last generation that was acted on
	//+kubebuilder:validation:Optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,16,opt,name=observedGeneration"`
	// Folder for pipeline run artifacts. This is assigned by the system
	// The folder contains all the pipeline artifacts - metadata, logs
	// +kubebuilder:validation:Optional
	Folder string `json:"folder,omitempty" protobuf:"bytes,17,opt,name=evalMetrics"`
	// Update in case of terminal failure
	// Borrowed from cluster api controller
	//+kubebuilder:validation:Optional
	FailureReason *catalog.StatusError `json:"failureReason,omitempty" protobuf:"bytes,18,opt,name=failureReason"`
	// Update in case of terminal failure message
	//+kubebuilder:validation:Optional
	FailureMessage *string `json:"failureMessage,omitempty" protobuf:"bytes,19,opt,name=failureMessage"`
	// Pipeline progress Progress in percent, the progress takes into account the different stages of the pipeline
	// +kubebuilder:validation:Optional
	Progress *int32 `json:"progress" protobuf:"varint,20,opt,name=progress"`
	// What triggered the run
	//+kubebuilder:validation:Optional
	TriggeredBy catalog.TriggerType `json:"triggeredBy,omitempty" protobuf:"bytes,21,opt,name=triggeredBy"`

	// Last time the object was updated
	//+kubebuilder:validation:Optional
	LastUpdated *metav1.Time `json:"lastUpdated,omitempty" protobuf:"bytes,22,opt,name=lastUpdated"`

	// +patchMergeKey=type
	// +patchStrategy=merge
	// +kubebuilder:validation:Optional
	Conditions []ModelPipelineRunCondition `json:"conditions,omitempty" protobuf:"bytes,23,rep,name=conditions"`
}

ModelPipelineRunStatus is the observed state of the ModelPipelineRun resource .

func (*ModelPipelineRunStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelPipelineRunStatus.

func (*ModelPipelineRunStatus) DeepCopyInto

func (in *ModelPipelineRunStatus) DeepCopyInto(out *ModelPipelineRunStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModelPipelineRunStatus) Descriptor

func (*ModelPipelineRunStatus) Descriptor() ([]byte, []int)

func (*ModelPipelineRunStatus) Marshal

func (m *ModelPipelineRunStatus) Marshal() (dAtA []byte, err error)

func (*ModelPipelineRunStatus) MarshalTo

func (m *ModelPipelineRunStatus) MarshalTo(dAtA []byte) (int, error)

func (*ModelPipelineRunStatus) MarshalToSizedBuffer

func (m *ModelPipelineRunStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ModelPipelineRunStatus) ProtoMessage

func (*ModelPipelineRunStatus) ProtoMessage()

func (*ModelPipelineRunStatus) Reset

func (m *ModelPipelineRunStatus) Reset()

func (*ModelPipelineRunStatus) Size

func (m *ModelPipelineRunStatus) Size() (n int)

func (*ModelPipelineRunStatus) String

func (this *ModelPipelineRunStatus) String() string

func (*ModelPipelineRunStatus) Unmarshal

func (m *ModelPipelineRunStatus) Unmarshal(dAtA []byte) error

func (*ModelPipelineRunStatus) XXX_DiscardUnknown

func (m *ModelPipelineRunStatus) XXX_DiscardUnknown()

func (*ModelPipelineRunStatus) XXX_Marshal

func (m *ModelPipelineRunStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ModelPipelineRunStatus) XXX_Merge

func (m *ModelPipelineRunStatus) XXX_Merge(src proto.Message)

func (*ModelPipelineRunStatus) XXX_Size

func (m *ModelPipelineRunStatus) XXX_Size() int

func (*ModelPipelineRunStatus) XXX_Unmarshal

func (m *ModelPipelineRunStatus) XXX_Unmarshal(b []byte) error

type ModelPipelineSpec

type ModelPipelineSpec struct {
	// The product version of the resource
	// +kubebuilder:default ="latest"
	// +kubebuilder:validation:Optional
	VersionName *string `json:"versionName,omitempty" protobuf:"bytes,1,opt,name=versionName"`
	// User provided description
	// +kubebuilder:default =""
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" protobuf:"bytes,3,opt,name=description"`
	// DatasetSelector is used to select dataset for training
	// +kubebuilder:validation:Optional
	DatasetSelector map[string]string `json:"datasetSelector,omitempty" protobuf:"bytes,4,opt,name=datasetSelector"`
	// Datastage build new dataset from the data sources.
	// +kubebuilder:validation:Optional
	Data *DataStageSpec `json:"data,omitempty" protobuf:"bytes,5,opt,name=data"`
	// TrainingSpec stage
	// +kubebuilder:validation:Optional
	Training TrainingStageSpec `json:"training,omitempty" protobuf:"bytes,6,opt,name=training"`
	// Acceptance stage is used for further testing
	// +kubebuilder:validation:Optional
	UAT *UATStageSpec `json:"uat,omitempty" protobuf:"bytes,7,opt,name=uat"`
	// Capacity stage for capacity
	// +kubebuilder:validation:Optional
	Capacity CapacityStageSpec `json:"capacity,omitempty" protobuf:"bytes,8,opt,name=capacity"`
	// Deployment stage define how to place the model into production.
	// +kubebuilder:validation:Optional
	Deployment DeploymentStageSpec `json:"deployment,omitempty" protobuf:"bytes,9,opt,name=deployment"`
	// Deployment stage define how to place the model into production.
	// +kubebuilder:validation:Optional
	Release ReleaseStageSpec `json:"release,omitempty" protobuf:"bytes,10,opt,name=release"`
	// Folder for the pipeline and pipeline run artifacts.
	// The folder contains all the study artifacts - metadata, reports, profile,models
	// +kubebuilder:validation:Optional
	Location data.DataLocation `json:"location,omitempty" protobuf:"bytes,13,opt,name=location"`
	// Schedule for running the pipeline
	// +kubebuilder:validation:Optional
	Schedule catalog.RunSchedule `json:"schedule,omitempty" protobuf:"bytes,14,opt,name=schedule"`
	// The owner of the run, set to the owner of the pipeline
	// +kubebuilder:default:="no-one"
	// +kubebuilder:validation:Pattern="[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*"
	// +kubebuilder:validation:Optional
	Owner *string `json:"owner,omitempty" protobuf:"bytes,15,opt,name=owner"`
	// ApproverAccountName is the name of the approver for stages that need approvals.
	// +kubebuilder:default =""
	// +kubebuilder:validation:Optional
	ApproverAccountName *string `json:"approverAccountName,omitempty" protobuf:"bytes,16,opt,name=approverAccountName"`
	// Notification specification.
	//+kubebuilder:validation:Optional
	Notification catalog.NotificationSpec `json:"notification,omitempty" protobuf:"bytes,17,opt,name=notification"`
	// BaselineModelName is the name of the model which is used to compare with this pipeline results.
	// +kubebuilder:default =""
	// +kubebuilder:validation:Optional
	BaselineModelName *string `json:"baselineModelName,omitempty" protobuf:"bytes,18,opt,name=baselineModelName"`
	// The priority of this pipeline. The default is medium.
	// +kubebuilder:default:="medium"
	// +kubebuilder:validation:Optional
	Priority *catalog.PriorityLevel `json:"priority,omitempty" protobuf:"bytes,30,opt,name=priority"`
	// Pause the pipeline cron job.
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Paused *bool `json:"paused,omitempty" protobuf:"bytes,31,opt,name=paused"`
}

ModelPipelineSpec define the desired state of the ModelPipeline resource.

func (*ModelPipelineSpec) DeepCopy

func (in *ModelPipelineSpec) DeepCopy() *ModelPipelineSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelPipelineSpec.

func (*ModelPipelineSpec) DeepCopyInto

func (in *ModelPipelineSpec) DeepCopyInto(out *ModelPipelineSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModelPipelineSpec) Descriptor

func (*ModelPipelineSpec) Descriptor() ([]byte, []int)

func (*ModelPipelineSpec) Marshal

func (m *ModelPipelineSpec) Marshal() (dAtA []byte, err error)

func (*ModelPipelineSpec) MarshalTo

func (m *ModelPipelineSpec) MarshalTo(dAtA []byte) (int, error)

func (*ModelPipelineSpec) MarshalToSizedBuffer

func (m *ModelPipelineSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ModelPipelineSpec) ProtoMessage

func (*ModelPipelineSpec) ProtoMessage()

func (*ModelPipelineSpec) Reset

func (m *ModelPipelineSpec) Reset()

func (*ModelPipelineSpec) Size

func (m *ModelPipelineSpec) Size() (n int)

func (*ModelPipelineSpec) String

func (this *ModelPipelineSpec) String() string

func (*ModelPipelineSpec) Unmarshal

func (m *ModelPipelineSpec) Unmarshal(dAtA []byte) error

func (*ModelPipelineSpec) XXX_DiscardUnknown

func (m *ModelPipelineSpec) XXX_DiscardUnknown()

func (*ModelPipelineSpec) XXX_Marshal

func (m *ModelPipelineSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ModelPipelineSpec) XXX_Merge

func (m *ModelPipelineSpec) XXX_Merge(src proto.Message)

func (*ModelPipelineSpec) XXX_Size

func (m *ModelPipelineSpec) XXX_Size() int

func (*ModelPipelineSpec) XXX_Unmarshal

func (m *ModelPipelineSpec) XXX_Unmarshal(b []byte) error

type ModelPipelineStage

type ModelPipelineStage string
const (
	ModelPipelineStageInitial    ModelPipelineStage = "initial"
	ModelPipelineStageData       ModelPipelineStage = "data"
	ModelPipelineStageTraining   ModelPipelineStage = "training"
	ModelPipelineStageUAT        ModelPipelineStage = "uat"
	ModelPipelineStageCapacity   ModelPipelineStage = "capacity"
	ModelPipelineStageProd       ModelPipelineStage = "prod"
	ModelPipelineStageMonitoring ModelPipelineStage = "monitoring"
	ModelPipelineStageLabeling   ModelPipelineStage = "labeling"
)

type ModelPipelineStatus

type ModelPipelineStatus struct {
	// Last run is the last time a run was created
	//+kubebuilder:validation:Optional
	LastRun *metav1.Time `json:"lastRun,omitempty" protobuf:"bytes,1,opt,name=lastRun"`
	// ObservedGeneration is the Last generation that was acted on
	//+kubebuilder:validation:Optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,2,opt,name=observedGeneration"`
	// Last time the object was updated
	//+kubebuilder:validation:Optional
	LastUpdated *metav1.Time `json:"lastUpdated,omitempty" protobuf:"bytes,3,opt,name=lastUpdated"`
	// Update in case of terminal failure
	// Borrowed from cluster api controller
	//+kubebuilder:validation:Optional
	FailureReason *catalog.StatusError `json:"failureReason,omitempty" protobuf:"bytes,4,opt,name=failureReason"`
	// Update in case of terminal failure message
	//+kubebuilder:validation:Optional
	FailureMessage *string `json:"failureMessage,omitempty" protobuf:"bytes,5,opt,name=failureMessage"`
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +kubebuilder:validation:Optional
	Conditions []ModelPipelineCondition `json:"conditions,omitempty" protobuf:"bytes,6,rep,name=conditions"`
}

ModelPipelineStatus define the observed state of the pipeline

func (*ModelPipelineStatus) DeepCopy

func (in *ModelPipelineStatus) DeepCopy() *ModelPipelineStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelPipelineStatus.

func (*ModelPipelineStatus) DeepCopyInto

func (in *ModelPipelineStatus) DeepCopyInto(out *ModelPipelineStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModelPipelineStatus) Descriptor

func (*ModelPipelineStatus) Descriptor() ([]byte, []int)

func (*ModelPipelineStatus) Marshal

func (m *ModelPipelineStatus) Marshal() (dAtA []byte, err error)

func (*ModelPipelineStatus) MarshalTo

func (m *ModelPipelineStatus) MarshalTo(dAtA []byte) (int, error)

func (*ModelPipelineStatus) MarshalToSizedBuffer

func (m *ModelPipelineStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ModelPipelineStatus) ProtoMessage

func (*ModelPipelineStatus) ProtoMessage()

func (*ModelPipelineStatus) Reset

func (m *ModelPipelineStatus) Reset()

func (*ModelPipelineStatus) Size

func (m *ModelPipelineStatus) Size() (n int)

func (*ModelPipelineStatus) String

func (this *ModelPipelineStatus) String() string

func (*ModelPipelineStatus) Unmarshal

func (m *ModelPipelineStatus) Unmarshal(dAtA []byte) error

func (*ModelPipelineStatus) XXX_DiscardUnknown

func (m *ModelPipelineStatus) XXX_DiscardUnknown()

func (*ModelPipelineStatus) XXX_Marshal

func (m *ModelPipelineStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ModelPipelineStatus) XXX_Merge

func (m *ModelPipelineStatus) XXX_Merge(src proto.Message)

func (*ModelPipelineStatus) XXX_Size

func (m *ModelPipelineStatus) XXX_Size() int

func (*ModelPipelineStatus) XXX_Unmarshal

func (m *ModelPipelineStatus) XXX_Unmarshal(b []byte) error

type ModelResult

type ModelResult struct {
	// +kubebuilder:validation:Optional
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
	// +kubebuilder:validation:Optional
	Alg string `json:"alg,omitempty" protobuf:"bytes,2,opt,name=alg"`
	// +kubebuilder:validation:Optional
	Score float64 `json:"score,omitempty" protobuf:"bytes,3,opt,name=score"`
	// +kubebuilder:validation:Optional
	Error bool `json:"error,omitempty" protobuf:"varint,4,opt,name=error"`
}

model cv results

func (*ModelResult) DeepCopy

func (in *ModelResult) DeepCopy() *ModelResult

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelResult.

func (*ModelResult) DeepCopyInto

func (in *ModelResult) DeepCopyInto(out *ModelResult)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModelResult) Descriptor

func (*ModelResult) Descriptor() ([]byte, []int)

func (*ModelResult) Marshal

func (m *ModelResult) Marshal() (dAtA []byte, err error)

func (*ModelResult) MarshalTo

func (m *ModelResult) MarshalTo(dAtA []byte) (int, error)

func (*ModelResult) MarshalToSizedBuffer

func (m *ModelResult) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ModelResult) ProtoMessage

func (*ModelResult) ProtoMessage()

func (*ModelResult) Reset

func (m *ModelResult) Reset()

func (*ModelResult) Size

func (m *ModelResult) Size() (n int)

func (*ModelResult) String

func (this *ModelResult) String() string

func (*ModelResult) Unmarshal

func (m *ModelResult) Unmarshal(dAtA []byte) error

func (*ModelResult) XXX_DiscardUnknown

func (m *ModelResult) XXX_DiscardUnknown()

func (*ModelResult) XXX_Marshal

func (m *ModelResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ModelResult) XXX_Merge

func (m *ModelResult) XXX_Merge(src proto.Message)

func (*ModelResult) XXX_Size

func (m *ModelResult) XXX_Size() int

func (*ModelResult) XXX_Unmarshal

func (m *ModelResult) XXX_Unmarshal(b []byte) error

type ModelSpec

type ModelSpec struct {
	// Owner is the account name of the owner of this model
	// +kubebuilder:default:="no-one"
	// +kubebuilder:validation:Optional
	Owner *string `json:"owner,omitempty" protobuf:"bytes,1,opt,name=owner"`
	// VersionName is the product version name for this model
	// +kubebuilder:validation:Required
	// +kubebuilder:default:="latest"
	// +kubebuilder:validation:MaxLength=63
	// +required
	VersionName *string `json:"versionName,omitempty" protobuf:"bytes,2,opt,name=versionName"`
	// ModelVersion is an assigned version to the model.
	// +kubebuilder:validation:Required
	// +required
	ModelVersion *string `json:"modelVersion,omitempty" protobuf:"bytes,4,opt,name=modelVersion"`
	// StudyName reference the study for this model. IF empty, the model is stand alone
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:MaxLength=63
	// +required
	StudyName *string `json:"studyName,omitempty" protobuf:"bytes,5,opt,name=studyName"`
	// DatasetName refer to the dataset object for which the model is for.
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:MaxLength=63
	// +required
	DatasetName *string `json:"datasetName,omitempty" protobuf:"bytes,6,opt,name=datasetName"`
	// Task is the machine learning task (regression, classification).
	// The task is generated from the study task
	// +kubebuilder:validation:Required
	// +required
	Task *catalog.MLTask `json:"task,omitempty" protobuf:"bytes,7,opt,name=task"`
	// Objective is the metric by which the system compare models
	// Default: based on the task. classification is logloss. Regression is rmse
	// +kubebuilder:validation:Required
	// +required
	Objective *catalog.Metric `json:"objective,omitempty" protobuf:"bytes,8,opt,name=objective"`
	// Represent the preprocessing pipeline of the model. Provide a value if you want to customize the model.
	// Default: All preprocessing will be created automatically
	// +kubebuilder:validation:Optional
	FeatureEngineering FeatureEngineeringSpec `json:"featureEngineering,omitempty" protobuf:"bytes,9,opt,name=featureEngineering"`
	// Estimator is a specification of the ML algorithm and its hyper parameters.
	// +kubebuilder:validation:Optional
	Estimator *ClassicalEstimatorSpec `json:"estimator,omitempty" protobuf:"bytes,10,opt,name=estimator"`
	// Estimator for DNN network, not implemented in this release.
	// +kubebuilder:validation:Optional
	Dnn *DeepEstimatorSpec `json:"dnn,omitempty" protobuf:"bytes,11,opt,name=dnn"`
	// Estimator for chat bot specification. Not implemented for this release.
	// +kubebuilder:validation:Optional
	Chatbot *ChatbotEstimatorSpec `json:"chatbot,omitempty" protobuf:"bytes,12,opt,name=chatbot"`
	// Estimator for NLP model
	// +kubebuilder:validation:Optional
	NLPEstimator *NLPEstimatorSpec `json:"nplEstimator,omitempty" protobuf:"bytes,13,opt,name=nlpEstimator"`
	// If this is an ensemble model, specify the ensemble
	// Default: None
	// +kubebuilder:validation:Optional
	Ensemble EnsembleSpec `json:"ensemble,omitempty" protobuf:"bytes,14,opt,name=ensemble"`
	// TrainingSpec is the desired training settings for the model.
	// +kubebuilder:validation:Optional
	Training TrainingSpec `json:"training,omitempty" protobuf:"bytes,15,opt,name=training"`
	// Specification for serving the model
	// +kubebuilder:validation:Optional
	Serving ServingSpec `json:"serving,omitempty" protobuf:"bytes,16,opt,name=serving"`
	// Tested indicate if this model should be tested. Default is false.
	// The study controller will set this to true if a model is the best model or part of the top models
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Tested *bool `json:"tested,omitempty" protobuf:"varint,17,opt,name=tested"`
	// Aborted indicate the desire to abort the model training
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Aborted *bool `json:"aborted,omitempty" protobuf:"varint,18,opt,name=aborted"`
	// Packaged the model into tar file
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Packaged *bool `json:"packaged,omitempty" protobuf:"varint,19,opt,name=packaged"`
	// Published indicate that the system should create an docker image with the model binary.
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Published *bool `json:"published,omitempty" protobuf:"varint,20,opt,name=published"`
	// Pushed indicate that the system should push the docker image into the docker registry
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Pushed *bool `json:"pushed,omitempty" protobuf:"varint,21,opt,name=pushed"`
	// Reported is set when a report should be created for this model
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Reported *bool `json:"reported,omitempty" protobuf:"varint,22,opt,name=reported"`
	// Paused is set when we want to pause the training
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Paused *bool `json:"paused,omitempty" protobuf:"varint,23,opt,name=paused"`
	// Set to true if you want to create model profile.
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Profiled *bool `json:"profiled,omitempty" protobuf:"varint,24,opt,name=profiled"`
	// Archived is true when the model should be archived
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Archived *bool `json:"archived,omitempty" protobuf:"varint,25,opt,name=archived"`
	// Forecasted is true when the model should perform a forecast
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Forecasted *bool `json:"forecasted,omitempty" protobuf:"varint,26,opt,name=forecasted"`
	// Indicates that the model should be released to production
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Released *bool `json:"released,omitempty" protobuf:"varint,27,opt,name=released"`
	// Set to true if this model is a benchmark model.
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Benchmarked *bool `json:"benchmarked,omitempty" protobuf:"varint,28,opt,name=benchmarked"`
	// Explained indicate weather this model should be explained
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Explained *bool `json:"explained,omitempty" protobuf:"varint,29,opt,name=explained"`
	// Indicate that this model is a baseline
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Baseline *bool `json:"baseline,omitempty" protobuf:"varint,30,opt,name=baseline"`
	// Is this model flagged by the user.
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Flagged *bool `json:"flagged,omitempty" protobuf:"varint,31,opt,name=flagged"`
	// Location is the location of the model artifacts (metadata, reports and estimators).
	// +kubebuilder:validation:Optional
	Location *data.DataLocation `json:"location,omitempty" protobuf:"bytes,32,opt,name=location"`
	// The specification for the forecasting algorithm if this model is part of a forecasting
	// +kubebuilder:validation:Optional
	Forecasting *ForecastSpec `json:"forecast,omitempty" protobuf:"bytes,33,opt,name=forecast"`
	// Compilation denotes how to compile the model. Not supported in the current release.
	// +kubebuilder:validation:Optional
	Compilation *catalog.CompilerSpec `json:"compilation,omitempty" protobuf:"bytes,34,opt,name=compilation"`
	// ActiveDeadlineSeconds is the deadline of a job for this model.
	// +kubebuilder:default:=600
	// +kubebuilder:validation:Optional
	ActiveDeadlineSeconds *int64 `json:"activeDeadlineSeconds,omitempty" protobuf:"varint,35,opt,name=activeDeadlineSeconds"`
	// ModelType is the type of model for this estimator
	// +kubebuilder:default:=classical
	// +kubebuilder:validation:Optional
	EstimatorType *catalog.ModelType `json:"estimatorType,omitempty" protobuf:"bytes,36,opt,name=estimatorType"`
	// TTL
	// +kubebuilder:default:=0
	// +kubebuilder:validation:Optional
	TTL *int32 `json:"ttl,omitempty" protobuf:"varint,37,opt,name=ttl"`
	// Mark the model class. The model class is the origin of the model
	// +kubebuilder:validation:Optional
	ModelClass catalog.ModelClassType `json:"modelClass,omitempty" protobuf:"bytes,38,opt,name=modelClass"`
	// Set the trial ID, by the optimizer.
	// +kubebuilder:default:=0
	// +kubebuilder:validation:Optional
	TrialID *int32 `json:"trialID,omitempty" protobuf:"varint,39,opt,name=trialID"`
	// The Governance requirements.
	// +kubebuilder:validation:Optional
	Governance *data.GovernanceSpec `json:"governance,omitempty" protobuf:"bytes,40,opt,name=governance"`
	// The Interpretability requirements.
	// +kubebuilder:validation:Optional
	Interpretability InterpretabilitySpec `json:"interpretability,omitempty" protobuf:"bytes,41,opt,name=interpretability"`
}

ModelSpec defines the desired state of the Model resource

func (*ModelSpec) DeepCopy

func (in *ModelSpec) DeepCopy() *ModelSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelSpec.

func (*ModelSpec) DeepCopyInto

func (in *ModelSpec) DeepCopyInto(out *ModelSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModelSpec) Descriptor

func (*ModelSpec) Descriptor() ([]byte, []int)

func (*ModelSpec) Marshal

func (m *ModelSpec) Marshal() (dAtA []byte, err error)

func (*ModelSpec) MarshalTo

func (m *ModelSpec) MarshalTo(dAtA []byte) (int, error)

func (*ModelSpec) MarshalToSizedBuffer

func (m *ModelSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ModelSpec) ProtoMessage

func (*ModelSpec) ProtoMessage()

func (*ModelSpec) Reset

func (m *ModelSpec) Reset()

func (*ModelSpec) Size

func (m *ModelSpec) Size() (n int)

func (*ModelSpec) String

func (this *ModelSpec) String() string

func (*ModelSpec) Unmarshal

func (m *ModelSpec) Unmarshal(dAtA []byte) error

func (*ModelSpec) XXX_DiscardUnknown

func (m *ModelSpec) XXX_DiscardUnknown()

func (*ModelSpec) XXX_Marshal

func (m *ModelSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ModelSpec) XXX_Merge

func (m *ModelSpec) XXX_Merge(src proto.Message)

func (*ModelSpec) XXX_Size

func (m *ModelSpec) XXX_Size() int

func (*ModelSpec) XXX_Unmarshal

func (m *ModelSpec) XXX_Unmarshal(b []byte) error

type ModelStatus

type ModelStatus struct {
	// StartTime represents time when the model is first handled by the model controller
	// +kubebuilder:validation:Optional
	StartTime *metav1.Time `json:"startTime,omitempty" protobuf:"bytes,1,opt,name=startTime"`
	// TrainStartTime represents time when the model started training.
	// +kubebuilder:validation:Optional
	TrainingStartTime *metav1.Time `json:"trainingStartTime,omitempty" protobuf:"bytes,2,opt,name=trainingStartTime"`
	// TrainCompletionTime represents time when the model ended training
	// +kubebuilder:validation:Optional
	TrainingEndTime *metav1.Time `json:"trainingEndTime,omitempty" protobuf:"bytes,3,opt,name=trainingEndTime"`
	// TestingStartTime represents time when the model started test on a trainer
	// It is not guaranteed to be set in happens-before order across separate operations.
	// It is represented in RFC3339 form and is in UTC.
	// +kubebuilder:validation:Optional
	TestingStartTime *metav1.Time `json:"testingStartTime,omitempty" protobuf:"bytes,4,opt,name=testingStartTime"`
	// TestingEndTime represents time when the model ended testing
	// be set in happens-before order across separate operations.
	// It is represented in RFC3339 form and is in UTC.
	// +kubebuilder:validation:Optional
	TestingEndTime *metav1.Time `json:"testingEndTime,omitempty" protobuf:"bytes,5,opt,name=testingEndTime"`
	// CompletionTime represent the time that the model is marked as ready
	// +kubebuilder:validation:Optional
	EndTime *metav1.Time `json:"endTime,omitempty" protobuf:"bytes,6,opt,name=endTime"`
	// CVScrore is the score using on the training set.
	// +kubebuilder:validation:Optional
	CVScore float64 `json:"cvScore,omitempty" protobuf:"bytes,7,opt,name=cvScore"`
	// TrainingScore is the score on the full training set, Evaluating on the training set
	// +kubebuilder:validation:Optional
	TrainingScore float64 `json:"trainingScore,omitempty" protobuf:"bytes,8,opt,name=trainingScore"`
	// TestScore is the score
	// +kubebuilder:validation:Optional
	TestScore float64 `json:"testScore,omitempty" protobuf:"bytes,9,opt,name=testScore"`
	// Cost is the cost of training the model
	// +kubebuilder:validation:Optional
	Cost float64 `json:"cost,omitempty" protobuf:"bytes,10,opt,name=cost"`
	// Best is true if this is the best model
	// +kubebuilder:validation:Optional
	Best bool `json:"best,omitempty" protobuf:"varint,11,opt,name=best"`
	// CV results is the results of performing cross validation on the training set during search.
	// +kubebuilder:validation:Optional
	CV []catalog.Measurement `json:"cv,omitempty" protobuf:"bytes,12,rep,name=cv"`
	// TrainResult is the results of training the model (pipeline) on the full training set
	// +kubebuilder:validation:Optional
	Train []catalog.Measurement `json:"train,omitempty" protobuf:"bytes,13,rep,name=train"`
	// TestResult is the results of training the model (pipeline) on the full training set, and test it on the test set
	// +kubebuilder:validation:Optional
	Test []catalog.Measurement `json:"test,omitempty" protobuf:"bytes,14,rep,name=test"`
	// Phase is the phase of the model
	// +kubebuilder:default:="Pending"
	// +kubebuilder:validation:Optional
	Phase ModelPhase `json:"phase" protobuf:"bytes,15,opt,name=phase"`
	// ReportName is a reference to the model report
	// +kubebuilder:validation:Optional
	ReportName string `json:"reportName,omitempty" protobuf:"bytes,16,opt,name=reportName"`
	// ReportURI is the uri of report
	// +kubebuilder:validation:Optional
	ReportUri string `json:"reportUri,omitempty" protobuf:"bytes,17,opt,name=reportUri"`
	// ManifestUri is the URI of the manifest in the product bucket.
	// +kubebuilder:validation:Optional
	ManifestUri string `json:"manifestUri,omitempty" protobuf:"bytes,18,opt,name=manifestUri"`
	// WeightsUri is the URI of the model binary file.
	// +kubebuilder:validation:Optional
	WeightsUri string `json:"weightsUri,omitempty" protobuf:"bytes,19,opt,name=weightsUri"`
	// LabelEncoderUri is the URI of the label encoder binary file, if there is one.
	// +kubebuilder:validation:Optional
	LabelEncoderUri string `json:"labelEncoderUri,omitempty" protobuf:"bytes,20,opt,name=labelEncoderUri"`
	// LogsUri is the URI of the log file
	// +kubebuilder:validation:Optional
	LogsUri string `json:"logsUri,omitempty" protobuf:"bytes,21,opt,name=logsUri"`
	// ProfileUri is a reference to the visualization uri which were produce during processing
	// +kubebuilder:validation:Optional
	ProfileUri string `json:"profileUri" protobuf:"bytes,22,opt,name=profileUri"`
	// MisclassUri is a reference to the mis-classification file which were produce during processing
	// +kubebuilder:validation:Optional
	MisclassUri string `json:"misclassUri" protobuf:"bytes,23,opt,name=misclassUri"`
	// TarUri is a reference to the model tar file.
	// +kubebuilder:validation:Optional
	TarUri string `json:"tarUri" protobuf:"bytes,24,opt,name=tarUri"`
	// AppUri is a reference to the model app file
	// +kubebuilder:validation:Optional
	AppUri string `json:"appUri" protobuf:"bytes,25,opt,name=appUri"`
	// ImageName is the image name of the model
	// +kubebuilder:validation:Optional
	ImageName string `json:"imageName" protobuf:"bytes,26,opt,name=imageName"`
	// +kubebuilder:validation:Optional
	// Importance is list of feature importance based on the alg of this model, sorted by importance
	Importance []FeatureImportance `json:"importance,,omitempty" protobuf:"bytes,27,rep,name=importance"`
	// ForecastUri is the uri of the forecast
	// +kubebuilder:validation:Optional
	ForecastUri string `json:"forecastUri,omitempty" protobuf:"bytes,29,opt,name=forecastUri"`
	// Python version is the result of python version call.
	// +kubebuilder:validation:Optional
	PythonVersion string `json:"pythonVersion,omitempty" protobuf:"bytes,30,opt,name=pythonVersion"`
	// Python packages is the result of running pip freeze
	// +kubebuilder:validation:Optional
	PythonPackages map[string]string `json:"pythonPackages,omitempty" protobuf:"bytes,31,opt,name=pythonPackages"`
	// TrainDatasetLocation is the location of the train dataset
	// +kubebuilder:validation:Optional
	TrainDatasetLocation data.DataLocation `json:"trainDataset,omitempty" protobuf:"bytes,32,opt,name=trainDataset"`
	// TestDatasetLocation is the location of the test dataset used to test this model
	// +kubebuilder:validation:Optional
	TestDatasetLocation data.DataLocation `json:"testDataset,omitempty" protobuf:"bytes,33,opt,name=testDataset"`
	// ValidationDatasetLocation is the location of the dataset used for validation
	// +kubebuilder:validation:Optional
	ValidationDataset data.DataLocation `json:"validationDataset,omitempty" protobuf:"bytes,34,opt,name=validationDataset"`
	// ObservedGeneration is the Last generation that was acted on
	//+kubebuilder:validation:Optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,35,opt,name=observedGeneration"`
	//TrainingRows is the amount of rows in training
	// +kubebuilder:validation:Optional
	TrainingRows int32 `json:"trainingRows" protobuf:"varint,36,opt,name=trainingRows"`
	//TestingRows is the amount of rows in testing
	// +kubebuilder:validation:Optional
	TestingRows int32 `json:"testingRows" protobuf:"varint,37,opt,name=testingRows"`
	//Validation row contain the number of validation rows for cases that we have validation.
	// +kubebuilder:validation:Optional
	ValidationRows int32 `json:"validationRows" protobuf:"varint,38,opt,name=validationRows"`
	// Update in case of terminal failure
	// Borrowed from cluster api controller
	//+kubebuilder:validation:Optional
	FailureReason *catalog.StatusError `json:"failureReason,omitempty" protobuf:"bytes,39,opt,name=failureReason"`
	// Update in case of terminal failure message
	//+kubebuilder:validation:Optional
	FailureMessage *string `json:"failureMessage,omitempty" protobuf:"bytes,40,opt,name=failureMessage"`
	// Model Progress in percent, the progress takes into account the different stages of the model.
	// +kubebuilder:validation:Optional
	Progress int32 `json:"progress,omitempty" protobuf:"varint,41,opt,name=progress"`
	// Size of the model size
	// +kubebuilder:validation:Optional
	SizeInBytes int32 `json:"sizeInBytes,omitempty" protobuf:"varint,42,opt,name=sizeInBytes"`
	// Prediction Latency
	// +kubebuilder:validation:Optional
	Latency float64 `json:"latency,omitempty" protobuf:"bytes,43,opt,name=latency"`
	// The URL to the released version
	URL string `json:"url,omitempty" protobuf:"bytes,44,opt,name=url"`
	// If the model is released, this is the name of the predictor
	// +kubebuilder:validation:Optional
	PredictorName string `json:"predictorName,omitempty" protobuf:"bytes,45,opt,name=predictorName"`
	// Released at the time when the model was released
	// +kubebuilder:validation:Optional
	ReleasedAt *metav1.Time `json:"releasedAt,omitempty" protobuf:"bytes,46,opt,name=releasedAt"`
	// Sha 256 of the model tar file
	// +kubebuilder:validation:Optional
	TarFileHash string `json:"tarfileHash,omitempty" protobuf:"bytes,47,opt,name=tarfileHash"`
	// Sha 256 of the model tar file
	// +kubebuilder:validation:Optional
	ImageHash string `json:"imageHash,omitempty" protobuf:"bytes,48,opt,name=imageHash"`
	// Sha 256 of the data sig
	// +kubebuilder:validation:Optional
	TrainingDataHash DataHashes `json:"trainingDataHash,omitempty" protobuf:"bytes,49,opt,name=trainingDataHash"`
	//ResourceConsumed during training
	// +kubebuilder:validation:Optional
	TrainingResources ResourceConsumption `json:"trainingResources,omitempty" protobuf:"bytes,50,opt,name=trainingResources"`
	//ResourceConsumed during testing
	// +kubebuilder:validation:Optional
	TestingResources ResourceConsumption `json:"testingResources,omitempty" protobuf:"bytes,51,opt,name=testingResources"`
	// The account that trained the model
	// +kubebuilder:validation:Optional
	TrainedBy string `json:"trainedBy,omitempty" protobuf:"bytes,52,opt,name=trainedBy"`
	// The team that trained this model
	// +kubebuilder:validation:Optional
	Team string `json:"team,omitempty" protobuf:"bytes,53,opt,name=team"`
	// The image used during training
	// +kubebuilder:validation:Optional
	TrainerImage string `json:"trainerImage,omitempty" protobuf:"bytes,54,opt,name=trainerImage"`
	// If the model is deployed, this points to the end point.
	// +kubebuilder:validation:Optional
	EndPoint string `json:"endpoint,omitempty" protobuf:"bytes,55,opt,name=endpoint"`
	// Holds the location of log paths
	//+kubebuilder:validation:Optional
	Logs catalog.Logs `json:"logs,omitempty" protobuf:"bytes,56,opt,name=logs"`
	// Roc curve
	// +kubebuilder:validation:Optional
	RocAucCurve catalog.RocAucCurve `json:"rocauccurve,omitempty" protobuf:"varint,57,opt,name=rocauccurve"`
	// PR curve
	// +kubebuilder:validation:Optional
	PRCurve catalog.PRCurve `json:"prcurve,omitempty" protobuf:"varint,58,opt,name=prcurve"`
	// Confusion matrix
	// +kubebuilder:validation:Optional
	ConfusionMatrix catalog.ConfusionMatrix `json:"confusionMatrix,omitempty" protobuf:"varint,59,opt,name=confusionMatrix"`
	// Holds the top correlation with target
	// +kubebuilder:validation:Optional
	CorrelationsWithTarget []data.Correlation `json:"correlationsWithTarget,omitempty" protobuf:"bytes,60,rep,name=correlationsWithTarget"`
	// Holds the top feature correlation
	// +kubebuilder:validation:Optional
	TopCorrelations []data.Correlation `json:"topCorrelations,omitempty" protobuf:"bytes,61,rep,name=topCorrelations"`
	// Last time the object was updated
	//+kubebuilder:validation:Optional
	LastUpdated *metav1.Time `json:"lastUpdated,omitempty" protobuf:"bytes,62,opt,name=lastUpdated"`
	// The Governance status for this model
	// +kubebuilder:validation:Optional
	Governance data.GovernanceStatus `json:"governance,omitempty" protobuf:"bytes,63,opt,name=governanceStatus"`
	// The Interpretability status for this model
	// +kubebuilder:validation:Optional
	Interpretability InterpretabilityStatus `json:"interpretability,omitempty" protobuf:"bytes,64,opt,name=Interpretability"`
	// +kubebuilder:validation:Optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions []ModelCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,65,rep,name=conditions"`
}

ModelStatus defines the observed state of the Model

func (*ModelStatus) DeepCopy

func (in *ModelStatus) DeepCopy() *ModelStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelStatus.

func (*ModelStatus) DeepCopyInto

func (in *ModelStatus) DeepCopyInto(out *ModelStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModelStatus) Descriptor

func (*ModelStatus) Descriptor() ([]byte, []int)

func (*ModelStatus) Marshal

func (m *ModelStatus) Marshal() (dAtA []byte, err error)

func (*ModelStatus) MarshalTo

func (m *ModelStatus) MarshalTo(dAtA []byte) (int, error)

func (*ModelStatus) MarshalToSizedBuffer

func (m *ModelStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ModelStatus) ProtoMessage

func (*ModelStatus) ProtoMessage()

func (*ModelStatus) Reset

func (m *ModelStatus) Reset()

func (*ModelStatus) Size

func (m *ModelStatus) Size() (n int)

func (*ModelStatus) String

func (this *ModelStatus) String() string

func (*ModelStatus) Unmarshal

func (m *ModelStatus) Unmarshal(dAtA []byte) error

func (*ModelStatus) XXX_DiscardUnknown

func (m *ModelStatus) XXX_DiscardUnknown()

func (*ModelStatus) XXX_Marshal

func (m *ModelStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ModelStatus) XXX_Merge

func (m *ModelStatus) XXX_Merge(src proto.Message)

func (*ModelStatus) XXX_Size

func (m *ModelStatus) XXX_Size() int

func (*ModelStatus) XXX_Unmarshal

func (m *ModelStatus) XXX_Unmarshal(b []byte) error

type ModelValidation

type ModelValidation struct {
	// +kubebuilder:validation:Optional
	Type ModelValidationName `json:"type" protobuf:"bytes,1,opt,name=type,casttype=ModelValidationName"`
	// PrevModel compare to model
	// +kubebuilder:validation:Optional
	PrevModel *string `json:"prevModel,omitempty" protobuf:"bytes,2,opt,name=prevModel"`
	// Labeled dataset used to test the model, when measuring a performance metric
	// +kubebuilder:validation:Optional
	DatasetName *string `json:"datasetName,omitempty" protobuf:"bytes,3,opt,name=datasetName"`
	// +kubebuilder:validation:Optional
	DriftFreq catalog.Freq `json:"driftFreq,omitempty" protobuf:"bytes,4,opt,name=driftFreq"`
	// +kubebuilder:validation:Optional
	DriftInterval *int32 `json:"driftInterval,omitempty" protobuf:"varint,5,opt,name=driftInterval"`
	// +kubebuilder:validation:Optional
	Column *string `json:"column,omitempty" protobuf:"bytes,6,opt,name=column"`
	// +kubebuilder:validation:Optional
	Metric *catalog.Metric `json:"metric,omitempty" protobuf:"bytes,7,opt,name=metric"`
	// +kubebuilder:validation:Optional
	Min *float64 `json:"min,omitempty" protobuf:"bytes,8,opt,name=min"`
	// +kubebuilder:validation:Optional
	Max *float64 `json:"max,omitempty" protobuf:"bytes,9,opt,name=max"`
	// +kubebuilder:validation:Optional
	MinPercent *float64 `json:"minPercent,omitempty" protobuf:"bytes,10,opt,name=minPercent"`
	// +kubebuilder:validation:Optional
	MaxPercent *float64 `json:"maxPercent,omitempty" protobuf:"bytes,11,opt,name=maxPercent"`
	// Agg is used when we measured aggregate performance, for example median or average
	Agg *catalog.Aggregate `json:"agg,omitempty" protobuf:"bytes,12,opt,name=agg"`
}

func (*ModelValidation) DeepCopy

func (in *ModelValidation) DeepCopy() *ModelValidation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelValidation.

func (*ModelValidation) DeepCopyInto

func (in *ModelValidation) DeepCopyInto(out *ModelValidation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModelValidation) Descriptor

func (*ModelValidation) Descriptor() ([]byte, []int)

func (*ModelValidation) Marshal

func (m *ModelValidation) Marshal() (dAtA []byte, err error)

func (*ModelValidation) MarshalTo

func (m *ModelValidation) MarshalTo(dAtA []byte) (int, error)

func (*ModelValidation) MarshalToSizedBuffer

func (m *ModelValidation) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ModelValidation) ProtoMessage

func (*ModelValidation) ProtoMessage()

func (*ModelValidation) Reset

func (m *ModelValidation) Reset()

func (*ModelValidation) Size

func (m *ModelValidation) Size() (n int)

func (*ModelValidation) String

func (this *ModelValidation) String() string

func (*ModelValidation) Unmarshal

func (m *ModelValidation) Unmarshal(dAtA []byte) error

func (*ModelValidation) XXX_DiscardUnknown

func (m *ModelValidation) XXX_DiscardUnknown()

func (*ModelValidation) XXX_Marshal

func (m *ModelValidation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ModelValidation) XXX_Merge

func (m *ModelValidation) XXX_Merge(src proto.Message)

func (*ModelValidation) XXX_Size

func (m *ModelValidation) XXX_Size() int

func (*ModelValidation) XXX_Unmarshal

func (m *ModelValidation) XXX_Unmarshal(b []byte) error

type ModelValidationName

type ModelValidationName string

ModelValidationName is the name of one model monitoring validation

const (
	// ModelTest measure the preformance of the model against test data
	ModelTest ModelValidationName = "model-test"
	// compare the prediction count in time T to time T-1
	PredictionCountDrift ModelValidationName = "prediction-count-drift"
	// compare the prediction latency in time T to time T-1
	PredictionLatencyDrift ModelValidationName = "prediction-latency-drift"
	// Compare latency in training to latency in serving
	PredictionLatencySkew ModelValidationName = "prediction-latency-skew"
	// Compare model preformance in training to latency in serving
	ModelPrefSkew ModelValidationName = "model-pref-skew"
	// Compare model preformance in training in time T to perofrmance in training in time T-1
	ModelPrefDrift ModelValidationName = "model-pref-drift"
	// Compare column distribution in training to latency in serving
	CategoricalColumnSkew ModelValidationName = "cat-column-skew"
	// Compare column distribution in serving in time T to latency in serving in time T-1
	CategoricalColumnDrift ModelValidationName = "cat-column-drift"
	// Compare column distribution in training to latency in serving
	NumericalColumnSkew ModelValidationName = "numerical-column-skew"
	// Compare column distribution in training to latency in training time time T-1
	NumericalColumnDrift ModelValidationName = "numerical-column-drift"
	// Compare missing values in training to latency in training time time T-1
	MissingValueDrift ModelValidationName = "missing-values-drift"
	// Compare missing value in training to latency in serving
	MissingValueSkew ModelValidationName = "missing-values-skew"
	// Compare column stat in training to column stat in serving
	ColumnStatSkew ModelValidationName = "column-stat-skew"
	// Compare column stat in serving in time T to column stat in servingt in time T-1
	ColumnStatDrift ModelValidationName = "column-stat-drift"
)

type ModelValidationResult

type ModelValidationResult struct {
	Type string `json:"type" protobuf:"bytes,1,opt,name=type"`
	// DatasetName is the name of the dataset used to perform the validation
	DatasetName string `json:"datasetName" protobuf:"bytes,2,opt,name=datasetName"`
	// ModelName is the name of the model under test
	ModelName string `json:"modelName" protobuf:"bytes,3,opt,name=modelName"`
	// Column is the name of the feature.
	Column string `json:"column" protobuf:"bytes,4,opt,name=column"`
	// Error is a string.
	Error string `json:"error" protobuf:"bytes,5,opt,name=error"`
	// Metric is the measurement
	Metric *catalog.Metric `json:"metric" protobuf:"bytes,6,opt,name=metric"`
	// Actual value is the actual value
	ActualValue *float64 `json:"actualValue" protobuf:"bytes,7,opt,name=actualValue"`
	// Passed indicate if the result passed.
	Passed bool `json:"passed" protobuf:"bytes,8,opt,name=passed"`
	// At is the time the validation was performed.
	At *metav1.Time `json:"at" protobuf:"bytes,9,opt,name=at"`
	// The amount of time it took to compute this result
	DurationInSec int32 `json:"durationInSec" protobuf:"varint,10,opt,name=durationInSec"`
}

func (*ModelValidationResult) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelValidationResult.

func (*ModelValidationResult) DeepCopyInto

func (in *ModelValidationResult) DeepCopyInto(out *ModelValidationResult)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModelValidationResult) Descriptor

func (*ModelValidationResult) Descriptor() ([]byte, []int)

func (*ModelValidationResult) Marshal

func (m *ModelValidationResult) Marshal() (dAtA []byte, err error)

func (*ModelValidationResult) MarshalTo

func (m *ModelValidationResult) MarshalTo(dAtA []byte) (int, error)

func (*ModelValidationResult) MarshalToSizedBuffer

func (m *ModelValidationResult) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ModelValidationResult) ProtoMessage

func (*ModelValidationResult) ProtoMessage()

func (*ModelValidationResult) Reset

func (m *ModelValidationResult) Reset()

func (*ModelValidationResult) Size

func (m *ModelValidationResult) Size() (n int)

func (*ModelValidationResult) String

func (this *ModelValidationResult) String() string

func (*ModelValidationResult) Unmarshal

func (m *ModelValidationResult) Unmarshal(dAtA []byte) error

func (*ModelValidationResult) XXX_DiscardUnknown

func (m *ModelValidationResult) XXX_DiscardUnknown()

func (*ModelValidationResult) XXX_Marshal

func (m *ModelValidationResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ModelValidationResult) XXX_Merge

func (m *ModelValidationResult) XXX_Merge(src proto.Message)

func (*ModelValidationResult) XXX_Size

func (m *ModelValidationResult) XXX_Size() int

func (*ModelValidationResult) XXX_Unmarshal

func (m *ModelValidationResult) XXX_Unmarshal(b []byte) error

type NLPEstimatorSpec

type NLPEstimatorSpec struct {
	// The name of the base model
	// +kubebuilder:validation:Optional
	Base *string `json:"base,omitempty" protobuf:"bytes,1,opt,name=base"`
}

TransformerEstimatorSpec is an transformer. This is not implemented yet.

func (*NLPEstimatorSpec) DeepCopy

func (in *NLPEstimatorSpec) DeepCopy() *NLPEstimatorSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NLPEstimatorSpec.

func (*NLPEstimatorSpec) DeepCopyInto

func (in *NLPEstimatorSpec) DeepCopyInto(out *NLPEstimatorSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NLPEstimatorSpec) Descriptor

func (*NLPEstimatorSpec) Descriptor() ([]byte, []int)

func (*NLPEstimatorSpec) Marshal

func (m *NLPEstimatorSpec) Marshal() (dAtA []byte, err error)

func (*NLPEstimatorSpec) MarshalTo

func (m *NLPEstimatorSpec) MarshalTo(dAtA []byte) (int, error)

func (*NLPEstimatorSpec) MarshalToSizedBuffer

func (m *NLPEstimatorSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NLPEstimatorSpec) ProtoMessage

func (*NLPEstimatorSpec) ProtoMessage()

func (*NLPEstimatorSpec) Reset

func (m *NLPEstimatorSpec) Reset()

func (*NLPEstimatorSpec) Size

func (m *NLPEstimatorSpec) Size() (n int)

func (*NLPEstimatorSpec) String

func (this *NLPEstimatorSpec) String() string

func (*NLPEstimatorSpec) Unmarshal

func (m *NLPEstimatorSpec) Unmarshal(dAtA []byte) error

func (*NLPEstimatorSpec) XXX_DiscardUnknown

func (m *NLPEstimatorSpec) XXX_DiscardUnknown()

func (*NLPEstimatorSpec) XXX_Marshal

func (m *NLPEstimatorSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NLPEstimatorSpec) XXX_Merge

func (m *NLPEstimatorSpec) XXX_Merge(src proto.Message)

func (*NLPEstimatorSpec) XXX_Size

func (m *NLPEstimatorSpec) XXX_Size() int

func (*NLPEstimatorSpec) XXX_Unmarshal

func (m *NLPEstimatorSpec) XXX_Unmarshal(b []byte) error

type NNLayerName

type NNLayerName string
const (
	LayerNameDense         NNLayerName = "dense"
	LayerNameActivation    NNLayerName = "activation"
	LayerNameDropout       NNLayerName = "dropout"
	LayerNameFlatten       NNLayerName = "flatten"
	LayerNameInput         NNLayerName = "input"
	LayerNameReshape       NNLayerName = "reshape"
	LayerNamePermute       NNLayerName = "permute"
	RepeatVector           NNLayerName = "repeat-vector"
	Lambda                 NNLayerName = "lambda"
	ActivityRegularization NNLayerName = "activity-regularization"
	Masking                NNLayerName = "masking"
	SpatialDropout1D       NNLayerName = "spatial-dropout-1d"
	SpatialDropout2D       NNLayerName = "spatial-dropout-2d"
	SpatialDropout3D       NNLayerName = "spatial-dropout-3d"

	// conv layers
	LayerNameConv1D          NNLayerName = "conv-1d"
	LayerNameConv1DTranspose NNLayerName = "conv-1d-transpose"
	LayerNameConv2D          NNLayerName = "conv-2d"
	LayerNameConv2DTranspose NNLayerName = "conv-2d-transpose"
	LayerNameConv3D          NNLayerName = "conv-3d"
	LayerNameConv3DTranspose NNLayerName = "conv-3d-transpose"
	LayerNameUnfold          NNLayerName = "unfold"
	LayerNamefold            NNLayerName = "fold"

	LayerNameSeparableConv1D NNLayerName = "separable-conv-1d"
	LayerNameSeparableConv2D NNLayerName = "separable-conv-2d"

	LayerNameCropping1D NNLayerName = "cropping-1d"
	LayerNameCropping2D NNLayerName = "cropping-2d"
	LayerNameCropping3D NNLayerName = "cropping-3d"

	LayerNameUpSampling1D NNLayerName = "upsampling-1d"
	LayerNameUpSampling2D NNLayerName = "upsampling-2d"
	LayerNameUpSampling3D NNLayerName = "upsampling-3d"

	LayerNameZeroPadding1D NNLayerName = "zero-padding-1D"
	LayerNameZeroPadding2D NNLayerName = "zero-padding-2D"
	LayerNameZeroPadding3D NNLayerName = "zero-padding-3D"

	// VirtualClustering
	LayerNameMaxVirtualClustering1D   NNLayerName = "max-pooling-1D"
	LayerNameMaxVirtualClustering2D   NNLayerName = "max-pooling-2D"
	LayerNameMaxVirtualClustering3D   NNLayerName = "max-pooling-3D"
	LayerNameMaxUnVirtualClustering1D NNLayerName = "max-unpool-1D"
	LayerNameMaxUnVirtualClustering2D NNLayerName = "max-unpool-2D"
	LayerNameMaxUnVirtualClustering3D NNLayerName = "max-unpool-3D"

	LayerNameAverageVirtualClustering1D       NNLayerName = "average-pooling-1D"
	LayerNameAverageVirtualClustering2D       NNLayerName = "average-pooling-2D"
	LayerNameAverageVirtualClustering3D       NNLayerName = "average-pooling-3D"
	LayerNameGlobalMaxVirtualClustering1D     NNLayerName = "global-max-pooling-2D"
	LayerNameGlobalMaxVirtualClustering2D     NNLayerName = "global-max-pooling-2D"
	LayerNameGlobalMaxVirtualClustering3D     NNLayerName = "global-max-pooling-3D"
	LayerNameGlobalAverageVirtualClustering1D NNLayerName = "global-average-pooling-1D"
	LayerNameGlobalAverageVirtualClustering2D NNLayerName = "global-average-pooling-2D"
	LayerNameGlobalAverageVirtualClustering3D NNLayerName = "global-average-pooling-3D"

	LayerNameLocallyConnected1D NNLayerName = "locally-connected-1d"
	LayerNameLocallyConnected2D NNLayerName = "locally-connected-2d"

	LayerNameSimpleRNN     NNLayerName = "simple-rnn"
	LayerNameGRU           NNLayerName = "gru"
	LayerNameLSTM          NNLayerName = "lstm"
	LayerNameConvLSTM2D    NNLayerName = "lstm-2d"
	LayerNameSimpleRNNCell NNLayerName = "simple-rnn-cell"
	LayerNameGRUCell       NNLayerName = "gru-cell"
	LayerNameLSTMCell      NNLayerName = "lstm-cell"
	LayerNameCuDNNGRU      NNLayerName = "cudnngru"
	LayerNameCuDNNLSTM     NNLayerName = "cu-dnn-lstm"

	// -------- Embedding --------
	LayerNameEmbedding NNLayerName = "embedding"

	// -------- Advanced Activations --------
	LayerNameLeakyReLU          NNLayerName = "leaky-relru"
	LayerNamePReLU              NNLayerName = "prelu"
	LayerNameELU                NNLayerName = "elu"
	LayerNameThresholdedReLU    NNLayerName = "threshold-relu"
	LayerNameSoftmax            NNLayerName = "softmax"
	LayerNameReLU               NNLayerName = "relu"
	LayerNameBatchNormalization NNLayerName = "batch-normalization"
	LayerNameGaussianNoise      NNLayerName = "gaussian-noise"
	LayerNameGaussianDropout    NNLayerName = "gaussian-dropout"
	LayerNameAlphaDropout       NNLayerName = "alpha-dropout"
)

type NNLayerParameter

type NNLayerParameter struct {
	Name  string `json:"name" protobuf:"bytes,1,opt,name=name"`
	Value string `json:"value" protobuf:"bytes,2,opt,name=value"`
}

func (*NNLayerParameter) DeepCopy

func (in *NNLayerParameter) DeepCopy() *NNLayerParameter

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NNLayerParameter.

func (*NNLayerParameter) DeepCopyInto

func (in *NNLayerParameter) DeepCopyInto(out *NNLayerParameter)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NNLayerParameter) Descriptor

func (*NNLayerParameter) Descriptor() ([]byte, []int)

func (*NNLayerParameter) Marshal

func (m *NNLayerParameter) Marshal() (dAtA []byte, err error)

func (*NNLayerParameter) MarshalTo

func (m *NNLayerParameter) MarshalTo(dAtA []byte) (int, error)

func (*NNLayerParameter) MarshalToSizedBuffer

func (m *NNLayerParameter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NNLayerParameter) ProtoMessage

func (*NNLayerParameter) ProtoMessage()

func (*NNLayerParameter) Reset

func (m *NNLayerParameter) Reset()

func (*NNLayerParameter) Size

func (m *NNLayerParameter) Size() (n int)

func (*NNLayerParameter) String

func (this *NNLayerParameter) String() string

func (*NNLayerParameter) Unmarshal

func (m *NNLayerParameter) Unmarshal(dAtA []byte) error

func (*NNLayerParameter) XXX_DiscardUnknown

func (m *NNLayerParameter) XXX_DiscardUnknown()

func (*NNLayerParameter) XXX_Marshal

func (m *NNLayerParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NNLayerParameter) XXX_Merge

func (m *NNLayerParameter) XXX_Merge(src proto.Message)

func (*NNLayerParameter) XXX_Size

func (m *NNLayerParameter) XXX_Size() int

func (*NNLayerParameter) XXX_Unmarshal

func (m *NNLayerParameter) XXX_Unmarshal(b []byte) error

type Notebook

type Notebook struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Spec              NotebookSpec   `json:"spec" protobuf:"bytes,2,opt,name=spec"`
	Status            NotebookStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

+kubebuilder:object:root=true +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type==\"Ready\")].status",description="" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:path=notebooks,singular=notebook,shortName=nb,categories={training,modela,all} Notebook represent a notebook object which specify a single notebook execution

func ParseNotebookYaml

func ParseNotebookYaml(content []byte) (*Notebook, error)

func (*Notebook) AddFinalizer

func (notebook *Notebook) AddFinalizer()

func (*Notebook) ArchiveKey

func (notebook *Notebook) ArchiveKey() string

func (*Notebook) Archived

func (notebook *Notebook) Archived() bool

func (*Notebook) CreateOrUpdateCond

func (notebook *Notebook) CreateOrUpdateCond(cond NotebookCondition)

Merge or update condition

func (*Notebook) DeepCopy

func (in *Notebook) DeepCopy() *Notebook

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Notebook.

func (*Notebook) DeepCopyInto

func (in *Notebook) DeepCopyInto(out *Notebook)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Notebook) DeepCopyObject

func (in *Notebook) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Notebook) Default

func (notebook *Notebook) Default()

func (*Notebook) DepotKey

func (notebook *Notebook) DepotKey() string

func (*Notebook) Descriptor

func (*Notebook) Descriptor() ([]byte, []int)

func (*Notebook) GenImageName

func (notebook *Notebook) GenImageName() string

func (*Notebook) GetCond

func (notebook *Notebook) GetCond(t NotebookConditionType) NotebookCondition

func (*Notebook) GetCondIdx

func (notebook *Notebook) GetCondIdx(t NotebookConditionType) int

func (*Notebook) HasFinalizer

func (notebook *Notebook) HasFinalizer() bool

func (*Notebook) IsReady

func (notebook *Notebook) IsReady() bool

func (*Notebook) Key

func (notebook *Notebook) Key() string

func (*Notebook) LiveKey

func (notebook *Notebook) LiveKey() string

func (*Notebook) MakeDockerFile

func (notebook *Notebook) MakeDockerFile() (string, error)

func (*Notebook) ManifestUri

func (notebook *Notebook) ManifestUri() string

func (*Notebook) MarkArchived

func (notebook *Notebook) MarkArchived()

func (*Notebook) MarkReady

func (notebook *Notebook) MarkReady()

func (*Notebook) Marshal

func (m *Notebook) Marshal() (dAtA []byte, err error)

func (*Notebook) MarshalTo

func (m *Notebook) MarshalTo(dAtA []byte) (int, error)

func (*Notebook) MarshalToSizedBuffer

func (m *Notebook) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Notebook) NotebbokFileUri

func (notebook *Notebook) NotebbokFileUri() string

dataproducts/*/notebooks/*/notebook-<name>.jp

func (*Notebook) ProtoMessage

func (*Notebook) ProtoMessage()

func (*Notebook) RemoveFinalizer

func (notebook *Notebook) RemoveFinalizer()

func (*Notebook) Reset

func (m *Notebook) Reset()

func (*Notebook) RootUri

func (model *Notebook) RootUri() string

func (*Notebook) SetupWebhookWithManager

func (notebook *Notebook) SetupWebhookWithManager(mgr ctrl.Manager) error

Set up the webhook with the manager.

func (*Notebook) Size

func (m *Notebook) Size() (n int)

func (*Notebook) String

func (this *Notebook) String() string

func (*Notebook) ToYamlFile

func (notebook *Notebook) ToYamlFile() ([]byte, error)

func (*Notebook) Unmarshal

func (m *Notebook) Unmarshal(dAtA []byte) error

func (*Notebook) ValidateCreate

func (notebook *Notebook) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Notebook) ValidateDelete

func (notebook *Notebook) ValidateDelete() error

func (*Notebook) ValidateUpdate

func (notebook *Notebook) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

func (*Notebook) XXX_DiscardUnknown

func (m *Notebook) XXX_DiscardUnknown()

func (*Notebook) XXX_Marshal

func (m *Notebook) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Notebook) XXX_Merge

func (m *Notebook) XXX_Merge(src proto.Message)

func (*Notebook) XXX_Size

func (m *Notebook) XXX_Size() int

func (*Notebook) XXX_Unmarshal

func (m *Notebook) XXX_Unmarshal(b []byte) error

type NotebookCondition

type NotebookCondition struct {
	// Type of account condition.
	Type NotebookConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=NotebookConditionType"`
	// Status of the condition, one of True, False, Unknown.
	Status v1.ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=k8s.io/api/core/v1.ConditionStatus"`
	// Last time the condition transitioned from one status to another.
	LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,4,opt,name=lastTransitionTime"`
	// The reason for the condition's last transition.
	Reason string `json:"reason,omitempty" protobuf:"bytes,5,opt,name=reason"`
	// A human readable message indicating details about the transition.
	Message string `json:"message,omitempty" protobuf:"bytes,6,opt,name=message"`
}

NotebookCondition describes the state of a notebook at a certain point.

func (*NotebookCondition) DeepCopy

func (in *NotebookCondition) DeepCopy() *NotebookCondition

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotebookCondition.

func (*NotebookCondition) DeepCopyInto

func (in *NotebookCondition) DeepCopyInto(out *NotebookCondition)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NotebookCondition) Descriptor

func (*NotebookCondition) Descriptor() ([]byte, []int)

func (*NotebookCondition) Marshal

func (m *NotebookCondition) Marshal() (dAtA []byte, err error)

func (*NotebookCondition) MarshalTo

func (m *NotebookCondition) MarshalTo(dAtA []byte) (int, error)

func (*NotebookCondition) MarshalToSizedBuffer

func (m *NotebookCondition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NotebookCondition) ProtoMessage

func (*NotebookCondition) ProtoMessage()

func (*NotebookCondition) Reset

func (m *NotebookCondition) Reset()

func (*NotebookCondition) Size

func (m *NotebookCondition) Size() (n int)

func (*NotebookCondition) String

func (this *NotebookCondition) String() string

func (*NotebookCondition) Unmarshal

func (m *NotebookCondition) Unmarshal(dAtA []byte) error

func (*NotebookCondition) XXX_DiscardUnknown

func (m *NotebookCondition) XXX_DiscardUnknown()

func (*NotebookCondition) XXX_Marshal

func (m *NotebookCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NotebookCondition) XXX_Merge

func (m *NotebookCondition) XXX_Merge(src proto.Message)

func (*NotebookCondition) XXX_Size

func (m *NotebookCondition) XXX_Size() int

func (*NotebookCondition) XXX_Unmarshal

func (m *NotebookCondition) XXX_Unmarshal(b []byte) error

type NotebookConditionType

type NotebookConditionType string

Notebook condition

const (
	NotebookPublished NotebookConditionType = "Published"
	NotebookIngested  NotebookConditionType = "Ingested"
	NotebookReady     NotebookConditionType = "Ready"
	NotebookSaved     NotebookConditionType = "Saved"
)

/ Notebook Condition

type NotebookList

type NotebookList struct {
	metav1.TypeMeta `json:",inline" `
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Items []Notebook `json:"items" protobuf:"bytes,2,rep,name=items"`
}

+kubebuilder:object:root=true NotebookList represent list of notebooks

func (*NotebookList) DeepCopy

func (in *NotebookList) DeepCopy() *NotebookList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotebookList.

func (*NotebookList) DeepCopyInto

func (in *NotebookList) DeepCopyInto(out *NotebookList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NotebookList) DeepCopyObject

func (in *NotebookList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*NotebookList) Descriptor

func (*NotebookList) Descriptor() ([]byte, []int)

func (*NotebookList) Marshal

func (m *NotebookList) Marshal() (dAtA []byte, err error)

func (*NotebookList) MarshalTo

func (m *NotebookList) MarshalTo(dAtA []byte) (int, error)

func (*NotebookList) MarshalToSizedBuffer

func (m *NotebookList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NotebookList) ProtoMessage

func (*NotebookList) ProtoMessage()

func (*NotebookList) Reset

func (m *NotebookList) Reset()

func (*NotebookList) Size

func (m *NotebookList) Size() (n int)

func (*NotebookList) String

func (this *NotebookList) String() string

func (*NotebookList) Unmarshal

func (m *NotebookList) Unmarshal(dAtA []byte) error

func (*NotebookList) XXX_DiscardUnknown

func (m *NotebookList) XXX_DiscardUnknown()

func (*NotebookList) XXX_Marshal

func (m *NotebookList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NotebookList) XXX_Merge

func (m *NotebookList) XXX_Merge(src proto.Message)

func (*NotebookList) XXX_Size

func (m *NotebookList) XXX_Size() int

func (*NotebookList) XXX_Unmarshal

func (m *NotebookList) XXX_Unmarshal(b []byte) error

type NotebookRun

type NotebookRun struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Spec   NotebookRunSpec   `json:"spec" protobuf:"bytes,2,opt,name=spec"`
	Status NotebookRunStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Owner",type="string",JSONPath=".spec.owner",priority=1 +kubebuilder:printcolumn:name="Notebook",type="string",JSONPath=".spec.notebookName" +kubebuilder:printcolumn:name="StartTime",type="date",JSONPath=".status.startTime",priority=1 +kubebuilder:printcolumn:name="CompletionTime",type="date",JSONPath=".status.completionTime",priority=1 +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:path=notebookruns,singular=notebookrun,shortName=nbr,categories={training,modela,all} NotebookRun represent a single execution of a notebook with a specific env variables

func ParseNotebookRunYaml

func ParseNotebookRunYaml(content []byte) (*NotebookRun, error)

func (*NotebookRun) AddFinalizer

func (run *NotebookRun) AddFinalizer()

func (*NotebookRun) Age

func (run *NotebookRun) Age() string

func (*NotebookRun) CreateOrUpdateCond

func (run *NotebookRun) CreateOrUpdateCond(cond NotebookRunCondition)

Merge or update condition

func (*NotebookRun) DeepCopy

func (in *NotebookRun) DeepCopy() *NotebookRun

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotebookRun.

func (*NotebookRun) DeepCopyInto

func (in *NotebookRun) DeepCopyInto(out *NotebookRun)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NotebookRun) DeepCopyObject

func (in *NotebookRun) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*NotebookRun) Default

func (run *NotebookRun) Default()

func (*NotebookRun) Descriptor

func (*NotebookRun) Descriptor() ([]byte, []int)

func (*NotebookRun) EstimatorBinFileKey

func (run *NotebookRun) EstimatorBinFileKey() string

khai/labs/l1/studies/<s1>/models/<m1>/estimator.bin

func (*NotebookRun) GetCond

func (*NotebookRun) GetCondIdx

func (run *NotebookRun) GetCondIdx(t NotebookRunConditionType) int

func (*NotebookRun) HasFinalizer

func (run *NotebookRun) HasFinalizer() bool

func (*NotebookRun) IsMarkedForDeletion

func (run *NotebookRun) IsMarkedForDeletion() bool

func (*NotebookRun) IsReady

func (run *NotebookRun) IsReady() bool

func (*NotebookRun) JobName

func (run *NotebookRun) JobName() string

func (*NotebookRun) Key

func (run *NotebookRun) Key() string

func (*NotebookRun) MarkArchived

func (r *NotebookRun) MarkArchived()

func (*NotebookRun) MarkCompleted

func (r *NotebookRun) MarkCompleted()

func (*NotebookRun) MarkFailed

func (r *NotebookRun) MarkFailed(error string)

func (*NotebookRun) MarkRunning

func (r *NotebookRun) MarkRunning()

func (*NotebookRun) Marshal

func (m *NotebookRun) Marshal() (dAtA []byte, err error)

func (*NotebookRun) MarshalTo

func (m *NotebookRun) MarshalTo(dAtA []byte) (int, error)

func (*NotebookRun) MarshalToSizedBuffer

func (m *NotebookRun) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NotebookRun) ModelBinFileKey

func (run *NotebookRun) ModelBinFileKey() string

func (*NotebookRun) ProtoMessage

func (*NotebookRun) ProtoMessage()

func (*NotebookRun) RemoveFinalizer

func (run *NotebookRun) RemoveFinalizer()

func (*NotebookRun) Reset

func (m *NotebookRun) Reset()

func (*NotebookRun) RootFolderKey

func (run *NotebookRun) RootFolderKey() string

func (*NotebookRun) SchemaBinFileKey

func (run *NotebookRun) SchemaBinFileKey() string

func (*NotebookRun) SetupWebhookWithManager

func (run *NotebookRun) SetupWebhookWithManager(mgr ctrl.Manager) error

Set up the webhook with the manager.

func (*NotebookRun) Size

func (m *NotebookRun) Size() (n int)

func (*NotebookRun) StatusString

func (run *NotebookRun) StatusString() string

func (*NotebookRun) String

func (this *NotebookRun) String() string

func (*NotebookRun) StudyBinFileKey

func (run *NotebookRun) StudyBinFileKey() string

func (*NotebookRun) ToYamlFile

func (run *NotebookRun) ToYamlFile() ([]byte, error)

func (*NotebookRun) Unmarshal

func (m *NotebookRun) Unmarshal(dAtA []byte) error

func (*NotebookRun) ValidateCreate

func (run *NotebookRun) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*NotebookRun) ValidateDelete

func (run *NotebookRun) ValidateDelete() error

func (*NotebookRun) ValidateUpdate

func (run *NotebookRun) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

func (*NotebookRun) VarsToMap

func (run *NotebookRun) VarsToMap() map[string]string

func (*NotebookRun) XXX_DiscardUnknown

func (m *NotebookRun) XXX_DiscardUnknown()

func (*NotebookRun) XXX_Marshal

func (m *NotebookRun) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NotebookRun) XXX_Merge

func (m *NotebookRun) XXX_Merge(src proto.Message)

func (*NotebookRun) XXX_Size

func (m *NotebookRun) XXX_Size() int

func (*NotebookRun) XXX_Unmarshal

func (m *NotebookRun) XXX_Unmarshal(b []byte) error

type NotebookRunCondition

type NotebookRunCondition struct {
	// Type of account condition.
	Type NotebookRunConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=NotebookRunConditionType"`
	// Status of the condition, one of True, False, Unknown.
	Status v1.ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=k8s.io/api/core/v1.ConditionStatus"`
	// Last time the condition transitioned from one status to another.
	LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,4,opt,name=lastTransitionTime"`
	// The reason for the condition's last transition.
	Reason string `json:"reason,omitempty" protobuf:"bytes,5,opt,name=reason"`
	// A human readable message indicating details about the transition.
	Message string `json:"message,omitempty" protobuf:"bytes,6,opt,name=message"`
}

NotebookRunCondition describes the state of a notebook run.

func (*NotebookRunCondition) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotebookRunCondition.

func (*NotebookRunCondition) DeepCopyInto

func (in *NotebookRunCondition) DeepCopyInto(out *NotebookRunCondition)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NotebookRunCondition) Descriptor

func (*NotebookRunCondition) Descriptor() ([]byte, []int)

func (*NotebookRunCondition) Marshal

func (m *NotebookRunCondition) Marshal() (dAtA []byte, err error)

func (*NotebookRunCondition) MarshalTo

func (m *NotebookRunCondition) MarshalTo(dAtA []byte) (int, error)

func (*NotebookRunCondition) MarshalToSizedBuffer

func (m *NotebookRunCondition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NotebookRunCondition) ProtoMessage

func (*NotebookRunCondition) ProtoMessage()

func (*NotebookRunCondition) Reset

func (m *NotebookRunCondition) Reset()

func (*NotebookRunCondition) Size

func (m *NotebookRunCondition) Size() (n int)

func (*NotebookRunCondition) String

func (this *NotebookRunCondition) String() string

func (*NotebookRunCondition) Unmarshal

func (m *NotebookRunCondition) Unmarshal(dAtA []byte) error

func (*NotebookRunCondition) XXX_DiscardUnknown

func (m *NotebookRunCondition) XXX_DiscardUnknown()

func (*NotebookRunCondition) XXX_Marshal

func (m *NotebookRunCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NotebookRunCondition) XXX_Merge

func (m *NotebookRunCondition) XXX_Merge(src proto.Message)

func (*NotebookRunCondition) XXX_Size

func (m *NotebookRunCondition) XXX_Size() int

func (*NotebookRunCondition) XXX_Unmarshal

func (m *NotebookRunCondition) XXX_Unmarshal(b []byte) error

type NotebookRunConditionType

type NotebookRunConditionType string

NotebookRun condition Condition on the dataset

const (
	NotebookRunCompleted NotebookRunConditionType = "Completed"
	NotebookRunSaved     NotebookRunConditionType = "Saved"
)

/ NotebookRun Condition

type NotebookRunList

type NotebookRunList struct {
	metav1.TypeMeta `json:",inline" `
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Items []NotebookRun `json:"items" protobuf:"bytes,2,rep,name=items"`
}

+kubebuilder:object:root=true NotebookRunList is a list of notebook runs

func (*NotebookRunList) DeepCopy

func (in *NotebookRunList) DeepCopy() *NotebookRunList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotebookRunList.

func (*NotebookRunList) DeepCopyInto

func (in *NotebookRunList) DeepCopyInto(out *NotebookRunList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NotebookRunList) DeepCopyObject

func (in *NotebookRunList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*NotebookRunList) Descriptor

func (*NotebookRunList) Descriptor() ([]byte, []int)

func (*NotebookRunList) Marshal

func (m *NotebookRunList) Marshal() (dAtA []byte, err error)

func (*NotebookRunList) MarshalTo

func (m *NotebookRunList) MarshalTo(dAtA []byte) (int, error)

func (*NotebookRunList) MarshalToSizedBuffer

func (m *NotebookRunList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NotebookRunList) ProtoMessage

func (*NotebookRunList) ProtoMessage()

func (*NotebookRunList) Reset

func (m *NotebookRunList) Reset()

func (*NotebookRunList) Size

func (m *NotebookRunList) Size() (n int)

func (*NotebookRunList) String

func (this *NotebookRunList) String() string

func (*NotebookRunList) Unmarshal

func (m *NotebookRunList) Unmarshal(dAtA []byte) error

func (*NotebookRunList) XXX_DiscardUnknown

func (m *NotebookRunList) XXX_DiscardUnknown()

func (*NotebookRunList) XXX_Marshal

func (m *NotebookRunList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NotebookRunList) XXX_Merge

func (m *NotebookRunList) XXX_Merge(src proto.Message)

func (*NotebookRunList) XXX_Size

func (m *NotebookRunList) XXX_Size() int

func (*NotebookRunList) XXX_Unmarshal

func (m *NotebookRunList) XXX_Unmarshal(b []byte) error

type NotebookRunPhase

type NotebookRunPhase string
const (
	NotebookRunPhasePending   NotebookRunPhase = "Pending"
	NotebookRunPhaseAborted   NotebookRunPhase = "Aborted"
	NotebookRunPhaseRunning   NotebookRunPhase = "Running"
	NotebookRunPhaseCompleted NotebookRunPhase = "Completed"
	NotebookRunPhaseFailed    NotebookRunPhase = "Failed"
)

type NotebookRunSpec

type NotebookRunSpec struct {
	// VersionName of the data product for this notebook
	// +kubebuilder:validation:Optional
	VersionName *string `json:"versionName,omitempty" protobuf:"bytes,1,opt,name=versionName"`
	// NotebookName of the notebook for this run
	// +kubebuilder:validation:Optional
	NotebookName *string `json:"notebookName,omitempty" protobuf:"bytes,2,opt,name=notebookName"`
	// Values to pass to the notebook during execution
	// +kubebuilder:validation:Optional
	Values []NotebookVarValue `json:"values,omitempty" protobuf:"bytes,3,rep,name=values"`
	// Owner account name
	// +kubebuilder:default:="no-one"
	// +kubebuilder:validation:Optional
	Owner *string `json:"owner,omitempty" protobuf:"bytes,4,opt,name=owner"`
	// Resources are hardware req.
	// +kubebuilder:validation:Optional
	Resources catalog.ResourceSpec `json:"resources,omitempty" protobuf:"bytes,5,opt,name=resources"`
	// TTL.
	// +kubebuilder:default:=0
	// +kubebuilder:validation:Optional
	TTL *int32 `json:"ttl,omitempty" protobuf:"varint,6,opt,name=ttl"`
}

NotebookRunSpec defines the desired state of the NotebookRun resource

func (*NotebookRunSpec) DeepCopy

func (in *NotebookRunSpec) DeepCopy() *NotebookRunSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotebookRunSpec.

func (*NotebookRunSpec) DeepCopyInto

func (in *NotebookRunSpec) DeepCopyInto(out *NotebookRunSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NotebookRunSpec) Descriptor

func (*NotebookRunSpec) Descriptor() ([]byte, []int)

func (*NotebookRunSpec) Marshal

func (m *NotebookRunSpec) Marshal() (dAtA []byte, err error)

func (*NotebookRunSpec) MarshalTo

func (m *NotebookRunSpec) MarshalTo(dAtA []byte) (int, error)

func (*NotebookRunSpec) MarshalToSizedBuffer

func (m *NotebookRunSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NotebookRunSpec) ProtoMessage

func (*NotebookRunSpec) ProtoMessage()

func (*NotebookRunSpec) Reset

func (m *NotebookRunSpec) Reset()

func (*NotebookRunSpec) Size

func (m *NotebookRunSpec) Size() (n int)

func (*NotebookRunSpec) String

func (this *NotebookRunSpec) String() string

func (*NotebookRunSpec) Unmarshal

func (m *NotebookRunSpec) Unmarshal(dAtA []byte) error

func (*NotebookRunSpec) XXX_DiscardUnknown

func (m *NotebookRunSpec) XXX_DiscardUnknown()

func (*NotebookRunSpec) XXX_Marshal

func (m *NotebookRunSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NotebookRunSpec) XXX_Merge

func (m *NotebookRunSpec) XXX_Merge(src proto.Message)

func (*NotebookRunSpec) XXX_Size

func (m *NotebookRunSpec) XXX_Size() int

func (*NotebookRunSpec) XXX_Unmarshal

func (m *NotebookRunSpec) XXX_Unmarshal(b []byte) error

type NotebookRunStatus

type NotebookRunStatus struct {
	// The phase of the notebook
	// +kubebuilder:default:="Pending"
	// +kubebuilder:validation:Optional
	Phase NotebookRunPhase `json:"phase" protobuf:"bytes,1,opt,name=phase"`
	// StartTime is the times that this prediction job started
	// +kubebuilder:validation:Optional
	StartTime *metav1.Time `json:"startTime,omitempty" protobuf:"bytes,2,opt,name=startTime"`
	// EndTime is the time that this prediction job finished
	// +kubebuilder:validation:Optional
	EndTime *metav1.Time `json:"endTime,omitempty" protobuf:"bytes,3,opt,name=endTime"`
	// ObservedGeneration is the Last generation that was acted on
	//+kubebuilder:validation:Optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,4,opt,name=observedGeneration"`
	// Update in case of terminal failure
	// Borrowed from cluster api controller
	//+kubebuilder:validation:Optional
	FailureReason *catalog.StatusError `json:"failureReason,omitempty" protobuf:"bytes,5,opt,name=failureReason"`
	// Update in case of terminal failure message
	//+kubebuilder:validation:Optional
	FailureMessage *string `json:"failureMessage,omitempty" protobuf:"bytes,6,opt,name=failureMessage"`
	// What triggered the run
	//+kubebuilder:validation:Optional
	TriggeredBy catalog.TriggerType `json:"triggeredBy,omitempty" protobuf:"bytes,7,opt,name=triggeredBy"`
	// Holds the location of log paths
	//+kubebuilder:validation:Optional
	Logs catalog.Logs `json:"logs,,omitempty" protobuf:"bytes,8,opt,name=logs"`
	// Last time the object was updated
	//+kubebuilder:validation:Optional
	LastUpdated *metav1.Time `json:"lastUpdated,omitempty" protobuf:"bytes,9,opt,name=lastUpdated"`
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +kubebuilder:validation:Optional
	Conditions []NotebookRunCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,10,rep,name=conditions"`
}

NotebookRunStatus define that observed state of NotebookRun resource

func (*NotebookRunStatus) DeepCopy

func (in *NotebookRunStatus) DeepCopy() *NotebookRunStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotebookRunStatus.

func (*NotebookRunStatus) DeepCopyInto

func (in *NotebookRunStatus) DeepCopyInto(out *NotebookRunStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NotebookRunStatus) Descriptor

func (*NotebookRunStatus) Descriptor() ([]byte, []int)

func (*NotebookRunStatus) Marshal

func (m *NotebookRunStatus) Marshal() (dAtA []byte, err error)

func (*NotebookRunStatus) MarshalTo

func (m *NotebookRunStatus) MarshalTo(dAtA []byte) (int, error)

func (*NotebookRunStatus) MarshalToSizedBuffer

func (m *NotebookRunStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NotebookRunStatus) ProtoMessage

func (*NotebookRunStatus) ProtoMessage()

func (*NotebookRunStatus) Reset

func (m *NotebookRunStatus) Reset()

func (*NotebookRunStatus) Size

func (m *NotebookRunStatus) Size() (n int)

func (*NotebookRunStatus) String

func (this *NotebookRunStatus) String() string

func (*NotebookRunStatus) Unmarshal

func (m *NotebookRunStatus) Unmarshal(dAtA []byte) error

func (*NotebookRunStatus) XXX_DiscardUnknown

func (m *NotebookRunStatus) XXX_DiscardUnknown()

func (*NotebookRunStatus) XXX_Marshal

func (m *NotebookRunStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NotebookRunStatus) XXX_Merge

func (m *NotebookRunStatus) XXX_Merge(src proto.Message)

func (*NotebookRunStatus) XXX_Size

func (m *NotebookRunStatus) XXX_Size() int

func (*NotebookRunStatus) XXX_Unmarshal

func (m *NotebookRunStatus) XXX_Unmarshal(b []byte) error

type NotebookSpec

type NotebookSpec struct {
	// The version of the notebook
	// +kubebuilder:default:="latest"
	// +kubebuilder:validation:Optional
	VersionName *string `json:"versionName,omitempty" protobuf:"bytes,1,opt,name=versionName"`
	// User provided description
	// +kubebuilder:default:=""
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:MaxLength=512
	Description *string `json:"description,omitempty" protobuf:"bytes,2,opt,name=description"`
	// SchemaName relate a notebook to a schema.
	// The schema object will be accessible from the notebook
	// +kubebuilder:validation:Optional
	SchemaRef *v1.ObjectReference `json:"schemaRef,omitempty" protobuf:"bytes,3,opt,name=schemaRef"`
	// A reference to the container image repository for this notebook.
	// +kubebuilder:default:=""
	ImageName *string `json:"imageName,omitempty" protobuf:"bytes,4,opt,name=imageName"`
	// Requirements python file
	// +kubebuilder:default:=""
	// +kubebuilder:validation:Optional
	Requirements *string `json:"requirements,omitempty" protobuf:"bytes,5,opt,name=requirements"`
	// DebPackages is a list of deb package to install
	// +kubebuilder:validation:Optional
	DebPackages *string `json:"debPackages,omitempty" protobuf:"bytes,6,opt,name=debPackages"`
	// vars to pass to the notebook
	// +kubebuilder:validation:Optional
	Vars []string `json:"vars,omitempty" protobuf:"bytes,7,rep,name=vars"`
	// Location is the location of the notebook file
	Location *data.DataLocation `json:"location,omitempty" protobuf:"bytes,8,opt,name=location"`
	// The owner account name
	// +kubebuilder:default:="no-one"
	// +kubebuilder:validation:Optional
	Owner *string `json:"owner,omitempty" protobuf:"bytes,9,opt,name=owner"`
	// Resource are the hardware req.
	// +kubebuilder:validation:Optional
	Resources catalog.ResourceSpec `json:"resources,omitempty" protobuf:"bytes,10,opt,name=resources"`
	// ActiveDeadlineSeconds is the deadline of a job for this notebook.
	// +kubebuilder:default:=600
	// +kubebuilder:validation:Minimum=0
	// +kubebuilder:validation:Optional
	ActiveDeadlineSeconds *int64 `json:"activeDeadlineSeconds,omitempty" protobuf:"varint,11,opt,name=activeDeadlineSeconds"`
	// Schedule for running the pipeline
	// +kubebuilder:validation:Optional
	Schedule catalog.RunSchedule `json:"schedule,omitempty" protobuf:"bytes,12,opt,name=schedule"`
	// The priority of this notebook run. The default is medium.
	// +kubebuilder:default:=medium
	// +kubebuilder:validation:Optional
	Priority *catalog.PriorityLevel `json:"priority,omitempty" protobuf:"bytes,13,opt,name=priority"`
	// Set to true to pause the notebook
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Paused *bool `json:"paused,omitempty" protobuf:"bytes,14,opt,name=paused"`
}

NotebookSpec is the desired state of the notebook resource.

func (*NotebookSpec) DeepCopy

func (in *NotebookSpec) DeepCopy() *NotebookSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotebookSpec.

func (*NotebookSpec) DeepCopyInto

func (in *NotebookSpec) DeepCopyInto(out *NotebookSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NotebookSpec) Descriptor

func (*NotebookSpec) Descriptor() ([]byte, []int)

func (*NotebookSpec) Marshal

func (m *NotebookSpec) Marshal() (dAtA []byte, err error)

func (*NotebookSpec) MarshalTo

func (m *NotebookSpec) MarshalTo(dAtA []byte) (int, error)

func (*NotebookSpec) MarshalToSizedBuffer

func (m *NotebookSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NotebookSpec) ProtoMessage

func (*NotebookSpec) ProtoMessage()

func (*NotebookSpec) Reset

func (m *NotebookSpec) Reset()

func (*NotebookSpec) Size

func (m *NotebookSpec) Size() (n int)

func (*NotebookSpec) String

func (this *NotebookSpec) String() string

func (*NotebookSpec) Unmarshal

func (m *NotebookSpec) Unmarshal(dAtA []byte) error

func (*NotebookSpec) XXX_DiscardUnknown

func (m *NotebookSpec) XXX_DiscardUnknown()

func (*NotebookSpec) XXX_Marshal

func (m *NotebookSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NotebookSpec) XXX_Merge

func (m *NotebookSpec) XXX_Merge(src proto.Message)

func (*NotebookSpec) XXX_Size

func (m *NotebookSpec) XXX_Size() int

func (*NotebookSpec) XXX_Unmarshal

func (m *NotebookSpec) XXX_Unmarshal(b []byte) error

type NotebookStatus

type NotebookStatus struct {
	// Image is the name of the image after publication
	// +kubebuilder:validation:Optional
	Image string `json:"image,omitempty" protobuf:"bytes,1,opt,name=image"`
	// The URI of the notebook in the bucket.
	// +kubebuilder:validation:Optional
	URI string `json:"uri,omitempty" protobuf:"bytes,2,opt,name=uri"`
	// ObservedGeneration is the Last generation that was acted on
	//+kubebuilder:validation:Optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,3,opt,name=observedGeneration"`
	// Last run is the last time a run was created
	//+kubebuilder:validation:Optional
	LastRun *metav1.Time `json:"lastRun,omitempty" protobuf:"bytes,4,opt,name=lastRun"`

	// Last time the object was updated
	//+kubebuilder:validation:Optional
	LastUpdated *metav1.Time `json:"lastUpdated,omitempty" protobuf:"bytes,5,opt,name=lastUpdated"`

	// Update in case of terminal failure
	// Borrowed from cluster api controller
	//+kubebuilder:validation:Optional
	FailureReason *catalog.StatusError `json:"failureReason,omitempty" protobuf:"bytes,6,opt,name=failureReason"`
	// Update in case of terminal failure message
	//+kubebuilder:validation:Optional
	FailureMessage *string `json:"failureMessage,omitempty" protobuf:"bytes,7,opt,name=failureMessage"`

	// +patchMergeKey=type
	// +patchStrategy=merge
	// +kubebuilder:validation:Optional
	Conditions []NotebookCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,8,rep,name=conditions"`
}

NotebookStatus is the observed state of the notebook resource

func (*NotebookStatus) DeepCopy

func (in *NotebookStatus) DeepCopy() *NotebookStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotebookStatus.

func (*NotebookStatus) DeepCopyInto

func (in *NotebookStatus) DeepCopyInto(out *NotebookStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NotebookStatus) Descriptor

func (*NotebookStatus) Descriptor() ([]byte, []int)

func (*NotebookStatus) Marshal

func (m *NotebookStatus) Marshal() (dAtA []byte, err error)

func (*NotebookStatus) MarshalTo

func (m *NotebookStatus) MarshalTo(dAtA []byte) (int, error)

func (*NotebookStatus) MarshalToSizedBuffer

func (m *NotebookStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NotebookStatus) ProtoMessage

func (*NotebookStatus) ProtoMessage()

func (*NotebookStatus) Reset

func (m *NotebookStatus) Reset()

func (*NotebookStatus) Size

func (m *NotebookStatus) Size() (n int)

func (*NotebookStatus) String

func (this *NotebookStatus) String() string

func (*NotebookStatus) Unmarshal

func (m *NotebookStatus) Unmarshal(dAtA []byte) error

func (*NotebookStatus) XXX_DiscardUnknown

func (m *NotebookStatus) XXX_DiscardUnknown()

func (*NotebookStatus) XXX_Marshal

func (m *NotebookStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NotebookStatus) XXX_Merge

func (m *NotebookStatus) XXX_Merge(src proto.Message)

func (*NotebookStatus) XXX_Size

func (m *NotebookStatus) XXX_Size() int

func (*NotebookStatus) XXX_Unmarshal

func (m *NotebookStatus) XXX_Unmarshal(b []byte) error

type NotebookVarValue

type NotebookVarValue struct {
	Name  string `json:"name" protobuf:"bytes,1,opt,name=name"`
	Value string `json:"value" protobuf:"bytes,2,opt,name=value"`
}

NotebookVarValue is an assignment of value to the notebook var

func (*NotebookVarValue) DeepCopy

func (in *NotebookVarValue) DeepCopy() *NotebookVarValue

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotebookVarValue.

func (*NotebookVarValue) DeepCopyInto

func (in *NotebookVarValue) DeepCopyInto(out *NotebookVarValue)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NotebookVarValue) Descriptor

func (*NotebookVarValue) Descriptor() ([]byte, []int)

func (*NotebookVarValue) Marshal

func (m *NotebookVarValue) Marshal() (dAtA []byte, err error)

func (*NotebookVarValue) MarshalTo

func (m *NotebookVarValue) MarshalTo(dAtA []byte) (int, error)

func (*NotebookVarValue) MarshalToSizedBuffer

func (m *NotebookVarValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NotebookVarValue) ProtoMessage

func (*NotebookVarValue) ProtoMessage()

func (*NotebookVarValue) Reset

func (m *NotebookVarValue) Reset()

func (*NotebookVarValue) Size

func (m *NotebookVarValue) Size() (n int)

func (*NotebookVarValue) String

func (this *NotebookVarValue) String() string

func (*NotebookVarValue) Unmarshal

func (m *NotebookVarValue) Unmarshal(dAtA []byte) error

func (*NotebookVarValue) XXX_DiscardUnknown

func (m *NotebookVarValue) XXX_DiscardUnknown()

func (*NotebookVarValue) XXX_Marshal

func (m *NotebookVarValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NotebookVarValue) XXX_Merge

func (m *NotebookVarValue) XXX_Merge(src proto.Message)

func (*NotebookVarValue) XXX_Size

func (m *NotebookVarValue) XXX_Size() int

func (*NotebookVarValue) XXX_Unmarshal

func (m *NotebookVarValue) XXX_Unmarshal(b []byte) error

type OptimizerName

type OptimizerName string
const (
	OptimizerNameSGD      OptimizerName = "sgd"
	OptimizerNameRMSprop  OptimizerName = "rmsprop"
	OptimizerNameAdagrad  OptimizerName = "adagrad"
	OptimizerNameAdadelta OptimizerName = "adadelta"
	OptimizerNameAdam     OptimizerName = "adam"
	OptimizerNameAdamax   OptimizerName = "adamax"
	OptimizerNameNadam    OptimizerName = "nadam"
)

type PeriodSeasonalitySpec

type PeriodSeasonalitySpec struct {
	// Is this seasonality enabled
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" protobuf:"varint,1,opt,name=enabled"`
	// If enabled, the number of data points in the interval
	// +kubebuilder:default:=0
	// +kubebuilder:validation:Optional
	Periods *int32 `json:"periods,omitempty" protobuf:"varint,2,opt,name=periods"`
	// +kubebuilder:default:="auto"
	// +kubebuilder:validation:Optional
	Mode *catalog.SeasonalityMode `json:"mode,omitempty" protobuf:"bytes,3,opt,name=mode"`
}

Define the seasonality for a period (yearly / monthly / daily)

func (*PeriodSeasonalitySpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeriodSeasonalitySpec.

func (*PeriodSeasonalitySpec) DeepCopyInto

func (in *PeriodSeasonalitySpec) DeepCopyInto(out *PeriodSeasonalitySpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PeriodSeasonalitySpec) Descriptor

func (*PeriodSeasonalitySpec) Descriptor() ([]byte, []int)

func (*PeriodSeasonalitySpec) Marshal

func (m *PeriodSeasonalitySpec) Marshal() (dAtA []byte, err error)

func (*PeriodSeasonalitySpec) MarshalTo

func (m *PeriodSeasonalitySpec) MarshalTo(dAtA []byte) (int, error)

func (*PeriodSeasonalitySpec) MarshalToSizedBuffer

func (m *PeriodSeasonalitySpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PeriodSeasonalitySpec) ProtoMessage

func (*PeriodSeasonalitySpec) ProtoMessage()

func (*PeriodSeasonalitySpec) Reset

func (m *PeriodSeasonalitySpec) Reset()

func (*PeriodSeasonalitySpec) Size

func (m *PeriodSeasonalitySpec) Size() (n int)

func (*PeriodSeasonalitySpec) String

func (this *PeriodSeasonalitySpec) String() string

func (*PeriodSeasonalitySpec) Unmarshal

func (m *PeriodSeasonalitySpec) Unmarshal(dAtA []byte) error

func (*PeriodSeasonalitySpec) XXX_DiscardUnknown

func (m *PeriodSeasonalitySpec) XXX_DiscardUnknown()

func (*PeriodSeasonalitySpec) XXX_Marshal

func (m *PeriodSeasonalitySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PeriodSeasonalitySpec) XXX_Merge

func (m *PeriodSeasonalitySpec) XXX_Merge(src proto.Message)

func (*PeriodSeasonalitySpec) XXX_Size

func (m *PeriodSeasonalitySpec) XXX_Size() int

func (*PeriodSeasonalitySpec) XXX_Unmarshal

func (m *PeriodSeasonalitySpec) XXX_Unmarshal(b []byte) error

type PeriodSpec

type PeriodSpec struct {
	// The period interval
	// +kubebuilder:validation:Optional
	Interval *catalog.Freq `json:"interval,omitempty" protobuf:"bytes,1,opt,name=interval"`
	// The number of intervals to start
	// +kubebuilder:default:=0
	// +kubebuilder:validation:Optional
	Start *int32 `json:"start,omitempty" protobuf:"varint,2,opt,name=start"`
	// The windows end day
	// +kubebuilder:validation:Optional
	Length *int32 `json:"length,omitempty" protobuf:"varint,3,opt,name=length"`
}

Define a range of time series data points

func (*PeriodSpec) DeepCopy

func (in *PeriodSpec) DeepCopy() *PeriodSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeriodSpec.

func (*PeriodSpec) DeepCopyInto

func (in *PeriodSpec) DeepCopyInto(out *PeriodSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PeriodSpec) Descriptor

func (*PeriodSpec) Descriptor() ([]byte, []int)

func (*PeriodSpec) Marshal

func (m *PeriodSpec) Marshal() (dAtA []byte, err error)

func (*PeriodSpec) MarshalTo

func (m *PeriodSpec) MarshalTo(dAtA []byte) (int, error)

func (*PeriodSpec) MarshalToSizedBuffer

func (m *PeriodSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PeriodSpec) ProtoMessage

func (*PeriodSpec) ProtoMessage()

func (*PeriodSpec) Reset

func (m *PeriodSpec) Reset()

func (*PeriodSpec) Size

func (m *PeriodSpec) Size() (n int)

func (*PeriodSpec) String

func (this *PeriodSpec) String() string

func (*PeriodSpec) Unmarshal

func (m *PeriodSpec) Unmarshal(dAtA []byte) error

func (*PeriodSpec) XXX_DiscardUnknown

func (m *PeriodSpec) XXX_DiscardUnknown()

func (*PeriodSpec) XXX_Marshal

func (m *PeriodSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PeriodSpec) XXX_Merge

func (m *PeriodSpec) XXX_Merge(src proto.Message)

func (*PeriodSpec) XXX_Size

func (m *PeriodSpec) XXX_Size() int

func (*PeriodSpec) XXX_Unmarshal

func (m *PeriodSpec) XXX_Unmarshal(b []byte) error

type PipelinePhase

type PipelinePhase string
const (
	PipelinePhasePending            PipelinePhase = "Pending"
	PipelinePhaseTraining           PipelinePhase = "Training"
	PipelinePhasePublishing         PipelinePhase = "Publishing"
	PipelinePhaseSmokeTest          PipelinePhase = "SmokeTest"
	PipelinePhasePredictorSetup     PipelinePhase = "PredictorSetup"
	PipelinePhaseTesting            PipelinePhase = "Testing"
	PipelinePhaseWaitingForApproval PipelinePhase = "WaitingForApproval"
	PipelinePhaseApproved           PipelinePhase = "Approved"
	PipelinePhaseRunning            PipelinePhase = "Running"
	PipelinePhaseFailed             PipelinePhase = "Failed"
	PipelinePhaseAborted            PipelinePhase = "Aborted"
	PipelinePhaseMonitoring         PipelinePhase = "Monitoring"
	PipelinePhaseNeedRetraining     PipelinePhase = "NeedRetraining"
)

type PipelineRunConditionType

type PipelineRunConditionType string

Pipeline run condition

const (
	MPRSaved                  PipelineRunConditionType = "Saved"
	MPRDataStageCompleted     PipelineRunConditionType = "DataStageCompleted"
	MPRTrainingStageCompleted PipelineRunConditionType = "TrainingStageCompleted"
	MPRUATCompleted           PipelineRunConditionType = "UATStageCompleted"
	MPRCapacityStageCompleted PipelineRunConditionType = "CapacityStageCompleted"
	MPRModelDeployed          PipelineRunConditionType = "ModelDeployed"
	MPRModelReleased          PipelineRunConditionType = "ModelReleased"
	MPRModelMonitored         PipelineRunConditionType = "Monitored"
	MPRRetrained              PipelineRunConditionType = "Retrained"
)

/ ModelPipelineRun Condition

type PrunerName

type PrunerName string

+kubebuilder:validation:Enum="none";"patient";"median";"percentile";"sh";"hyperband";"threshold";

const (
	NonePruner      PrunerName = "none"
	PatientPruner   PrunerName = "patient"
	MedianPruner    PrunerName = "median"
	PrcentilePruner PrunerName = "percentile"
	SHPruner        PrunerName = "sh"
	HyperbandPruner PrunerName = "hyperband"
)

type PrunerSpec

type PrunerSpec struct {
	// The pruner to use during model search.
	// +kubebuilder:default:=median
	// +kubebuilder:validation:Optional
	Type *PrunerName `json:"type,omitempty" protobuf:"bytes,1,opt,name=type"`
	// Pruning is disabled until the given number of trials finish in the same study.
	// +kubebuilder:default:=5
	// +kubebuilder:validation:Optional
	StartupTrials *int32 `json:"startupTrials,omitempty" protobuf:"varint,2,opt,name=startupTrials"`
	//  Pruning is disabled until the trial exceeds the given number of step
	// +kubebuilder:default:=0
	// +kubebuilder:validation:Optional
	WarmupTrials *int32 `json:"warmupTrials,omitempty" protobuf:"varint,3,opt,name=warmupTrials"`
	// Minimum number of reported trials.
	// +kubebuilder:default:=1
	// +kubebuilder:validation:Optional
	MinimumTrials *int32 `json:"minTrials,omitempty" protobuf:"varint,4,opt,name=minTrials"`
	// Interval in number of steps between the pruning checks
	// +kubebuilder:default:=1
	// +kubebuilder:validation:Optional
	IntervalSteps *int32 `json:"intervalTrials,omitempty" protobuf:"varint,5,opt,name=intervalTrials"`
	// Keep specific percent of trials. Used only with percentile pruner
	// +kubebuilder:default:=25
	// +kubebuilder:validation:Minimum=0
	// +kubebuilder:validation:Maximum=100
	// +kubebuilder:validation:Optional
	Percentile *int32 `json:"percentile,omitempty" protobuf:"varint,6,opt,name=percentile"`
	// A minimum value which determines whether pruner prunes or not. Used only for threshold pruner
	// +kubebuilder:default:=0
	// +kubebuilder:validation:Optional
	Lower *int32 `json:"lower,omitempty" protobuf:"varint,7,opt,name=lower"`
	// A maximum value which determines whether pruner prunes or not. Used only for threshold pruner
	// +kubebuilder:default:=0
	// +kubebuilder:validation:Optional
	Upper *int32 `json:"upper,omitempty" protobuf:"varint,8,opt,name=upper"`
	// SHOptions is the desired options for successive halving search.
	// All other models are saved into an archive.
	// +kubebuilder:validation:Optional
	SHOptions SuccessiveHalvingOptions `json:"shOptions,omitempty" protobuf:"bytes,9,opt,name=shOptions"`
}

func (*PrunerSpec) DeepCopy

func (in *PrunerSpec) DeepCopy() *PrunerSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrunerSpec.

func (*PrunerSpec) DeepCopyInto

func (in *PrunerSpec) DeepCopyInto(out *PrunerSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PrunerSpec) Default

func (pspec *PrunerSpec) Default()

func (*PrunerSpec) Descriptor

func (*PrunerSpec) Descriptor() ([]byte, []int)

func (*PrunerSpec) Marshal

func (m *PrunerSpec) Marshal() (dAtA []byte, err error)

func (*PrunerSpec) MarshalTo

func (m *PrunerSpec) MarshalTo(dAtA []byte) (int, error)

func (*PrunerSpec) MarshalToSizedBuffer

func (m *PrunerSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PrunerSpec) ProtoMessage

func (*PrunerSpec) ProtoMessage()

func (*PrunerSpec) Reset

func (m *PrunerSpec) Reset()

func (*PrunerSpec) Size

func (m *PrunerSpec) Size() (n int)

func (*PrunerSpec) String

func (this *PrunerSpec) String() string

func (*PrunerSpec) Unmarshal

func (m *PrunerSpec) Unmarshal(dAtA []byte) error

func (*PrunerSpec) XXX_DiscardUnknown

func (m *PrunerSpec) XXX_DiscardUnknown()

func (*PrunerSpec) XXX_Marshal

func (m *PrunerSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrunerSpec) XXX_Merge

func (m *PrunerSpec) XXX_Merge(src proto.Message)

func (*PrunerSpec) XXX_Size

func (m *PrunerSpec) XXX_Size() int

func (*PrunerSpec) XXX_Unmarshal

func (m *PrunerSpec) XXX_Unmarshal(b []byte) error

type RegressorSpec

type RegressorSpec struct {
	// The Name of the regressor
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`
	// The Name of the regressor
	// +kubebuilder:default:=0
	// +kubebuilder:validation:Optional
	PriorScale *float64 `json:"priorScale,omitempty" protobuf:"bytes,2,opt,name=priorScale"`
	// The Name of the regressor
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Standardize *bool `json:"standardize,omitempty" protobuf:"varint,3,opt,name=standardize"`
}

func (*RegressorSpec) DeepCopy

func (in *RegressorSpec) DeepCopy() *RegressorSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegressorSpec.

func (*RegressorSpec) DeepCopyInto

func (in *RegressorSpec) DeepCopyInto(out *RegressorSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RegressorSpec) Descriptor

func (*RegressorSpec) Descriptor() ([]byte, []int)

func (*RegressorSpec) Marshal

func (m *RegressorSpec) Marshal() (dAtA []byte, err error)

func (*RegressorSpec) MarshalTo

func (m *RegressorSpec) MarshalTo(dAtA []byte) (int, error)

func (*RegressorSpec) MarshalToSizedBuffer

func (m *RegressorSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RegressorSpec) ProtoMessage

func (*RegressorSpec) ProtoMessage()

func (*RegressorSpec) Reset

func (m *RegressorSpec) Reset()

func (*RegressorSpec) Size

func (m *RegressorSpec) Size() (n int)

func (*RegressorSpec) String

func (this *RegressorSpec) String() string

func (*RegressorSpec) Unmarshal

func (m *RegressorSpec) Unmarshal(dAtA []byte) error

func (*RegressorSpec) XXX_DiscardUnknown

func (m *RegressorSpec) XXX_DiscardUnknown()

func (*RegressorSpec) XXX_Marshal

func (m *RegressorSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RegressorSpec) XXX_Merge

func (m *RegressorSpec) XXX_Merge(src proto.Message)

func (*RegressorSpec) XXX_Size

func (m *RegressorSpec) XXX_Size() int

func (*RegressorSpec) XXX_Unmarshal

func (m *RegressorSpec) XXX_Unmarshal(b []byte) error

type ReleaseStageSpec

type ReleaseStageSpec struct {
	// Enabled indicates that we want to release the model into production
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" protobuf:"varint,1,opt,name=enabled"`
	// ServingSiteName is the serving site for the release, if empty, the system will use the default serving site name
	// +kubebuilder:default =""
	// +kubebuilder:validation:Optional
	ServingSiteName *string `json:"servingSiteName,omitempty" protobuf:"bytes,2,opt,name=servingSiteName"`
	// PredictorName is the release predictor. The predictor will be created if it does not exist.
	// +kubebuilder:default =""
	// +kubebuilder:validation:Optional
	PredictorName *string `json:"predictorName,omitempty" protobuf:"bytes,3,opt,name=predictorName"`
	// Template defines the default model deployment for this model
	// +kubebuilder:validation:Optional
	Template catalog.ModelDeploymentSpec `json:"template,omitempty" protobuf:"bytes,4,opt,name=template"`
	// ManualApproval dentoes if we need manual approval before advancing from deployed to released
	// By default a user is needed to approve the release to production
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	ManualApproval *bool `json:"manualApproval,omitempty" protobuf:"varint,5,opt,name=manualApproval"`
	// Validations is the List of expectation run against the deployed model before moving production traffic to the model
	// +kubebuilder:validation:Optional
	Validations []ModelValidation `json:"validations,omitempty" protobuf:"bytes,6,rep,name=validations"`
	// Resource define the hardware resources req.
	// +kubebuilder:validation:Optional
	Resources catalog.ResourceSpec `json:"resources,omitempty" protobuf:"bytes,7,opt,name=resources"`
}

func (*ReleaseStageSpec) DeepCopy

func (in *ReleaseStageSpec) DeepCopy() *ReleaseStageSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReleaseStageSpec.

func (*ReleaseStageSpec) DeepCopyInto

func (in *ReleaseStageSpec) DeepCopyInto(out *ReleaseStageSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ReleaseStageSpec) Descriptor

func (*ReleaseStageSpec) Descriptor() ([]byte, []int)

func (*ReleaseStageSpec) Marshal

func (m *ReleaseStageSpec) Marshal() (dAtA []byte, err error)

func (*ReleaseStageSpec) MarshalTo

func (m *ReleaseStageSpec) MarshalTo(dAtA []byte) (int, error)

func (*ReleaseStageSpec) MarshalToSizedBuffer

func (m *ReleaseStageSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ReleaseStageSpec) ProtoMessage

func (*ReleaseStageSpec) ProtoMessage()

func (*ReleaseStageSpec) Reset

func (m *ReleaseStageSpec) Reset()

func (*ReleaseStageSpec) Size

func (m *ReleaseStageSpec) Size() (n int)

func (*ReleaseStageSpec) String

func (this *ReleaseStageSpec) String() string

func (*ReleaseStageSpec) Unmarshal

func (m *ReleaseStageSpec) Unmarshal(dAtA []byte) error

func (*ReleaseStageSpec) XXX_DiscardUnknown

func (m *ReleaseStageSpec) XXX_DiscardUnknown()

func (*ReleaseStageSpec) XXX_Marshal

func (m *ReleaseStageSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReleaseStageSpec) XXX_Merge

func (m *ReleaseStageSpec) XXX_Merge(src proto.Message)

func (*ReleaseStageSpec) XXX_Size

func (m *ReleaseStageSpec) XXX_Size() int

func (*ReleaseStageSpec) XXX_Unmarshal

func (m *ReleaseStageSpec) XXX_Unmarshal(b []byte) error

type Report

type Report struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Spec              ReportSpec   `json:"spec" protobuf:"bytes,2,opt,name=spec"`
	Status            ReportStatus `json:"status,,omitempty" protobuf:"bytes,3,opt,name=status"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Owner",type="string",JSONPath=".spec.owner",priority=1 +kubebuilder:printcolumn:name="Version",type="string",JSONPath=".spec.versionName" +kubebuilder:printcolumn:name="Type",type="string",JSONPath=".spec.reportType" +kubebuilder:printcolumn:name="StartTime",type="date",JSONPath=".status.startTime" +kubebuilder:printcolumn:name="CompletionTime",type="date",JSONPath=".status.endTime" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",description="" +kubebuilder:resource:path=reports,singular=report,categories={training,modela,all} ReportName represent a report object. A report is a pdf report which contain images and tables about another object

func NewReport

func NewReport(
	ns string,
	name string,
	entity string,
	key string,
	reportType ReportType,
	bucketName string) *Report

func ParseReportYaml

func ParseReportYaml(content []byte) (*Report, error)

func (*Report) AddFinalizer

func (report *Report) AddFinalizer()

func (*Report) Age

func (report *Report) Age() string

func (*Report) CreateOrUpdateCond

func (report *Report) CreateOrUpdateCond(cond ReportCondition)

Merge or update condition

func (*Report) DeepCopy

func (in *Report) DeepCopy() *Report

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Report.

func (*Report) DeepCopyInto

func (in *Report) DeepCopyInto(out *Report)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Report) DeepCopyObject

func (in *Report) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Report) Default

func (report *Report) Default()

func (*Report) Descriptor

func (*Report) Descriptor() ([]byte, []int)

func (*Report) GetCond

func (report *Report) GetCond(t ReportConditionType) ReportCondition

func (*Report) GetCondIdx

func (report *Report) GetCondIdx(t ReportConditionType) int

func (*Report) HasFinalizer

func (report *Report) HasFinalizer() bool

func (*Report) IsDatasetReport

func (report *Report) IsDatasetReport() bool

func (*Report) IsForecastReport

func (report *Report) IsForecastReport() bool

func (*Report) IsModelReport

func (report *Report) IsModelReport() bool

func (*Report) IsReady

func (r *Report) IsReady() bool

func (*Report) IsSaved

func (report *Report) IsSaved() bool

func (*Report) IsStudyReport

func (report *Report) IsStudyReport() bool

func (*Report) Label

func (report *Report) Label(key string, value string)

func (*Report) ManifestUri

func (report *Report) ManifestUri() string

func (*Report) MarkReportFailed

func (report *Report) MarkReportFailed(err string)

func (*Report) MarkReportReady

func (report *Report) MarkReportReady(product *data.DataProduct)

func (*Report) MarkRunning

func (report *Report) MarkRunning()

func (*Report) MarkSaved

func (report *Report) MarkSaved()

func (*Report) Marshal

func (m *Report) Marshal() (dAtA []byte, err error)

func (*Report) MarshalTo

func (m *Report) MarshalTo(dAtA []byte) (int, error)

func (*Report) MarshalToSizedBuffer

func (m *Report) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Report) PdfUri

func (report *Report) PdfUri() string

dataproducts/*/models/*/bin/model.joblib

func (*Report) ProtoMessage

func (*Report) ProtoMessage()

func (*Report) RemoveFinalizer

func (report *Report) RemoveFinalizer()

func (*Report) Reset

func (m *Report) Reset()

func (*Report) RootUri

func (report *Report) RootUri() string

func (*Report) SetupWebhookWithManager

func (report *Report) SetupWebhookWithManager(mgr ctrl.Manager) error

Set up the webhook with the manager.

func (*Report) Size

func (m *Report) Size() (n int)

func (*Report) String

func (this *Report) String() string

func (*Report) ToYamlFile

func (report *Report) ToYamlFile() ([]byte, error)

func (*Report) Unmarshal

func (m *Report) Unmarshal(dAtA []byte) error

func (*Report) ValidateCreate

func (report *Report) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Report) ValidateDelete

func (report *Report) ValidateDelete() error

func (*Report) ValidateUpdate

func (report *Report) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

func (*Report) XXX_DiscardUnknown

func (m *Report) XXX_DiscardUnknown()

func (*Report) XXX_Marshal

func (m *Report) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Report) XXX_Merge

func (m *Report) XXX_Merge(src proto.Message)

func (*Report) XXX_Size

func (m *Report) XXX_Size() int

func (*Report) XXX_Unmarshal

func (m *Report) XXX_Unmarshal(b []byte) error

type ReportCondition

type ReportCondition struct {
	// Type of condition.
	Type ReportConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=ReportConditionType"`
	// Status of the condition, one of True, False, Unknown.
	Status v1.ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=k8s.io/api/core/v1.ConditionStatus"`
	// Last time the condition transitioned from one status to another.
	LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,4,opt,name=lastTransitionTime"`
	// The reason for the condition's last transition.
	Reason string `json:"reason,omitempty" protobuf:"bytes,5,opt,name=reason"`
	// A human readable message indicating details about the transition.
	Message string `json:"message,omitempty" protobuf:"bytes,6,opt,name=message"`
}

ReportCondition describes the state of a ReportName at a certain point.

func (*ReportCondition) DeepCopy

func (in *ReportCondition) DeepCopy() *ReportCondition

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReportCondition.

func (*ReportCondition) DeepCopyInto

func (in *ReportCondition) DeepCopyInto(out *ReportCondition)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ReportCondition) Descriptor

func (*ReportCondition) Descriptor() ([]byte, []int)

func (*ReportCondition) Marshal

func (m *ReportCondition) Marshal() (dAtA []byte, err error)

func (*ReportCondition) MarshalTo

func (m *ReportCondition) MarshalTo(dAtA []byte) (int, error)

func (*ReportCondition) MarshalToSizedBuffer

func (m *ReportCondition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ReportCondition) ProtoMessage

func (*ReportCondition) ProtoMessage()

func (*ReportCondition) Reset

func (m *ReportCondition) Reset()

func (*ReportCondition) Size

func (m *ReportCondition) Size() (n int)

func (*ReportCondition) String

func (this *ReportCondition) String() string

func (*ReportCondition) Unmarshal

func (m *ReportCondition) Unmarshal(dAtA []byte) error

func (*ReportCondition) XXX_DiscardUnknown

func (m *ReportCondition) XXX_DiscardUnknown()

func (*ReportCondition) XXX_Marshal

func (m *ReportCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReportCondition) XXX_Merge

func (m *ReportCondition) XXX_Merge(src proto.Message)

func (*ReportCondition) XXX_Size

func (m *ReportCondition) XXX_Size() int

func (*ReportCondition) XXX_Unmarshal

func (m *ReportCondition) XXX_Unmarshal(b []byte) error

type ReportConditionType

type ReportConditionType string

ReporteConditionType

const (
	// The report was generated
	ReportReady ReportConditionType = "Ready"
	// If the notifier is valid, the report was sent
	ReportSent ReportConditionType = "Sent"

	ReportSaved ReportConditionType = "Saved"
)

type ReportFormat

type ReportFormat string

+kubebuilder:validation:Enum="pdf"

const (
	Pdf ReportFormat = "pdf"
)

type ReportList

type ReportList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Items           []Report `json:"items" protobuf:"bytes,2,rep,name=items"`
}

+kubebuilder:object:root=true ReportList is a list of reports

func (*ReportList) DeepCopy

func (in *ReportList) DeepCopy() *ReportList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReportList.

func (*ReportList) DeepCopyInto

func (in *ReportList) DeepCopyInto(out *ReportList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ReportList) DeepCopyObject

func (in *ReportList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ReportList) Descriptor

func (*ReportList) Descriptor() ([]byte, []int)

func (*ReportList) Marshal

func (m *ReportList) Marshal() (dAtA []byte, err error)

func (*ReportList) MarshalTo

func (m *ReportList) MarshalTo(dAtA []byte) (int, error)

func (*ReportList) MarshalToSizedBuffer

func (m *ReportList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ReportList) ProtoMessage

func (*ReportList) ProtoMessage()

func (*ReportList) Reset

func (m *ReportList) Reset()

func (*ReportList) Size

func (m *ReportList) Size() (n int)

func (*ReportList) String

func (this *ReportList) String() string

func (*ReportList) Unmarshal

func (m *ReportList) Unmarshal(dAtA []byte) error

func (*ReportList) XXX_DiscardUnknown

func (m *ReportList) XXX_DiscardUnknown()

func (*ReportList) XXX_Marshal

func (m *ReportList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReportList) XXX_Merge

func (m *ReportList) XXX_Merge(src proto.Message)

func (*ReportList) XXX_Size

func (m *ReportList) XXX_Size() int

func (*ReportList) XXX_Unmarshal

func (m *ReportList) XXX_Unmarshal(b []byte) error

type ReportPhase

type ReportPhase string

ReportPhase is the current state of the report

const (
	ReportPhasePending   ReportPhase = "Pending"
	ReportPhaseRunning   ReportPhase = "Running"
	ReportPhaseCompleted ReportPhase = "Completed"
	ReportPhaseFailed    ReportPhase = "IsFailed"
)

/ Dataset Condition

type ReportRange

type ReportRange string

+kubebuilder:validation:Enum="last-24-hours";"last-7-days";"last-30-days";"last-90-days";"none"

const (
	ReportRangeLast24Hours ReportRange = "last-24-hours"
	ReportRangeLast7Days   ReportRange = "last-7-days"
	ReportRangeLast30Days  ReportRange = "last-30-days"
	ReportRangeLast90Days  ReportRange = "last-90-days"
	ReportRangeNone        ReportRange = "none"
)

type ReportSpec

type ReportSpec struct {
	// VersionName is the data product version name for this report.
	// +kubebuilder:default:="latest"
	// +kubebuilder:validation:Optional
	VersionName *string `json:"versionName,omitempty" protobuf:"bytes,1,opt,name=versionName"`
	// EntityRef specify the entity being report. Currently entities can be dataset,model or study
	EntityRef v1.ObjectReference `json:"entityRef,omitempty" protobuf:"bytes,2,opt,name=entityRef"`
	// Location is the report location in storage.
	// +kubebuilder:validation:Optional
	Location data.DataLocation `json:"location,omitempty" protobuf:"bytes,4,opt,name=location"`
	// ReportType specify the report type (e.g. classification / regression)
	// +kubebuilder:validation:Required
	// +required
	ReportType *ReportType `json:"reportType,omitempty" protobuf:"bytes,5,opt,name=reportType"`
	// Format specify the report format. default is pdf
	// +kubebuilder:default:=pdf
	// +kubebuilder:validation:Optional
	Format *ReportFormat `json:"format,omitempty" protobuf:"bytes,6,opt,name=format"`
	// NotifierName is a reference to the notifier that is used to send the report
	// +kubebuilder:validation:Optional
	NotifierName *string `json:"notifierName,omitempty" protobuf:"bytes,7,opt,name=notifierName"`
	// The owner account name
	// +kubebuilder:default:="no-one"
	// +kubebuilder:validation:Optional
	Owner *string `json:"owner,omitempty" protobuf:"bytes,8,opt,name=owner"`
	// Resources are hardware req.
	// +kubebuilder:validation:Optional
	Resources catalog.ResourceSpec `json:"resources,omitempty" protobuf:"bytes,9,opt,name=resources"`
	// ActiveDeadlineSeconds is the deadline of a job for this report.
	// +kubebuilder:default:=600
	// +kubebuilder:validation:Optional
	ActiveDeadlineSeconds *int64 `json:"activeDeadlineSeconds,omitempty" protobuf:"varint,10,opt,name=activeDeadlineSeconds"`
	// If the report is custom report, this field holds the specification
	// +kubebuilder:validation:Optional
	Custom CustomReportSpec `json:"custom,omitempty" protobuf:"bytes,11,opt,name=custom"`
}

ReportSpec specifies the desired state of the ReportName resource

func (*ReportSpec) DeepCopy

func (in *ReportSpec) DeepCopy() *ReportSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReportSpec.

func (*ReportSpec) DeepCopyInto

func (in *ReportSpec) DeepCopyInto(out *ReportSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ReportSpec) Descriptor

func (*ReportSpec) Descriptor() ([]byte, []int)

func (*ReportSpec) Marshal

func (m *ReportSpec) Marshal() (dAtA []byte, err error)

func (*ReportSpec) MarshalTo

func (m *ReportSpec) MarshalTo(dAtA []byte) (int, error)

func (*ReportSpec) MarshalToSizedBuffer

func (m *ReportSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ReportSpec) ProtoMessage

func (*ReportSpec) ProtoMessage()

func (*ReportSpec) Reset

func (m *ReportSpec) Reset()

func (*ReportSpec) Size

func (m *ReportSpec) Size() (n int)

func (*ReportSpec) String

func (this *ReportSpec) String() string

func (*ReportSpec) Unmarshal

func (m *ReportSpec) Unmarshal(dAtA []byte) error

func (*ReportSpec) XXX_DiscardUnknown

func (m *ReportSpec) XXX_DiscardUnknown()

func (*ReportSpec) XXX_Marshal

func (m *ReportSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReportSpec) XXX_Merge

func (m *ReportSpec) XXX_Merge(src proto.Message)

func (*ReportSpec) XXX_Size

func (m *ReportSpec) XXX_Size() int

func (*ReportSpec) XXX_Unmarshal

func (m *ReportSpec) XXX_Unmarshal(b []byte) error

type ReportStatus

type ReportStatus struct {
	// StartTime is the start time of the report was sent for generation
	// It is not guaranteed to be set in happens-before order across separate operations.
	// It is represented in RFC3339 form and is in UTC.
	// +kubebuilder:validation:Optional
	StartTime *metav1.Time `json:"startTime,omitempty" protobuf:"bytes,2,opt,name=startTime"`
	// EndTime is the time when the report ended generation and was uploaded to storage
	// be set in happens-before order across separate operations.
	// It is represented in RFC3339 form and is in UTC.
	// +kubebuilder:validation:Optional
	EndTime *metav1.Time `json:"endTime,omitempty" protobuf:"bytes,3,opt,name=endTime"`
	// Phase is the phase of the report
	// +kubebuilder:default:="Pending"
	// +kubebuilder:validation:Optional
	Phase ReportPhase `json:"phase,omitempty" protobuf:"bytes,4,opt,name=phase"`
	// URI is the report uri in the bucket
	// +kubebuilder:validation:Optional
	URI string `json:"uri,omitempty" protobuf:"bytes,5,opt,name=uri"`
	// ObservedGeneration is the Last generation that was acted on
	//+kubebuilder:validation:Optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,6,opt,name=observedGeneration"`
	// Update in case of terminal failure
	// Borrowed from cluster api controller
	//+kubebuilder:validation:Optional
	FailureReason *catalog.StatusError `json:"failureReason,omitempty" protobuf:"bytes,7,opt,name=failureReason"`
	// Update in case of terminal failure message
	//+kubebuilder:validation:Optional
	FailureMessage *string `json:"failureMessage,omitempty" protobuf:"bytes,8,opt,name=failureMessage"`

	// Holds the location of log paths
	//+kubebuilder:validation:Optional
	Logs catalog.Logs `json:"logs,omitempty" protobuf:"bytes,9,opt,name=logs"`

	// Last time the object was updated
	//+kubebuilder:validation:Optional
	LastUpdated *metav1.Time `json:"lastUpdated,omitempty" protobuf:"bytes,10,opt,name=lastUpdated"`

	// +patchMergeKey=type
	// +patchStrategy=merge
	// +kubebuilder:validation:Optional
	Conditions []ReportCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,11,rep,name=conditions"`
}

ReportStatus defines the observed state of the report.

func (*ReportStatus) DeepCopy

func (in *ReportStatus) DeepCopy() *ReportStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReportStatus.

func (*ReportStatus) DeepCopyInto

func (in *ReportStatus) DeepCopyInto(out *ReportStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ReportStatus) Descriptor

func (*ReportStatus) Descriptor() ([]byte, []int)

func (*ReportStatus) Marshal

func (m *ReportStatus) Marshal() (dAtA []byte, err error)

func (*ReportStatus) MarshalTo

func (m *ReportStatus) MarshalTo(dAtA []byte) (int, error)

func (*ReportStatus) MarshalToSizedBuffer

func (m *ReportStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ReportStatus) ProtoMessage

func (*ReportStatus) ProtoMessage()

func (*ReportStatus) Reset

func (m *ReportStatus) Reset()

func (*ReportStatus) Size

func (m *ReportStatus) Size() (n int)

func (*ReportStatus) String

func (this *ReportStatus) String() string

func (*ReportStatus) Unmarshal

func (m *ReportStatus) Unmarshal(dAtA []byte) error

func (*ReportStatus) XXX_DiscardUnknown

func (m *ReportStatus) XXX_DiscardUnknown()

func (*ReportStatus) XXX_Marshal

func (m *ReportStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReportStatus) XXX_Merge

func (m *ReportStatus) XXX_Merge(src proto.Message)

func (*ReportStatus) XXX_Size

func (m *ReportStatus) XXX_Size() int

func (*ReportStatus) XXX_Unmarshal

func (m *ReportStatus) XXX_Unmarshal(b []byte) error

type ReportTemplate

type ReportTemplate struct {
	Spec ReportSpec `json:"spec" protobuf:"bytes,1,opt,name=spec"`
}

func (*ReportTemplate) DeepCopy

func (in *ReportTemplate) DeepCopy() *ReportTemplate

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReportTemplate.

func (*ReportTemplate) DeepCopyInto

func (in *ReportTemplate) DeepCopyInto(out *ReportTemplate)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ReportTemplate) Descriptor

func (*ReportTemplate) Descriptor() ([]byte, []int)

func (*ReportTemplate) Marshal

func (m *ReportTemplate) Marshal() (dAtA []byte, err error)

func (*ReportTemplate) MarshalTo

func (m *ReportTemplate) MarshalTo(dAtA []byte) (int, error)

func (*ReportTemplate) MarshalToSizedBuffer

func (m *ReportTemplate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ReportTemplate) ProtoMessage

func (*ReportTemplate) ProtoMessage()

func (*ReportTemplate) Reset

func (m *ReportTemplate) Reset()

func (*ReportTemplate) Size

func (m *ReportTemplate) Size() (n int)

func (*ReportTemplate) String

func (this *ReportTemplate) String() string

func (*ReportTemplate) Unmarshal

func (m *ReportTemplate) Unmarshal(dAtA []byte) error

func (*ReportTemplate) XXX_DiscardUnknown

func (m *ReportTemplate) XXX_DiscardUnknown()

func (*ReportTemplate) XXX_Marshal

func (m *ReportTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReportTemplate) XXX_Merge

func (m *ReportTemplate) XXX_Merge(src proto.Message)

func (*ReportTemplate) XXX_Size

func (m *ReportTemplate) XXX_Size() int

func (*ReportTemplate) XXX_Unmarshal

func (m *ReportTemplate) XXX_Unmarshal(b []byte) error

type ReportType

type ReportType string

ReportType is the type of report +kubebuilder:validation:Enum="binary-classification-model";"forecast-model";"regression-model";"multi-classification-model";"text-classification-model";"classification-dataset";"forecast-dataset";"text-classification-dataset";"regression-dataset";"study-report";"feature-report";"invalid-report";"daily-report";"weekly-report";"monthly-report";"summary-report";

const (
	BinaryClassificationModelReport ReportType = "binary-classification-model"
	ForecastModelReport             ReportType = "forecast-model"
	RegressionModelReport           ReportType = "regression-model"
	MultiClassificationModelReport  ReportType = "multi-classification-model"
	TextClassificationModelReport   ReportType = "text-classification-model"

	ClassificationDatasetReport     ReportType = "classification-dataset"
	ForecastDatasetReport           ReportType = "forecast-dataset"
	TextClassificationDatasetReport ReportType = "text-classification-dataset"
	RegressionDatasetReport         ReportType = "regression-dataset"
	SummaryReport                   ReportType = "summary-report"
	CustomReport                    ReportType = "custom-report"

	StudyReport    ReportType = "study-report"
	ForecastReport ReportType = "forecast-report"
	FeatureReport  ReportType = "feature-report"
	InvalidReport  ReportType = "invalid-report"
)

func ConvertStringToReportType

func ConvertStringToReportType(s string) ReportType

type ResourceConsumption

type ResourceConsumption struct {
	Cpu float64 `json:"cpu,omitempty" protobuf:"bytes,1,opt,name=cpu"`
	Mem float64 `json:"mem,omitempty" protobuf:"bytes,2,opt,name=mem"`
	Gpu float64 `json:"gpu,omitempty" protobuf:"bytes,3,opt,name=gpu"`
}

Represent the feature consumption.

func (*ResourceConsumption) DeepCopy

func (in *ResourceConsumption) DeepCopy() *ResourceConsumption

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceConsumption.

func (*ResourceConsumption) DeepCopyInto

func (in *ResourceConsumption) DeepCopyInto(out *ResourceConsumption)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ResourceConsumption) Descriptor

func (*ResourceConsumption) Descriptor() ([]byte, []int)

func (*ResourceConsumption) Marshal

func (m *ResourceConsumption) Marshal() (dAtA []byte, err error)

func (*ResourceConsumption) MarshalTo

func (m *ResourceConsumption) MarshalTo(dAtA []byte) (int, error)

func (*ResourceConsumption) MarshalToSizedBuffer

func (m *ResourceConsumption) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResourceConsumption) ProtoMessage

func (*ResourceConsumption) ProtoMessage()

func (*ResourceConsumption) Reset

func (m *ResourceConsumption) Reset()

func (*ResourceConsumption) Size

func (m *ResourceConsumption) Size() (n int)

func (*ResourceConsumption) String

func (this *ResourceConsumption) String() string

func (*ResourceConsumption) Unmarshal

func (m *ResourceConsumption) Unmarshal(dAtA []byte) error

func (*ResourceConsumption) XXX_DiscardUnknown

func (m *ResourceConsumption) XXX_DiscardUnknown()

func (*ResourceConsumption) XXX_Marshal

func (m *ResourceConsumption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResourceConsumption) XXX_Merge

func (m *ResourceConsumption) XXX_Merge(src proto.Message)

func (*ResourceConsumption) XXX_Size

func (m *ResourceConsumption) XXX_Size() int

func (*ResourceConsumption) XXX_Unmarshal

func (m *ResourceConsumption) XXX_Unmarshal(b []byte) error

type SamplerName

type SamplerName string

+kubebuilder:validation:Enum="random";"grid";"bayesian";"tpe";"manual";"auto";

const (
	RandomSearch     SamplerName = "random"
	GridSearch       SamplerName = "grid"
	BayesianSearch   SamplerName = "bayesian"
	TPESearch        SamplerName = "tpe"
	ManualSearch     SamplerName = "manual"
	AutoSearchMethod SamplerName = "auto"
)

type SearchSpec

type SearchSpec struct {
	// Type specify the hyper parameter optimization search method.
	// The only supported value is random
	// +kubebuilder:default:=random
	// +kubebuilder:validation:Optional
	Sampler *SamplerName `json:"sampler,omitempty" protobuf:"bytes,1,opt,name=sampler"`
	// The pruner to use during model search.
	// +kubebuilder:validation:Optional
	Pruner PrunerSpec `json:"pruner,omitempty" protobuf:"bytes,2,opt,name=pruner"`
	// MaxCost specify what is the maximum cost incurred before
	// stopping model creations
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:=100
	// +kubebuilder:validation:Minimum=1
	// +kubebuilder:validation:Maximum=1000
	MaxCost *int32 `json:"maxCost,omitempty" protobuf:"varint,3,opt,name=maxCost"`
	// MaxTime specify what is the maximum time allocated to a study (in minutes).
	// the cross validation stage.
	// +kubebuilder:default:=30
	// +kubebuilder:validation:Minimum=1
	// +kubebuilder:validation:Maximum=10000
	// +kubebuilder:validation:Optional
	MaxTime *int32 `json:"maxTime,omitempty" protobuf:"varint,4,opt,name=maxTime"`
	// Used for random search, the max models sampled.
	// +kubebuilder:default:=10
	// +kubebuilder:validation:Minimum=1
	// +kubebuilder:validation:Maximum=1000
	// +kubebuilder:validation:Optional
	MaxModels *int32 `json:"maxModels,omitempty" protobuf:"varint,5,opt,name=maxModels"`
	// The minimum score by which the search would stop
	// +kubebuilder:default:=0
	// +kubebuilder:validation:Optional
	MinScore *float64 `json:"minScore,omitempty" protobuf:"bytes,6,opt,name=minScore"`
	// The desired number of trainers running during search.
	// +kubebuilder:default:=1
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:Maximum=50
	// +kubebuilder:validation:Minimum=0
	Trainers *int32 `json:"trainers,omitempty" protobuf:"varint,7,opt,name=trainers"`
	// Test indicate the desired number of models that should be passed to the testing phase.
	// +kubebuilder:default:=1
	// +kubebuilder:validation:Minimum=1
	// +kubebuilder:validation:Maximum=5
	Test *int32 `json:"test,omitempty" protobuf:"varint,8,opt,name=test"`
	// Indicate the total number of full models that would be retain in etcd.
	// All other models are garbage collected (archived).
	// models are sorted by their objective score.
	// +kubebuilder:default:=10
	// +kubebuilder:validation:Minimum=0
	// +kubebuilder:validation:Maximum=100
	RetainTop *int32 `json:"retainTop,omitempty" protobuf:"varint,9,opt,name=retainTop"`
	// RetainFor measure the time in minutes for modela trained. Default is 60 min (1 H).
	// +kubebuilder:default:=60
	// +kubebuilder:validation:Minimum=0
	// +kubebuilder:validation:Maximum=2400
	RetainFor *int32 `json:"retainedFor,omitempty" protobuf:"varint,10,opt,name=retainedFor"`
	// Define the algorithm search space.
	// +kubebuilder:validation:Optional
	SearchSpace AlgorithmSearchSpaceSpec `json:"searchSpace,omitempty" protobuf:"bytes,11,opt,name=searchSpace"`
	// If larget than 0, stop the search if no change in best score occur. By default we do not early stop.
	// +kubebuilder:default:=0
	// +kubebuilder:validation:Optional
	EarlyStopAfter *int32 `json:"earlyStopAfter,omitempty" protobuf:"varint,12,opt,name=earlyStopAfter"`
	// If true, keep only the top model from an algorithm
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	KeepOnlyTopModel *bool `json:"keepOnlyTopModel,omitempty" protobuf:"varint,13,opt,name=keepOnlyTopModel"`
	// Objective is the objective defined how the study controller will compare model performance.
	// +kubebuilder:validation:Optional
	Objective *catalog.Metric `json:"objective,omitempty" protobuf:"bytes,14,opt,name=objective"`
	// Objective2 is the second objective to consider during optimization.
	// +kubebuilder:default:="none"
	// +kubebuilder:validation:Optional
	Objective2 *catalog.Metric `json:"objective2,omitempty" protobuf:"bytes,15,opt,name=objective2"`
}

ModelSearchSpec the constraint on the training process. The values are assigned to the model from the study.

func (*SearchSpec) DeepCopy

func (in *SearchSpec) DeepCopy() *SearchSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SearchSpec.

func (*SearchSpec) DeepCopyInto

func (in *SearchSpec) DeepCopyInto(out *SearchSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SearchSpec) Default

func (ms *SearchSpec) Default(task *catalog.MLTask)

func (*SearchSpec) Descriptor

func (*SearchSpec) Descriptor() ([]byte, []int)

func (*SearchSpec) Marshal

func (m *SearchSpec) Marshal() (dAtA []byte, err error)

func (*SearchSpec) MarshalTo

func (m *SearchSpec) MarshalTo(dAtA []byte) (int, error)

func (*SearchSpec) MarshalToSizedBuffer

func (m *SearchSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SearchSpec) ProtoMessage

func (*SearchSpec) ProtoMessage()

func (*SearchSpec) Reset

func (m *SearchSpec) Reset()

func (*SearchSpec) Size

func (m *SearchSpec) Size() (n int)

func (*SearchSpec) String

func (this *SearchSpec) String() string

func (*SearchSpec) Unmarshal

func (m *SearchSpec) Unmarshal(dAtA []byte) error

func (*SearchSpec) XXX_DiscardUnknown

func (m *SearchSpec) XXX_DiscardUnknown()

func (*SearchSpec) XXX_Marshal

func (m *SearchSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SearchSpec) XXX_Merge

func (m *SearchSpec) XXX_Merge(src proto.Message)

func (*SearchSpec) XXX_Size

func (m *SearchSpec) XXX_Size() int

func (*SearchSpec) XXX_Unmarshal

func (m *SearchSpec) XXX_Unmarshal(b []byte) error

type SegmentSpec

type SegmentSpec struct {
	// The dataset column name
	// +kubebuilder:validation:Required
	// +required
	ColumnName *string `json:"columnName,omitempty" protobuf:"bytes,1,opt,name=columnName"`
	// The segment operation
	// +kubebuilder:validation:Required
	// +required
	OP *catalog.Op `json:"op,omitempty" protobuf:"bytes,2,opt,name=op"`
	// The value operation
	// +kubebuilder:validation:Required
	// +required
	Value *string `json:"value,omitempty" protobuf:"bytes,3,opt,name=value"`
}

func (*SegmentSpec) DeepCopy

func (in *SegmentSpec) DeepCopy() *SegmentSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SegmentSpec.

func (*SegmentSpec) DeepCopyInto

func (in *SegmentSpec) DeepCopyInto(out *SegmentSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SegmentSpec) Descriptor

func (*SegmentSpec) Descriptor() ([]byte, []int)

func (*SegmentSpec) Marshal

func (m *SegmentSpec) Marshal() (dAtA []byte, err error)

func (*SegmentSpec) MarshalTo

func (m *SegmentSpec) MarshalTo(dAtA []byte) (int, error)

func (*SegmentSpec) MarshalToSizedBuffer

func (m *SegmentSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SegmentSpec) ProtoMessage

func (*SegmentSpec) ProtoMessage()

func (*SegmentSpec) Reset

func (m *SegmentSpec) Reset()

func (*SegmentSpec) Size

func (m *SegmentSpec) Size() (n int)

func (*SegmentSpec) String

func (this *SegmentSpec) String() string

func (*SegmentSpec) Unmarshal

func (m *SegmentSpec) Unmarshal(dAtA []byte) error

func (*SegmentSpec) XXX_DiscardUnknown

func (m *SegmentSpec) XXX_DiscardUnknown()

func (*SegmentSpec) XXX_Marshal

func (m *SegmentSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SegmentSpec) XXX_Merge

func (m *SegmentSpec) XXX_Merge(src proto.Message)

func (*SegmentSpec) XXX_Size

func (m *SegmentSpec) XXX_Size() int

func (*SegmentSpec) XXX_Unmarshal

func (m *SegmentSpec) XXX_Unmarshal(b []byte) error

type ServingSpec added in v0.4.399

type ServingSpec struct {
	Resources catalog.ResourceSpec `json:"resources,omitempty" protobuf:"bytes,1,opt,name=resources"`
}

Specification for serving this model

func (*ServingSpec) DeepCopy added in v0.4.399

func (in *ServingSpec) DeepCopy() *ServingSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServingSpec.

func (*ServingSpec) DeepCopyInto added in v0.4.399

func (in *ServingSpec) DeepCopyInto(out *ServingSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ServingSpec) Descriptor added in v0.4.399

func (*ServingSpec) Descriptor() ([]byte, []int)

func (*ServingSpec) Marshal added in v0.4.399

func (m *ServingSpec) Marshal() (dAtA []byte, err error)

func (*ServingSpec) MarshalTo added in v0.4.399

func (m *ServingSpec) MarshalTo(dAtA []byte) (int, error)

func (*ServingSpec) MarshalToSizedBuffer added in v0.4.399

func (m *ServingSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ServingSpec) ProtoMessage added in v0.4.399

func (*ServingSpec) ProtoMessage()

func (*ServingSpec) Reset added in v0.4.399

func (m *ServingSpec) Reset()

func (*ServingSpec) Size added in v0.4.399

func (m *ServingSpec) Size() (n int)

func (*ServingSpec) String added in v0.4.399

func (this *ServingSpec) String() string

func (*ServingSpec) Unmarshal added in v0.4.399

func (m *ServingSpec) Unmarshal(dAtA []byte) error

func (*ServingSpec) XXX_DiscardUnknown added in v0.4.399

func (m *ServingSpec) XXX_DiscardUnknown()

func (*ServingSpec) XXX_Marshal added in v0.4.399

func (m *ServingSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ServingSpec) XXX_Merge added in v0.4.399

func (m *ServingSpec) XXX_Merge(src proto.Message)

func (*ServingSpec) XXX_Size added in v0.4.399

func (m *ServingSpec) XXX_Size() int

func (*ServingSpec) XXX_Unmarshal added in v0.4.399

func (m *ServingSpec) XXX_Unmarshal(b []byte) error

type StageName

type StageName string

+kubebuilder:validation:Enum="data";"train";"uat";"capacity";"deployment";"release"

const (
	DataStage       StageName = "data"
	TrainStage      StageName = "training"
	UatStage        StageName = "uat"
	CapacityStage   StageName = "capacity"
	DeploymentStage StageName = "deployment"
	ReleaseStage    StageName = "release"
	MonitoringStage StageName = "monitoring"
	LabelingStage   StageName = "labeling"
)

type StageStatusPhase

type StageStatusPhase string
const (
	StageStatusPhaseRunning            StageStatusPhase = "Running"
	StageStatusPhaseTraining           StageStatusPhase = "Training"   // search and train for the best model
	StageStatusPhasePublishing         StageStatusPhase = "Publishing" // publish the model
	StageStatusPhaseUnitTests          StageStatusPhase = "UnitTesting"
	StageStatusPhaseReleasing          StageStatusPhase = "Releasing"
	StageStatusPhaseWaitingForApproval StageStatusPhase = "WaitingForApproval"
	StageStatusPhaseApproved           StageStatusPhase = "Approved"
	StageStatusPhaseDenied             StageStatusPhase = "Denied"
	StageStatusPhaseCompleted          StageStatusPhase = "Completed"
	StageStatusPhaseFailed             StageStatusPhase = "Failed"
)

type Study

type Study struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Spec              StudySpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status            StudyStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

Study represent a search for the best machine learning model using automl.

func NewStudy

func NewStudy(ns string, name string, dataset string) *Study

func ParseStudyYaml

func ParseStudyYaml(content []byte) (*Study, error)

func (*Study) Aborted

func (study *Study) Aborted() bool

func (*Study) AddFinalizer

func (study *Study) AddFinalizer()

func (*Study) AddPipelineLable

func (study *Study) AddPipelineLable(pipeline string)

func (*Study) Baselined

func (study *Study) Baselined() bool

func (*Study) CanStart

func (study *Study) CanStart() bool

func (*Study) CreateOrUpdateCond

func (study *Study) CreateOrUpdateCond(cond StudyCondition)

Merge or update condition

func (*Study) CreatePartitionsPaths

func (study *Study) CreatePartitionsPaths() []string

based on the levels in the study, create all the paths

func (*Study) CreateReport

func (study *Study) CreateReport(key string, bucketName string) *Report

func (*Study) DeepCopy

func (in *Study) DeepCopy() *Study

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Study.

func (*Study) DeepCopyInto

func (in *Study) DeepCopyInto(out *Study)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Study) DeepCopyObject

func (in *Study) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Study) Default

func (study *Study) Default()

func (*Study) DefaultBaselineEstimator added in v0.4.383

func (study *Study) DefaultBaselineEstimator(task catalog.MLTask) catalog.ClassicEstimatorName

func (*Study) DefaultFESearchEstimator added in v0.4.379

func (study *Study) DefaultFESearchEstimator(task catalog.MLTask) catalog.ClassicEstimatorName

func (*Study) Deleted

func (study *Study) Deleted() bool

func (*Study) Descriptor

func (*Study) Descriptor() ([]byte, []int)

func (*Study) EnsembleTrained

func (study *Study) EnsembleTrained() bool

func (*Study) Ensembled

func (study *Study) Ensembled() bool

func (*Study) FeatureEngineered

func (study *Study) FeatureEngineered() bool

func (*Study) GetCond

func (study *Study) GetCond(t StudyConditionType) StudyCondition

func (*Study) GetCondIdx

func (study *Study) GetCondIdx(t StudyConditionType) int

func (*Study) HasFinalizer

func (study *Study) HasFinalizer() bool

func (*Study) IsFailed

func (study *Study) IsFailed() bool

func (*Study) IsForecast

func (r *Study) IsForecast() bool

func (*Study) IsInCond

func (study *Study) IsInCond(ct StudyConditionType) bool

func (*Study) IsPartitioned

func (r *Study) IsPartitioned() bool

func (*Study) IsReady

func (r *Study) IsReady() bool

func (*Study) IsRunning

func (study *Study) IsRunning() bool

func (*Study) IsSearching added in v0.4.421

func (r *Study) IsSearching() bool

func (*Study) ManifestUri

func (study *Study) ManifestUri() string

func (*Study) MarkAbortFailed added in v0.4.449

func (study *Study) MarkAbortFailed(err string)

func (*Study) MarkAborted

func (study *Study) MarkAborted()

func (*Study) MarkBaselineFailed

func (study *Study) MarkBaselineFailed(err string)

func (*Study) MarkBaselined

func (study *Study) MarkBaselined()

func (*Study) MarkBaselining

func (study *Study) MarkBaselining()

func (*Study) MarkEnsembleFailed

func (study *Study) MarkEnsembleFailed(err string)

func (*Study) MarkEnsembleTrained

func (study *Study) MarkEnsembleTrained()

func (*Study) MarkEnsembled

func (study *Study) MarkEnsembled()

func (*Study) MarkEnsembling

func (study *Study) MarkEnsembling()

func (*Study) MarkFeatureEngineered

func (study *Study) MarkFeatureEngineered()

func (*Study) MarkFeatureEngineering

func (study *Study) MarkFeatureEngineering()

func (*Study) MarkFeatureEngineeringFailed

func (study *Study) MarkFeatureEngineeringFailed(err string)

func (*Study) MarkPartitioned

func (study *Study) MarkPartitioned() bool

func (*Study) MarkPartitionedFailed added in v0.4.448

func (study *Study) MarkPartitionedFailed(err string)

func (*Study) MarkPauseFailed added in v0.4.449

func (study *Study) MarkPauseFailed(err string)

func (*Study) MarkPaused

func (study *Study) MarkPaused()

func (*Study) MarkProfileFailed

func (study *Study) MarkProfileFailed(err string)

func (*Study) MarkProfiled

func (study *Study) MarkProfiled(url string)

func (*Study) MarkProfiling

func (study *Study) MarkProfiling()

func (*Study) MarkReady

func (study *Study) MarkReady()

func (*Study) MarkReportFailed

func (study *Study) MarkReportFailed(err string)

func (*Study) MarkReported

func (study *Study) MarkReported(name string)

func (*Study) MarkReporting

func (study *Study) MarkReporting()

func (*Study) MarkResumed

func (study *Study) MarkResumed()

func (*Study) MarkSaved

func (study *Study) MarkSaved()

func (*Study) MarkSearchFailed

func (study *Study) MarkSearchFailed(err string)

func (*Study) MarkSearched

func (study *Study) MarkSearched()

func (*Study) MarkSearching

func (study *Study) MarkSearching()

func (*Study) MarkSplitFailed

func (study *Study) MarkSplitFailed(err string)

func (*Study) MarkSplitted

func (study *Study) MarkSplitted()

func (*Study) MarkTested

func (study *Study) MarkTested()

func (*Study) MarkTesting

func (study *Study) MarkTesting()

func (*Study) MarkTestingFailed

func (study *Study) MarkTestingFailed(err string)

func (*Study) Marshal

func (m *Study) Marshal() (dAtA []byte, err error)

func (*Study) MarshalTo

func (m *Study) MarshalTo(dAtA []byte) (int, error)

func (*Study) MarshalToSizedBuffer

func (m *Study) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Study) MaxTimeOrModelReached

func (study *Study) MaxTimeOrModelReached() bool

Answer true if the cv period ended.

func (*Study) ModelTested

func (study *Study) ModelTested() bool

func (*Study) ModelsWaiting

func (s *Study) ModelsWaiting() bool

Tru if there are models waiting for test

func (*Study) OpName

func (study *Study) OpName() string

This is the operation name for the study.

func (*Study) Paused

func (study *Study) Paused() bool

------------------- Paused

func (*Study) Phase

func (study *Study) Phase() StudyPhase

Compute the current phase based on the condition

func (*Study) PipelineName

func (study *Study) PipelineName() string

func (*Study) PrintConditions

func (study *Study) PrintConditions()

func (*Study) Profiled

func (study *Study) Profiled() bool

func (*Study) ProtoMessage

func (*Study) ProtoMessage()

func (*Study) Random

func (study *Study) Random() bool

func (*Study) ReachedMaxFEModels

func (study *Study) ReachedMaxFEModels() bool

func (*Study) ReachedMaxFETime

func (study *Study) ReachedMaxFETime() bool

func (*Study) ReachedMaxModels

func (study *Study) ReachedMaxModels() bool

func (*Study) ReachedMaxTime

func (study *Study) ReachedMaxTime() bool

Enabled if we reached max time

func (*Study) Ready

func (study *Study) Ready() bool

func (*Study) RefreshProgress

func (study *Study) RefreshProgress()

func (*Study) RemoveFinalizer

func (study *Study) RemoveFinalizer()

func (*Study) ReportName

func (study *Study) ReportName() string

func (*Study) ReportUri

func (study *Study) ReportUri() string

dataproducts/*/studies/*/study-<name>-report.pdf

func (*Study) Reported

func (study *Study) Reported() bool

func (*Study) Reset

func (m *Study) Reset()

func (*Study) RootUri

func (study *Study) RootUri() string

func (*Study) Saved

func (study *Study) Saved() bool

func (*Study) Searched

func (study *Study) Searched() bool

func (*Study) SetStartTime

func (study *Study) SetStartTime()

func (*Study) SetTrainTest

func (study *Study) SetTrainTest(rows int32)

Set the train/test validation based on the number of rows

func (*Study) SetupCv

func (study *Study) SetupCv(rows int32)

use to sort the model by score

func (*Study) SetupWebhookWithManager

func (study *Study) SetupWebhookWithManager(mgr ctrl.Manager) error

Set up the webhook with the manager.

func (*Study) Size

func (m *Study) Size() (n int)

func (*Study) Splitted

func (study *Study) Splitted() bool

func (*Study) String

func (this *Study) String() string

func (*Study) Tested

func (study *Study) Tested() bool

func (*Study) ToYamlFile

func (study *Study) ToYamlFile() ([]byte, error)

func (*Study) Unmarshal

func (m *Study) Unmarshal(dAtA []byte) error

func (*Study) ValidateCreate

func (study *Study) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Study) ValidateDelete

func (study *Study) ValidateDelete() error

func (*Study) ValidateUpdate

func (study *Study) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

func (*Study) XXX_DiscardUnknown

func (m *Study) XXX_DiscardUnknown()

func (*Study) XXX_Marshal

func (m *Study) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Study) XXX_Merge

func (m *Study) XXX_Merge(src proto.Message)

func (*Study) XXX_Size

func (m *Study) XXX_Size() int

func (*Study) XXX_Unmarshal

func (m *Study) XXX_Unmarshal(b []byte) error

type StudyCondition

type StudyCondition struct {
	// Type of study condition.
	// +kubebuilder:validation:Optional
	Type StudyConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=StudyConditionType"`
	// Status of the condition, one of True, False, AutoScaler.
	// +kubebuilder:validation:Optional
	Status v1.ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=k8s.io/api/core/v1.ConditionStatus"`
	// Last time the condition transitioned from one status to another.
	// +kubebuilder:validation:Optional
	LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,4,opt,name=lastTransitionTime"`
	// The reason for the condition's last transition.
	// +kubebuilder:validation:Optional
	Reason string `json:"reason,omitempty" protobuf:"bytes,5,opt,name=reason"`
	// A human readable message indicating details about the transition.
	// +kubebuilder:validation:Optional
	Message string `json:"message,omitempty" protobuf:"bytes,6,opt,name=message"`
}

StudyCondition describes the state of a StudyName.

func (*StudyCondition) DeepCopy

func (in *StudyCondition) DeepCopy() *StudyCondition

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StudyCondition.

func (*StudyCondition) DeepCopyInto

func (in *StudyCondition) DeepCopyInto(out *StudyCondition)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*StudyCondition) Descriptor

func (*StudyCondition) Descriptor() ([]byte, []int)

func (*StudyCondition) Marshal

func (m *StudyCondition) Marshal() (dAtA []byte, err error)

func (*StudyCondition) MarshalTo

func (m *StudyCondition) MarshalTo(dAtA []byte) (int, error)

func (*StudyCondition) MarshalToSizedBuffer

func (m *StudyCondition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StudyCondition) ProtoMessage

func (*StudyCondition) ProtoMessage()

func (*StudyCondition) Reset

func (m *StudyCondition) Reset()

func (*StudyCondition) Size

func (m *StudyCondition) Size() (n int)

func (*StudyCondition) String

func (this *StudyCondition) String() string

func (*StudyCondition) Unmarshal

func (m *StudyCondition) Unmarshal(dAtA []byte) error

func (*StudyCondition) XXX_DiscardUnknown

func (m *StudyCondition) XXX_DiscardUnknown()

func (*StudyCondition) XXX_Marshal

func (m *StudyCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StudyCondition) XXX_Merge

func (m *StudyCondition) XXX_Merge(src proto.Message)

func (*StudyCondition) XXX_Size

func (m *StudyCondition) XXX_Size() int

func (*StudyCondition) XXX_Unmarshal

func (m *StudyCondition) XXX_Unmarshal(b []byte) error

type StudyConditionType

type StudyConditionType string

StudyConditionType is the condition on the study

const (
	// All the resources needed for training are allocated and ready.
	StudyInitialized StudyConditionType = "Initialized"
	// The search the best preprocessor is completed.
	StudySplitted StudyConditionType = "StudySplitted"
	// The search the best preprocessor is completed.
	StudyFeatureEngineered StudyConditionType = "StudyFeaturesEngineered"
	// The search the best preprocessor is completed.
	StudyBaselined StudyConditionType = "StudyBaselined"
	// The search for the best model candidates is completed.
	StudySearched StudyConditionType = "StudySearched"
	// true if we did ensamble training
	StudyEnsambleCreated StudyConditionType = "ModelsEnsembleCreated"
	// The best model candidate was tested on the full dataset.
	StudyTested StudyConditionType = "ModelTested"
	// True when we generated the reports.
	StudyReported StudyConditionType = "Reported"
	// True after we profiled the study
	StudyProfiled StudyConditionType = "Profiled"
	// True after we profiled the study
	StudyExplained StudyConditionType = "Explained"
	// True after we profiled the study
	StudyAborted StudyConditionType = "Aborted"
	// True after we profiled the study
	StudyPaused StudyConditionType = "Paused"
	// Study saved in database
	StudySaved StudyConditionType = "Saved"
	// Study ready state
	StudyCompleted StudyConditionType = "Completed"
	// Study is partitioned based on the partition key
	StudyPartitioned StudyConditionType = "Partitioned"
)

/ Study Condition

type StudyForecastSpec

type StudyForecastSpec struct {
	// Template to use for each model
	// +kubebuilder:validation:Optional
	Template ForecastSpec `json:"template,omitempty" protobuf:"bytes,1,opt,name=template"`
	// for multi level forecast
	// The group hierarchy
	// +kubebuilder:validation:Optional
	Hierarchy Hierarchy `json:"hierarchy,omitempty" protobuf:"bytes,2,opt,name=hierarchy"`
}

func (*StudyForecastSpec) DeepCopy

func (in *StudyForecastSpec) DeepCopy() *StudyForecastSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StudyForecastSpec.

func (*StudyForecastSpec) DeepCopyInto

func (in *StudyForecastSpec) DeepCopyInto(out *StudyForecastSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*StudyForecastSpec) Descriptor

func (*StudyForecastSpec) Descriptor() ([]byte, []int)

func (*StudyForecastSpec) Marshal

func (m *StudyForecastSpec) Marshal() (dAtA []byte, err error)

func (*StudyForecastSpec) MarshalTo

func (m *StudyForecastSpec) MarshalTo(dAtA []byte) (int, error)

func (*StudyForecastSpec) MarshalToSizedBuffer

func (m *StudyForecastSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StudyForecastSpec) ProtoMessage

func (*StudyForecastSpec) ProtoMessage()

func (*StudyForecastSpec) Reset

func (m *StudyForecastSpec) Reset()

func (*StudyForecastSpec) Size

func (m *StudyForecastSpec) Size() (n int)

func (*StudyForecastSpec) String

func (this *StudyForecastSpec) String() string

func (*StudyForecastSpec) Unmarshal

func (m *StudyForecastSpec) Unmarshal(dAtA []byte) error

func (*StudyForecastSpec) XXX_DiscardUnknown

func (m *StudyForecastSpec) XXX_DiscardUnknown()

func (*StudyForecastSpec) XXX_Marshal

func (m *StudyForecastSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StudyForecastSpec) XXX_Merge

func (m *StudyForecastSpec) XXX_Merge(src proto.Message)

func (*StudyForecastSpec) XXX_Size

func (m *StudyForecastSpec) XXX_Size() int

func (*StudyForecastSpec) XXX_Unmarshal

func (m *StudyForecastSpec) XXX_Unmarshal(b []byte) error

type StudyList

type StudyList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Items []Study `json:"items" protobuf:"bytes,2,rep,name=items"`
}

+kubebuilder:object:root=true StudyList is a list of Study

func (*StudyList) DeepCopy

func (in *StudyList) DeepCopy() *StudyList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StudyList.

func (*StudyList) DeepCopyInto

func (in *StudyList) DeepCopyInto(out *StudyList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*StudyList) DeepCopyObject

func (in *StudyList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*StudyList) Descriptor

func (*StudyList) Descriptor() ([]byte, []int)

func (*StudyList) Marshal

func (m *StudyList) Marshal() (dAtA []byte, err error)

func (*StudyList) MarshalTo

func (m *StudyList) MarshalTo(dAtA []byte) (int, error)

func (*StudyList) MarshalToSizedBuffer

func (m *StudyList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StudyList) ProtoMessage

func (*StudyList) ProtoMessage()

func (*StudyList) Reset

func (m *StudyList) Reset()

func (*StudyList) Size

func (m *StudyList) Size() (n int)

func (*StudyList) String

func (this *StudyList) String() string

func (*StudyList) Unmarshal

func (m *StudyList) Unmarshal(dAtA []byte) error

func (*StudyList) XXX_DiscardUnknown

func (m *StudyList) XXX_DiscardUnknown()

func (*StudyList) XXX_Marshal

func (m *StudyList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StudyList) XXX_Merge

func (m *StudyList) XXX_Merge(src proto.Message)

func (*StudyList) XXX_Size

func (m *StudyList) XXX_Size() int

func (*StudyList) XXX_Unmarshal

func (m *StudyList) XXX_Unmarshal(b []byte) error

type StudyPhase

type StudyPhase string

StudyPhase is the current phase of the study

const (
	StudyPhaseModelPending       StudyPhase = "Pending"
	StudyPhaseSpliting           StudyPhase = "Spliting"
	StudyPhaseSplitted           StudyPhase = "Splitted"
	StudyPhaseEngineeringFeature StudyPhase = "EngineeringFeatures"
	StudyPhaseFeatureEngineered  StudyPhase = "FeaturesEngineered"
	StudyPhaseBaeline            StudyPhase = "Baselining"
	StudyPhaseBaelined           StudyPhase = "Baselined"
	StudyPhaseSearching          StudyPhase = "Searching"
	StudyPhaseSearched           StudyPhase = "Searched"
	StudyPhaseCreatingEnsembles  StudyPhase = "CreatingEnsembles"
	StudyPhaseCreatedEnsembles   StudyPhase = "CreatedEnsembles"
	StudyPhaseTesting            StudyPhase = "Testing"
	StudyPhaseTested             StudyPhase = "Tested"
	StudyPhaseReported           StudyPhase = "Reported"
	StudyPhaseReporting          StudyPhase = "Reporting"
	StudyPhaseProfiling          StudyPhase = "Profiling"
	StudyPhaseProfiled           StudyPhase = "Profiled"
	StudyPhaseExplaining         StudyPhase = "Explaining"
	StudyPhaseExplained          StudyPhase = "Explained"
	StudyPhaseCompleted          StudyPhase = "Completed"
	StudyPhaseFailed             StudyPhase = "Failed"
	StudyPhaseAborted            StudyPhase = "Aborted"
	StudyPhasePaused             StudyPhase = "Paused"
)

type StudyPhaseStatus

type StudyPhaseStatus struct {
	// Start of the training phase
	// +kubebuilder:validation:Optional
	StartTime *metav1.Time `json:"startTime,omitempty" protobuf:"bytes,1,opt,name=startTime"`
	// End of the phase.
	// +kubebuilder:validation:Optional
	EndTime *metav1.Time `json:"endTime,omitempty" protobuf:"bytes,2,opt,name=endTime"`
	// models waiting for processing
	// +kubebuilder:validation:Optional
	Waiting int32 `json:"waiting,omitempty" protobuf:"varint,3,opt,name=waiting"`
	// models in training
	// +kubebuilder:validation:Optional
	Running int32 `json:"running,omitempty" protobuf:"varint,4,opt,name=running"`
	// models that failed
	// +kubebuilder:validation:Optional
	Failed int32 `json:"failed,omitempty" protobuf:"varint,5,opt,name=failed"`
	// models trained
	// +kubebuilder:validation:Optional
	Completed int32 `json:"completed,omitempty" protobuf:"varint,6,opt,name=completed"`
}

func (*StudyPhaseStatus) DeepCopy

func (in *StudyPhaseStatus) DeepCopy() *StudyPhaseStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StudyPhaseStatus.

func (*StudyPhaseStatus) DeepCopyInto

func (in *StudyPhaseStatus) DeepCopyInto(out *StudyPhaseStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*StudyPhaseStatus) Descriptor

func (*StudyPhaseStatus) Descriptor() ([]byte, []int)

func (*StudyPhaseStatus) Marshal

func (m *StudyPhaseStatus) Marshal() (dAtA []byte, err error)

func (*StudyPhaseStatus) MarshalTo

func (m *StudyPhaseStatus) MarshalTo(dAtA []byte) (int, error)

func (*StudyPhaseStatus) MarshalToSizedBuffer

func (m *StudyPhaseStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StudyPhaseStatus) ProtoMessage

func (*StudyPhaseStatus) ProtoMessage()

func (*StudyPhaseStatus) Reset

func (m *StudyPhaseStatus) Reset()

func (*StudyPhaseStatus) Size

func (m *StudyPhaseStatus) Size() (n int)

func (*StudyPhaseStatus) String

func (this *StudyPhaseStatus) String() string

func (*StudyPhaseStatus) Unmarshal

func (m *StudyPhaseStatus) Unmarshal(dAtA []byte) error

func (*StudyPhaseStatus) XXX_DiscardUnknown

func (m *StudyPhaseStatus) XXX_DiscardUnknown()

func (*StudyPhaseStatus) XXX_Marshal

func (m *StudyPhaseStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StudyPhaseStatus) XXX_Merge

func (m *StudyPhaseStatus) XXX_Merge(src proto.Message)

func (*StudyPhaseStatus) XXX_Size

func (m *StudyPhaseStatus) XXX_Size() int

func (*StudyPhaseStatus) XXX_Unmarshal

func (m *StudyPhaseStatus) XXX_Unmarshal(b []byte) error

type StudyScheduleSpec

type StudyScheduleSpec struct {
	// Indicate the all models should be tests
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" protobuf:"varint,1,opt,name=enabled"`
	// Set the start time, by default this is set to the start time of the study
	// +kubebuilder:validation:Optional
	StartAt *metav1.Time `json:"startAt,omitempty" protobuf:"bytes,2,opt,name=startAt"`
}

Study Schedule is used for cases where the study is scheduled to start at future date time.

func (*StudyScheduleSpec) DeepCopy

func (in *StudyScheduleSpec) DeepCopy() *StudyScheduleSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StudyScheduleSpec.

func (*StudyScheduleSpec) DeepCopyInto

func (in *StudyScheduleSpec) DeepCopyInto(out *StudyScheduleSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*StudyScheduleSpec) Descriptor

func (*StudyScheduleSpec) Descriptor() ([]byte, []int)

func (*StudyScheduleSpec) Marshal

func (m *StudyScheduleSpec) Marshal() (dAtA []byte, err error)

func (*StudyScheduleSpec) MarshalTo

func (m *StudyScheduleSpec) MarshalTo(dAtA []byte) (int, error)

func (*StudyScheduleSpec) MarshalToSizedBuffer

func (m *StudyScheduleSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StudyScheduleSpec) ProtoMessage

func (*StudyScheduleSpec) ProtoMessage()

func (*StudyScheduleSpec) Reset

func (m *StudyScheduleSpec) Reset()

func (*StudyScheduleSpec) Size

func (m *StudyScheduleSpec) Size() (n int)

func (*StudyScheduleSpec) String

func (this *StudyScheduleSpec) String() string

func (*StudyScheduleSpec) Unmarshal

func (m *StudyScheduleSpec) Unmarshal(dAtA []byte) error

func (*StudyScheduleSpec) XXX_DiscardUnknown

func (m *StudyScheduleSpec) XXX_DiscardUnknown()

func (*StudyScheduleSpec) XXX_Marshal

func (m *StudyScheduleSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StudyScheduleSpec) XXX_Merge

func (m *StudyScheduleSpec) XXX_Merge(src proto.Message)

func (*StudyScheduleSpec) XXX_Size

func (m *StudyScheduleSpec) XXX_Size() int

func (*StudyScheduleSpec) XXX_Unmarshal

func (m *StudyScheduleSpec) XXX_Unmarshal(b []byte) error

type StudySpec

type StudySpec struct {
	// VersionName is the data product version of the study
	// +kubebuilder:validation:MaxLength=63
	// +kubebuilder:default:=""
	// +kubebuilder:validation:Optional
	VersionName *string `json:"versionName" protobuf:"bytes,1,opt,name=versionName"`
	// Description is user provided description
	// +kubebuilder:default:=""
	// +kubebuilder:validation:MaxLength=512
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" protobuf:"bytes,2,opt,name=description"`
	// LabRef is a reference to the lab where the trainers for this study run.
	// If no value is provided, the lab is taken from the
	// +kubebuilder:validation:Optional
	LabRef *v1.ObjectReference `json:"labRef,omitempty" protobuf:"bytes,3,opt,name=labRef"`
	// DatasetName refer to the dataset object for which the study is for.
	// +kubebuilder:validation:Required
	// +required
	DatasetName *string `json:"datasetName" protobuf:"bytes,4,opt,name=datasetName"`
	// Task specify the machine learning task (e.g classification).
	// This must match the task of the data product.
	// +kubebuilder:validation:Required
	// +required
	Task *catalog.MLTask `json:"task" protobuf:"bytes,5,opt,name=task"`
	// Specification for feature engineereing
	// Default: all preprocessing is set to auto.
	// +kubebuilder:validation:Optional
	FeatureEngineeringSearch FeatureEngineeringSearchSpec `json:"feSearch,omitempty" protobuf:"bytes,6,opt,name=feSearch"`
	// Specification for the baseline phase
	// +kubebuilder:validation:Optional
	Baseline BaselineSpec `json:"baseline,omitempty" protobuf:"bytes,7,opt,name=baseline"`
	// Search defines the model search
	// +kubebuilder:validation:Optional
	Search SearchSpec `json:"search,omitempty" protobuf:"bytes,8,opt,name=search"`
	// Search defines the model search
	// +kubebuilder:validation:Optional
	Ensembles EnsemblesSpec `json:"ensembles,omitempty" protobuf:"bytes,9,opt,name=ensembles"`
	// Training template contain the desired training parameter for the models.
	// +kubebuilder:validation:Optional
	TrainingTemplate TrainingSpec `json:"trainingTemplate,omitempty" protobuf:"bytes,10,opt,name=trainingTemplate"`
	// Forecast template
	// +kubebuilder:validation:Optional
	ForecastSpec StudyForecastSpec `json:"forecast,omitempty" protobuf:"bytes,11,opt,name=forecast"`
	// Define when the schedule start
	// +kubebuilder:validation:Optional
	Schedule StudyScheduleSpec `json:"schedule,omitempty" protobuf:"bytes,12,opt,name=schedule"`
	// Define interpretability
	// +kubebuilder:validation:Optional
	Interpretability InterpretabilitySpec `json:"interpretability,omitempty" protobuf:"bytes,13,opt,name=interpretability"`
	// Aborted is set when we want to abort the training
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Aborted *bool `json:"aborted,omitempty" protobuf:"varint,14,opt,name=aborted"`
	// Reported is set when we want to create model report
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	Reported *bool `json:"reported,omitempty" protobuf:"varint,15,opt,name=reported"`
	// Paused is set when we want to pause the training
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Paused *bool `json:"paused,omitempty" protobuf:"varint,16,opt,name=paused"`
	// Profiled is set when we want to create model profile and study profile.
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	Profiled *bool `json:"profiled,omitempty" protobuf:"varint,17,opt,name=profiled"`
	// Set to true if you want the system to create a docker model image, at the end of training.
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	ModelPublished *bool `json:"modelPublished,omitempty" protobuf:"varint,18,opt,name=modelPublished"`
	// Set to true if you want the system to push model image to remote docker registry
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	ModelImagePushed *bool `json:"modelImagePushed,omitempty" protobuf:"varint,19,opt,name=modelImagePushed"`
	// Set to true if you want the system to push model image to remote docker registry
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	ModelBenchmarked *bool `json:"modelBenchmarked,omitempty" protobuf:"varint,20,opt,name=modelBenchmarked"`
	// Set to true if you want the system to create model explentation for the final models
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	ModelExplained *bool `json:"modelExplained,omitempty" protobuf:"varint,21,opt,name=modelExplained"`
	// The location of the study artifacts
	// By default the bucket is the data product bucket.
	// +kubebuilder:validation:Optional
	Location data.DataLocation `json:"location,omitempty" protobuf:"bytes,22,opt,name=location"`
	// The owner account name
	// +kubebuilder:default:="no-one"
	// +kubebuilder:validation:Optional
	Owner *string `json:"owner,omitempty" protobuf:"bytes,23,opt,name=owner"`
	// ActiveDeadlineSeconds is the deadline of a job for this study.
	// +kubebuilder:default:=600
	// +kubebuilder:validation:Minimum=0
	// +kubebuilder:validation:Optional
	ActiveDeadlineSeconds *int64 `json:"activeDeadlineSeconds,omitempty" protobuf:"varint,24,opt,name=activeDeadlineSeconds"`
	// This is the compiler spec for models. This spec will act as a template for the models created by the study
	//+kubebuilder:validation:Optional
	Compilation catalog.CompilerSpec `json:"compilation,omitempty" protobuf:"bytes,25,opt,name=compilation"`
	// Set to true if this study is a template
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Template *bool `json:"template,omitempty" protobuf:"varint,26,opt,name=template"`
	// Is this model flagged
	// +kubebuilder:validation:Optional
	Flagged *bool `json:"flagged,omitempty" protobuf:"varint,27,opt,name=flagged"`
	// Notification specification.
	//+kubebuilder:validation:Optional
	Notification catalog.NotificationSpec `json:"notification,omitempty" protobuf:"bytes,28,opt,name=notification"`
	// Model Image specification.
	//+kubebuilder:validation:Optional
	ModelImage ModelImageSpec `json:"modelImage,omitempty" protobuf:"bytes,29,opt,name=modelImage"`
	// Garbage Collection Spec
	//+kubebuilder:validation:Optional
	GC GarbageCollectionSpec `json:"gc,omitempty" protobuf:"bytes,30,opt,name=gc"`
	// TTL for models.
	// +kubebuilder:default:=0
	// +kubebuilder:validation:Optional
	TTL *int32 `json:"ttl,omitempty" protobuf:"varint,31,opt,name=ttl"`
}

StudySpec defines the desired state of the study

func (*StudySpec) DeepCopy

func (in *StudySpec) DeepCopy() *StudySpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StudySpec.

func (*StudySpec) DeepCopyInto

func (in *StudySpec) DeepCopyInto(out *StudySpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*StudySpec) Descriptor

func (*StudySpec) Descriptor() ([]byte, []int)

func (*StudySpec) Marshal

func (m *StudySpec) Marshal() (dAtA []byte, err error)

func (*StudySpec) MarshalTo

func (m *StudySpec) MarshalTo(dAtA []byte) (int, error)

func (*StudySpec) MarshalToSizedBuffer

func (m *StudySpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StudySpec) ProtoMessage

func (*StudySpec) ProtoMessage()

func (*StudySpec) Reset

func (m *StudySpec) Reset()

func (*StudySpec) Size

func (m *StudySpec) Size() (n int)

func (*StudySpec) String

func (this *StudySpec) String() string

func (*StudySpec) Unmarshal

func (m *StudySpec) Unmarshal(dAtA []byte) error

func (*StudySpec) XXX_DiscardUnknown

func (m *StudySpec) XXX_DiscardUnknown()

func (*StudySpec) XXX_Marshal

func (m *StudySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StudySpec) XXX_Merge

func (m *StudySpec) XXX_Merge(src proto.Message)

func (*StudySpec) XXX_Size

func (m *StudySpec) XXX_Size() int

func (*StudySpec) XXX_Unmarshal

func (m *StudySpec) XXX_Unmarshal(b []byte) error

type StudyStatus

type StudyStatus struct {
	// Total models created for the study
	// +kubebuilder:validation:Optional
	Models int32 `json:"models,omitempty" protobuf:"varint,1,opt,name=models"`
	// Study start time
	// +kubebuilder:validation:Optional
	StartTime *metav1.Time `json:"startTime,omitempty" protobuf:"bytes,2,opt,name=startTime"`
	// The study end time.
	// +kubebuilder:validation:Optional
	EndTime *metav1.Time `json:"endTime,omitempty" protobuf:"bytes,3,opt,name=endTime"`
	// The Best model name.
	// +kubebuilder:validation:Optional
	BestModel string `json:"bestModel,omitempty" protobuf:"bytes,4,opt,name=bestModel"`
	// The Best model score, so far.
	// +kubebuilder:validation:Optional
	BestModelScore float64 `json:"bestModelScore,omitempty" protobuf:"bytes,5,opt,name=bestModelScore"`
	// A reference to the profile uri which were produce during processing
	// +kubebuilder:validation:Optional
	ProfileUri string `json:"profileUri" protobuf:"bytes,6,opt,name=profileUri"`
	// The study report name
	// +kubebuilder:validation:Optional
	ReportName string `json:"reportName,omitempty" protobuf:"bytes,7,opt,name=reportName"`
	// The phase of the study
	// +kubebuilder:default:="Pending"
	// +kubebuilder:validation:Optional
	Phase StudyPhase `json:"phase" protobuf:"bytes,8,opt,name=phase"`
	// ObservedGeneration is the Last generation that was acted on
	//+kubebuilder:validation:Optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,9,opt,name=observedGeneration"`
	// TrainDatasetLocation is the location of the train dataset
	// +kubebuilder:validation:Optional
	TrainDatasetLocation data.DataLocation `json:"trainDataset,omitempty" protobuf:"bytes,10,opt,name=trainDataset"`
	// TestDatasetLocation is the location of the test dataset used to test this model
	// +kubebuilder:validation:Optional
	TestDatasetLocation data.DataLocation `json:"testDataset,omitempty" protobuf:"bytes,12,opt,name=testDataset"`
	// ValidationDatasetLocation is the location of the dataset used for validation
	// +kubebuilder:validation:Optional
	ValidationDataset data.DataLocation `json:"validationDataset,omitempty" protobuf:"bytes,13,opt,name=validationDataset"`
	// the last model id generated for this study
	LastModelID *int64 `json:"lastModelID,omitempty" protobuf:"varint,14,opt,name=lastModelID"`
	// Update in case of terminal failure
	// Borrowed from cluster api controller
	//+kubebuilder:validation:Optional
	FailureReason *catalog.StatusError `json:"failureReason,omitempty" protobuf:"bytes,15,opt,name=failureReason"`
	// Update in case of terminal failure message
	//+kubebuilder:validation:Optional
	FailureMessage *string `json:"failureMessage,omitempty" protobuf:"bytes,16,opt,name=failureMessage"`
	//TrainingRows is the amount of rows in training
	// +kubebuilder:validation:Optional
	TrainingRows int32 `json:"trainingRows" protobuf:"varint,17,opt,name=trainingRows"`
	//TestingRows is the amount of rows in testing
	// +kubebuilder:validation:Optional
	TestingRows int32 `json:"testingRows" protobuf:"varint,18,opt,name=testingRows"`
	//Validation row contain the number of validation rows for cases that we have validation.
	// +kubebuilder:validation:Optional
	ValidationRows int32 `json:"validationRows" protobuf:"varint,19,opt,name=validationRows"`
	// Study Progress in percent, the progress takes into account the different stages of the study.
	// +kubebuilder:validation:Optional
	Progress int32 `json:"progress" protobuf:"varint,20,opt,name=progress"`
	// define a baseline model that will be the baseline for the search. If not none, the base line is the first model
	// to be evaluated.
	// +kubebuilder:default:="none"
	// +kubebuilder:validation:Optional
	BaselineModel catalog.ClassicEstimatorName `json:"baselineModel,omitempty" protobuf:"bytes,21,opt,name=baselineModel"`
	// Sha 256 of the data sig
	// +kubebuilder:validation:Optional
	TrainingDataHash DataHashes `json:"trainingDataHash,omitempty" protobuf:"bytes,22,opt,name=trainingDataHash"`
	// What triggered the run
	//+kubebuilder:validation:Optional
	TriggeredBy catalog.TriggerType `json:"triggeredBy,omitempty" protobuf:"bytes,23,opt,name=triggeredBy"`
	// Holds the location of log paths
	//+kubebuilder:validation:Optional
	Logs catalog.Logs `json:"logs,,omitempty" protobuf:"bytes,24,opt,name=logs"`
	// Holds the result of the feature engineering process
	//+kubebuilder:validation:Optional
	FeatureEngineeringStatus StudyPhaseStatus `json:"featureEngineering,,omitempty" protobuf:"bytes,25,opt,name=featureEngineering"`
	// Holds the result of the baseline phase training
	//+kubebuilder:validation:Optional
	BaselineStatus StudyPhaseStatus `json:"baseline,omitempty" protobuf:"bytes,26,opt,name=baseline"`
	// Holds the result of the search phase training
	//+kubebuilder:validation:Optional
	SearchStatus StudyPhaseStatus `json:"search,omitempty" protobuf:"bytes,27,opt,name=search"`
	// Holds the result of the ensemble phase
	//+kubebuilder:validation:Optional
	EnsembleStatus StudyPhaseStatus `json:"ensemble,omitempty" protobuf:"bytes,28,opt,name=ensemble"`
	// Holds the result of the test phase
	//+kubebuilder:validation:Optional
	TestStatus StudyPhaseStatus `json:"test,omitempty" protobuf:"bytes,29,opt,name=test"`
	// Hold the result of running model interpretability
	//+kubebuilder:validation:Optional
	ExplainStatus StudyPhaseStatus `json:"explain,omitempty" protobuf:"bytes,30,opt,name=explain"`
	// Last time the object was updated
	//+kubebuilder:validation:Optional
	LastUpdated *metav1.Time `json:"lastUpdated,omitempty" protobuf:"bytes,31,opt,name=lastUpdated"`
	// The best feature engineering
	//+kubebuilder:validation:Optional
	BestFE *FeatureEngineeringSpec `json:"bestFE,omitempty" protobuf:"bytes,32,opt,name=bestFE"`
	// GC algorithm
	GC GarbageCollectionStatus `json:"gc,omitempty" protobuf:"bytes,33,opt,name=gc"`
	// This is the set of partition levels
	// Represents the latest available observations of a study state.
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions []StudyCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,34,rep,name=conditions"`
}

StudyStatus defines the observed state of the Study

func (*StudyStatus) DeepCopy

func (in *StudyStatus) DeepCopy() *StudyStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StudyStatus.

func (*StudyStatus) DeepCopyInto

func (in *StudyStatus) DeepCopyInto(out *StudyStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*StudyStatus) Descriptor

func (*StudyStatus) Descriptor() ([]byte, []int)

func (*StudyStatus) Marshal

func (m *StudyStatus) Marshal() (dAtA []byte, err error)

func (*StudyStatus) MarshalTo

func (m *StudyStatus) MarshalTo(dAtA []byte) (int, error)

func (*StudyStatus) MarshalToSizedBuffer

func (m *StudyStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StudyStatus) ProtoMessage

func (*StudyStatus) ProtoMessage()

func (*StudyStatus) Reset

func (m *StudyStatus) Reset()

func (*StudyStatus) Size

func (m *StudyStatus) Size() (n int)

func (*StudyStatus) String

func (this *StudyStatus) String() string

func (*StudyStatus) Unmarshal

func (m *StudyStatus) Unmarshal(dAtA []byte) error

func (*StudyStatus) XXX_DiscardUnknown

func (m *StudyStatus) XXX_DiscardUnknown()

func (*StudyStatus) XXX_Marshal

func (m *StudyStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StudyStatus) XXX_Merge

func (m *StudyStatus) XXX_Merge(src proto.Message)

func (*StudyStatus) XXX_Size

func (m *StudyStatus) XXX_Size() int

func (*StudyStatus) XXX_Unmarshal

func (m *StudyStatus) XXX_Unmarshal(b []byte) error

type SuccessiveHalvingOptions

type SuccessiveHalvingOptions struct {
	// The maximum budget allocated to each model during SH search.
	// The default max budget is 81
	// +kubebuilder:default:=81
	// +kubebuilder:validation:Minimum=0
	// +kubebuilder:validation:Optional
	MaxBudget *int32 `json:"maxBudget,omitempty" protobuf:"varint,1,opt,name=maxBudget"`
	// The rate of elimination during SH search, such that only 1/rate of models are promoted to the
	// next half
	// +kubebuilder:default:=3
	// +kubebuilder:validation:Minimum=0
	// +kubebuilder:validation:Optional
	EliminationRate *int32 `json:"eliminationRate,omitempty" protobuf:"varint,2,opt,name=eliminationRate"`
	// The modality type. The default modality is based on the type of models
	// For deep models - we use epocs.
	// For classical models - we use data
	// +kubebuilder:default:=epochs
	// +kubebuilder:validation:Optional
	Modality *catalog.ModalityType `json:"modality,omitempty" protobuf:"bytes,3,opt,name=modality"`
}

SuccessiveHalvingOptions define the parameters for the successive halving algorithm

func (*SuccessiveHalvingOptions) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SuccessiveHalvingOptions.

func (*SuccessiveHalvingOptions) DeepCopyInto

func (in *SuccessiveHalvingOptions) DeepCopyInto(out *SuccessiveHalvingOptions)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SuccessiveHalvingOptions) Default

func (svo *SuccessiveHalvingOptions) Default()

func (*SuccessiveHalvingOptions) Descriptor

func (*SuccessiveHalvingOptions) Descriptor() ([]byte, []int)

func (*SuccessiveHalvingOptions) Marshal

func (m *SuccessiveHalvingOptions) Marshal() (dAtA []byte, err error)

func (*SuccessiveHalvingOptions) MarshalTo

func (m *SuccessiveHalvingOptions) MarshalTo(dAtA []byte) (int, error)

func (*SuccessiveHalvingOptions) MarshalToSizedBuffer

func (m *SuccessiveHalvingOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SuccessiveHalvingOptions) ProtoMessage

func (*SuccessiveHalvingOptions) ProtoMessage()

func (*SuccessiveHalvingOptions) Reset

func (m *SuccessiveHalvingOptions) Reset()

func (*SuccessiveHalvingOptions) Size

func (m *SuccessiveHalvingOptions) Size() (n int)

func (*SuccessiveHalvingOptions) String

func (this *SuccessiveHalvingOptions) String() string

func (*SuccessiveHalvingOptions) Unmarshal

func (m *SuccessiveHalvingOptions) Unmarshal(dAtA []byte) error

func (*SuccessiveHalvingOptions) XXX_DiscardUnknown

func (m *SuccessiveHalvingOptions) XXX_DiscardUnknown()

func (*SuccessiveHalvingOptions) XXX_Marshal

func (m *SuccessiveHalvingOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SuccessiveHalvingOptions) XXX_Merge

func (m *SuccessiveHalvingOptions) XXX_Merge(src proto.Message)

func (*SuccessiveHalvingOptions) XXX_Size

func (m *SuccessiveHalvingOptions) XXX_Size() int

func (*SuccessiveHalvingOptions) XXX_Unmarshal

func (m *SuccessiveHalvingOptions) XXX_Unmarshal(b []byte) error

type SuccessiveHalvingSpec

type SuccessiveHalvingSpec struct {
	// The budget is used in multi fidelity search.
	// This is the percent of fidelity of the model. The meaning is based on the model configuration.
	// For example fidelity is number of epochs in sgd alg
	// Or can be percent of the data in non sgd algorithm.
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:Maximum=128
	// +kubebuilder:validation:Minimum=0
	Budget *int32 `json:"budget,omitempty" protobuf:"varint,1,opt,name=budget"`
	// The bracket of the model when running multi fidelity search.
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:Maximum=128
	// +kubebuilder:validation:Minimum=0
	Bracket *int32 `json:"bracket,omitempty" protobuf:"varint,2,opt,name=bracket"`
	// The rung of the model
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:Maximum=128
	// +kubebuilder:validation:Minimum=0
	Rung *int32 `json:"rung,omitempty" protobuf:"varint,3,opt,name=rung"`
	// The configuration id allocated to this model in rung 0
	// +kubebuilder:validation:Optional
	ConfID *int32 `json:"confID,omitempty" protobuf:"varint,4,opt,name=confID"`
	// The modality type. The default modality is based on the type of models
	// For deep models - we use epocs.
	// For classical models - we use data
	// +kubebuilder:validation:Optional
	Modality *catalog.ModalityType `json:"modality,omitempty" protobuf:"bytes,26,opt,name=modality"`
}

func (*SuccessiveHalvingSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SuccessiveHalvingSpec.

func (*SuccessiveHalvingSpec) DeepCopyInto

func (in *SuccessiveHalvingSpec) DeepCopyInto(out *SuccessiveHalvingSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SuccessiveHalvingSpec) Descriptor

func (*SuccessiveHalvingSpec) Descriptor() ([]byte, []int)

func (*SuccessiveHalvingSpec) Marshal

func (m *SuccessiveHalvingSpec) Marshal() (dAtA []byte, err error)

func (*SuccessiveHalvingSpec) MarshalTo

func (m *SuccessiveHalvingSpec) MarshalTo(dAtA []byte) (int, error)

func (*SuccessiveHalvingSpec) MarshalToSizedBuffer

func (m *SuccessiveHalvingSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SuccessiveHalvingSpec) ProtoMessage

func (*SuccessiveHalvingSpec) ProtoMessage()

func (*SuccessiveHalvingSpec) Reset

func (m *SuccessiveHalvingSpec) Reset()

func (*SuccessiveHalvingSpec) Size

func (m *SuccessiveHalvingSpec) Size() (n int)

func (*SuccessiveHalvingSpec) String

func (this *SuccessiveHalvingSpec) String() string

func (*SuccessiveHalvingSpec) Unmarshal

func (m *SuccessiveHalvingSpec) Unmarshal(dAtA []byte) error

func (*SuccessiveHalvingSpec) XXX_DiscardUnknown

func (m *SuccessiveHalvingSpec) XXX_DiscardUnknown()

func (*SuccessiveHalvingSpec) XXX_Marshal

func (m *SuccessiveHalvingSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SuccessiveHalvingSpec) XXX_Merge

func (m *SuccessiveHalvingSpec) XXX_Merge(src proto.Message)

func (*SuccessiveHalvingSpec) XXX_Size

func (m *SuccessiveHalvingSpec) XXX_Size() int

func (*SuccessiveHalvingSpec) XXX_Unmarshal

func (m *SuccessiveHalvingSpec) XXX_Unmarshal(b []byte) error

type TextPipelineSpec

type TextPipelineSpec struct {
	// The text encoder (e.g. tfidf)
	// +kubebuilder:default:=auto
	// +kubebuilder:validation:Optional
	Encoder *catalog.TextEncoding `json:"encoder,omitempty" protobuf:"bytes,1,opt,name=encoder"`
	// Text tokenizer
	// +kubebuilder:validation:Optional
	Tokenizer *string `json:"tokenizer,omitempty" protobuf:"bytes,2,opt,name=tokenizer"`
	// If true, the controller will Add stop word handling to the text pipeline.
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	StopWords *bool `json:"stopwords,omitempty" protobuf:"varint,3,opt,name=stopwords"`
	// If true, the controller will Add part of speech handling to the text pipeline.
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	Pos *bool `json:"pos,omitempty" protobuf:"varint,4,opt,name=pos"`
	// If true, the controller will Add lemma handling to the text pipeline.
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	Lemma *bool `json:"lemma,omitempty" protobuf:"varint,5,opt,name=lemma"`
	// If true, the controller will Add stemmer handling to the text pipeline.
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	Stem *bool `json:"stem,omitempty" protobuf:"varint,6,opt,name=stem"`
	// If true, the controller will Add word embedding handling to the text pipeline.
	// +kubebuilder:validation:Optional
	Embedding *string `json:"embedding,omitempty" protobuf:"bytes,7,opt,name=embedding"`
	// Use SVD
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	Svd *bool `json:"svd,omitempty" protobuf:"varint,8,opt,name=svd"`
	// Max SVD Components to use
	// +kubebuilder:default:=0
	// +kubebuilder:validation:Optional
	MaxSvdComponents *int32 `json:"maxSvdComponents,omitempty" protobuf:"varint,9,opt,name=maxSvdComponents"`
}

TextPipelineSpec is the specification for preprocessing of text columns

func (*TextPipelineSpec) DeepCopy

func (in *TextPipelineSpec) DeepCopy() *TextPipelineSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TextPipelineSpec.

func (*TextPipelineSpec) DeepCopyInto

func (in *TextPipelineSpec) DeepCopyInto(out *TextPipelineSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TextPipelineSpec) Descriptor

func (*TextPipelineSpec) Descriptor() ([]byte, []int)

func (*TextPipelineSpec) Marshal

func (m *TextPipelineSpec) Marshal() (dAtA []byte, err error)

func (*TextPipelineSpec) MarshalTo

func (m *TextPipelineSpec) MarshalTo(dAtA []byte) (int, error)

func (*TextPipelineSpec) MarshalToSizedBuffer

func (m *TextPipelineSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TextPipelineSpec) ProtoMessage

func (*TextPipelineSpec) ProtoMessage()

func (*TextPipelineSpec) Reset

func (m *TextPipelineSpec) Reset()

func (*TextPipelineSpec) Size

func (m *TextPipelineSpec) Size() (n int)

func (*TextPipelineSpec) String

func (this *TextPipelineSpec) String() string

func (*TextPipelineSpec) Unmarshal

func (m *TextPipelineSpec) Unmarshal(dAtA []byte) error

func (*TextPipelineSpec) XXX_DiscardUnknown

func (m *TextPipelineSpec) XXX_DiscardUnknown()

func (*TextPipelineSpec) XXX_Marshal

func (m *TextPipelineSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TextPipelineSpec) XXX_Merge

func (m *TextPipelineSpec) XXX_Merge(src proto.Message)

func (*TextPipelineSpec) XXX_Size

func (m *TextPipelineSpec) XXX_Size() int

func (*TextPipelineSpec) XXX_Unmarshal

func (m *TextPipelineSpec) XXX_Unmarshal(b []byte) error

type TimeSeriesDataSpec

type TimeSeriesDataSpec struct {
	// General Forecast attributes:
	// The name of the time column
	// +kubebuilder:validation:Required
	// +required
	TimeColumn *string `json:"timeColumn,omitempty" protobuf:"bytes,1,opt,name=timeColumn"`
	// The name of the column holding the value.
	// By default this is the target column from the dataset.
	// +kubebuilder:validation:Required
	// +required
	TargetColumn *string `json:"targetColumn,omitempty" protobuf:"bytes,2,opt,name=targetColumn"`
	// The format of the datetime column. Used default
	// +kubebuilder:validation:Optional
	DateTimeFormat *string `json:"datetimeFormat,omitempty" protobuf:"bytes,3,opt,name=datetimeFormat"`
	// The Hierarchy spec
	// +kubebuilder:validation:Optional
	Hierarchy HierarchySpec `json:"hierarchy,omitempty" protobuf:"bytes,4,opt,name=hierarchy"`
	// The spec for the holiday
	// +kubebuilder:validation:Optional
	Holiday HolidaySpec `json:"holiday,omitempty" protobuf:"bytes,5,opt,name=holiday"`
	// The historical periods
	// +kubebuilder:validation:Optional
	History PeriodSpec `json:"history,omitempty" protobuf:"bytes,6,opt,name=history"`
	// The forecast periods
	// +kubebuilder:validation:Optional
	Forecast PeriodSpec `json:"forecast,omitempty" protobuf:"bytes,7,opt,name=forecast"`
	// +kubebuilder:validation:Optional
	YearlySeasonality PeriodSeasonalitySpec `json:"yearlySeasonality,omitempty" protobuf:"bytes,8,opt,name=yearlySeasonality"`
	// +kubebuilder:validation:Optional
	WeeklySeasonality PeriodSeasonalitySpec `json:"weeklySeasonality,omitempty" protobuf:"bytes,9,opt,name=weeklySeasonality"`
	// +kubebuilder:validation:Optional
	DailySeasonality PeriodSeasonalitySpec `json:"dailySeasonality,omitempty" protobuf:"bytes,10,opt,name=dailySeasonality"`
	// +kubebuilder:default = "linear"
	// +kubebuilder:validation:Optional
	Growth *GrowthMode `json:"growth,omitempty" protobuf:"bytes,13,opt,name=growth"`
	// The list of additional regressors. The regresors are part of the time series data
	// +kubebuilder:validation:Optional
	Regressors []RegressorSpec `json:"regressors,omitempty" protobuf:"bytes,14,rep,name=regressors"`
	// The list of additional regressors. The regresors are part of the time series data
	// +kubebuilder:validation:Optional
	CustomSeasonalities []CustomSeasonalitySpec `json:"customSeasonalities,omitempty" protobuf:"bytes,15,rep,name=customSeasonalities"`
	// Set an holiday schedule for a country.
	// Change point specification
	// +kubebuilder:validation:Optional
	ChangePoints ChangePointSpec `json:"changepoints,omitempty" protobuf:"bytes,16,opt,name=changepoints"`
	// +kubebuilder:default = 0.8
	// +kubebuilder:validation:Optional
	IntervalWidth *float64 `json:"intevalWidth,omitempty" protobuf:"bytes,17,opt,name=intevalWidth"`
	// +kubebuilder:default = 1000
	// +kubebuilder:validation:Optional
	UncertaintySamples *int32 `json:"uncertaintySamples,omitempty" protobuf:"varint,18,opt,name=uncertaintySamples"`
	// The generate seasonality mode
	// +kubebuilder:default = "additive"
	// +kubebuilder:validation:Optional
	SeasonalityMode *catalog.SeasonalityMode `json:"seasonality,omitempty" protobuf:"bytes,19,opt,name=seasonality"`
}

func (*TimeSeriesDataSpec) DeepCopy

func (in *TimeSeriesDataSpec) DeepCopy() *TimeSeriesDataSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeSeriesDataSpec.

func (*TimeSeriesDataSpec) DeepCopyInto

func (in *TimeSeriesDataSpec) DeepCopyInto(out *TimeSeriesDataSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TimeSeriesDataSpec) Descriptor

func (*TimeSeriesDataSpec) Descriptor() ([]byte, []int)

func (*TimeSeriesDataSpec) Marshal

func (m *TimeSeriesDataSpec) Marshal() (dAtA []byte, err error)

func (*TimeSeriesDataSpec) MarshalTo

func (m *TimeSeriesDataSpec) MarshalTo(dAtA []byte) (int, error)

func (*TimeSeriesDataSpec) MarshalToSizedBuffer

func (m *TimeSeriesDataSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TimeSeriesDataSpec) ProtoMessage

func (*TimeSeriesDataSpec) ProtoMessage()

func (*TimeSeriesDataSpec) Reset

func (m *TimeSeriesDataSpec) Reset()

func (*TimeSeriesDataSpec) Size

func (m *TimeSeriesDataSpec) Size() (n int)

func (*TimeSeriesDataSpec) String

func (this *TimeSeriesDataSpec) String() string

func (*TimeSeriesDataSpec) Unmarshal

func (m *TimeSeriesDataSpec) Unmarshal(dAtA []byte) error

func (*TimeSeriesDataSpec) XXX_DiscardUnknown

func (m *TimeSeriesDataSpec) XXX_DiscardUnknown()

func (*TimeSeriesDataSpec) XXX_Marshal

func (m *TimeSeriesDataSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TimeSeriesDataSpec) XXX_Merge

func (m *TimeSeriesDataSpec) XXX_Merge(src proto.Message)

func (*TimeSeriesDataSpec) XXX_Size

func (m *TimeSeriesDataSpec) XXX_Size() int

func (*TimeSeriesDataSpec) XXX_Unmarshal

func (m *TimeSeriesDataSpec) XXX_Unmarshal(b []byte) error

type TrainingSpec

type TrainingSpec struct {
	// Priority specify the priority of the model in the training queue.
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:="medium"
	Priority *catalog.PriorityLevel `json:"priority,omitempty" protobuf:"bytes,1,opt,name=priority"`
	// The  type of cross validation.
	// if we have a validation set, we do not do cv.
	// +kubebuilder:default:=kfold
	// +kubebuilder:validation:Optional
	CvType *catalog.CvType `json:"cvtype,omitempty" protobuf:"bytes,2,opt,name=cvtype"`
	// If true, this is a cross validation using folds. If False, use the validation set.
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	CV *bool `json:"cv,omitempty" protobuf:"varint,16,opt,name=cV"`
	// The number of folds during cross validation.
	// +kubebuilder:default:=5
	// +kubebuilder:validation:Optional
	Folds *int32 `json:"folds,omitempty" protobuf:"varint,4,opt,name=folds"`
	// Data Split define how to split the data into test and train.
	// +kubebuilder:validation:Optional
	Split DataSplitSpec `json:"split,omitempty" protobuf:"bytes,5,opt,name=split"`
	// Evaluation metrics are the scores
	// +kubebuilder:validation:Optional
	EvalMetrics []catalog.Metric `json:"evalMetrics,omitempty" protobuf:"bytes,6,rep,name=evalMetrics"`
	// Early stopping, stop the training after X models with no improvement.
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	EarlyStop *bool `json:"earlyStop,omitempty" protobuf:"varint,7,opt,name=earlyStop"`
	// Add snapshot interval for long training time in minutes.
	// This is used to checkpoint training model.
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:=10
	// +kubebuilder:validation:Minimum=0
	CheckpointInterval *int32 `json:"checkpointInterval,omitempty" protobuf:"varint,8,opt,name=checkpointInterval"`
	// Successive halving represent the configuration for the model training, when running
	// the SuccessiveHalvingSpec model search algorithm
	// The metrics are evaluated using the final model, both on the training set
	// and on the test set
	// +kubebuilder:validation:Optional
	SH *SuccessiveHalvingSpec `json:"sh,omitempty" protobuf:"bytes,9,opt,name=sh"`
	// Used as the random state for an estimator if needed (for example, in RandomForestClassifier)
	// +kubebuilder:default:=42
	// +kubebuilder:validation:Optional
	Seed *float64 `json:"seed,omitempty" protobuf:"bytes,10,opt,name=seed"`
	// Resource define the hardware resources req.
	// +kubebuilder:validation:Optional
	Resources catalog.ResourceSpec `json:"resources,omitempty" protobuf:"bytes,11,opt,name=resources"`
	// Gpu indicate that training should be done on a gpu.
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Gpu *bool `json:"gpu,omitempty" protobuf:"varint,12,opt,name=gpu"`
	// Dist indicate the training should be be distributed
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Distributed *bool `json:"distributed,omitempty" protobuf:"varint,13,opt,name=distributed"`
	// In case of dist node, how many nodes to use.
	// +kubebuilder:default:=1
	// +kubebuilder:validation:Optional
	NodeCount *int32 `json:"nodeCount,omitempty" protobuf:"varint,14,opt,name=nodeCount"`
	// Set the percent of dataset to use during training. This is usually assigned
	// by the optimizer.
	// +kubebuilder:default:=100
	// +kubebuilder:validation:Optional
	SamplePct *int32 `json:"samplePct,omitempty" protobuf:"bytes,15,opt,name=samplePct"`
}

TrainingSpec is the specification of the training process

func (*TrainingSpec) DeepCopy

func (in *TrainingSpec) DeepCopy() *TrainingSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrainingSpec.

func (*TrainingSpec) DeepCopyInto

func (in *TrainingSpec) DeepCopyInto(out *TrainingSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TrainingSpec) Descriptor

func (*TrainingSpec) Descriptor() ([]byte, []int)

func (*TrainingSpec) Marshal

func (m *TrainingSpec) Marshal() (dAtA []byte, err error)

func (*TrainingSpec) MarshalTo

func (m *TrainingSpec) MarshalTo(dAtA []byte) (int, error)

func (*TrainingSpec) MarshalToSizedBuffer

func (m *TrainingSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TrainingSpec) ProtoMessage

func (*TrainingSpec) ProtoMessage()

func (*TrainingSpec) Reset

func (m *TrainingSpec) Reset()

func (*TrainingSpec) Size

func (m *TrainingSpec) Size() (n int)

func (*TrainingSpec) String

func (this *TrainingSpec) String() string

func (*TrainingSpec) Unmarshal

func (m *TrainingSpec) Unmarshal(dAtA []byte) error

func (*TrainingSpec) XXX_DiscardUnknown

func (m *TrainingSpec) XXX_DiscardUnknown()

func (*TrainingSpec) XXX_Marshal

func (m *TrainingSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TrainingSpec) XXX_Merge

func (m *TrainingSpec) XXX_Merge(src proto.Message)

func (*TrainingSpec) XXX_Size

func (m *TrainingSpec) XXX_Size() int

func (*TrainingSpec) XXX_Unmarshal

func (m *TrainingSpec) XXX_Unmarshal(b []byte) error

type TrainingStageSpec

type TrainingStageSpec struct {
	// Enabled indicates that the stage is enabled
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" protobuf:"varint,1,opt,name=enabled"`
	// NotebookName specify the notebook to run before training.
	// +kubebuilder:default =""
	// +kubebuilder:validation:Optional
	NotebookName *string `json:"notebookName,omitempty" protobuf:"bytes,2,opt,name=notebookName"`
	// LabName is the name of the lab used for training. If empty, the system will use the default lab assigned to the data product
	// +kubebuilder:default =""
	// +kubebuilder:validation:Optional
	LabName *string `json:"labName,omitempty" protobuf:"bytes,3,opt,name=labName"`
	// StudyName is the name of a study template. The actual study will clone the study template and will
	// use the dataset created in the data stage.
	// +kubebuilder:default =""
	// +kubebuilder:validation:Required
	// +required
	StudyTemplateName *string `json:"studyTemplateName,omitempty" protobuf:"bytes,4,opt,name=studyTemplateName"`
	// Validations defines the machine learning test cases to run against the new trained model.
	// +kubebuilder:validation:Optional
	Validations []ModelValidation `json:"validations,omitempty" protobuf:"bytes,5,rep,name=validations"`
}

TrainingStageSpec is the desired state of the training step of the pipeline

func (*TrainingStageSpec) DeepCopy

func (in *TrainingStageSpec) DeepCopy() *TrainingStageSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrainingStageSpec.

func (*TrainingStageSpec) DeepCopyInto

func (in *TrainingStageSpec) DeepCopyInto(out *TrainingStageSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TrainingStageSpec) Descriptor

func (*TrainingStageSpec) Descriptor() ([]byte, []int)

func (*TrainingStageSpec) Marshal

func (m *TrainingStageSpec) Marshal() (dAtA []byte, err error)

func (*TrainingStageSpec) MarshalTo

func (m *TrainingStageSpec) MarshalTo(dAtA []byte) (int, error)

func (*TrainingStageSpec) MarshalToSizedBuffer

func (m *TrainingStageSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TrainingStageSpec) ProtoMessage

func (*TrainingStageSpec) ProtoMessage()

func (*TrainingStageSpec) Reset

func (m *TrainingStageSpec) Reset()

func (*TrainingStageSpec) Size

func (m *TrainingStageSpec) Size() (n int)

func (*TrainingStageSpec) String

func (this *TrainingStageSpec) String() string

func (*TrainingStageSpec) Unmarshal

func (m *TrainingStageSpec) Unmarshal(dAtA []byte) error

func (*TrainingStageSpec) XXX_DiscardUnknown

func (m *TrainingStageSpec) XXX_DiscardUnknown()

func (*TrainingStageSpec) XXX_Marshal

func (m *TrainingStageSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TrainingStageSpec) XXX_Merge

func (m *TrainingStageSpec) XXX_Merge(src proto.Message)

func (*TrainingStageSpec) XXX_Size

func (m *TrainingStageSpec) XXX_Size() int

func (*TrainingStageSpec) XXX_Unmarshal

func (m *TrainingStageSpec) XXX_Unmarshal(b []byte) error

type UATStageSpec

type UATStageSpec struct {
	// Enabled indicates that the stage is enabled
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" protobuf:"varint,1,opt,name=enabled"`
	// The serving site (name space) used for running the uat tests. If the serving site is empty, the system
	// will skip the uat stage
	// +kubebuilder:default =""
	// +kubebuilder:validation:Optional
	ServingSiteName *string `json:"servingSiteName,omitempty" protobuf:"bytes,2,opt,name=servingSiteName"`
	// Validations defines the machine learning test cases to run against the new trained model.
	// +kubebuilder:validation:Optional
	Validations []ModelValidation `json:"validations,omitempty" protobuf:"bytes,3,rep,name=validations"`
	// Resource define the hardware resources req.
	// +kubebuilder:validation:Optional
	Resources catalog.ResourceSpec `json:"resources,omitempty" protobuf:"bytes,4,opt,name=resources"`
}

UATStageSpec is the specification of the user acceptance test.

func (*UATStageSpec) DeepCopy

func (in *UATStageSpec) DeepCopy() *UATStageSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UATStageSpec.

func (*UATStageSpec) DeepCopyInto

func (in *UATStageSpec) DeepCopyInto(out *UATStageSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*UATStageSpec) Descriptor

func (*UATStageSpec) Descriptor() ([]byte, []int)

func (*UATStageSpec) Marshal

func (m *UATStageSpec) Marshal() (dAtA []byte, err error)

func (*UATStageSpec) MarshalTo

func (m *UATStageSpec) MarshalTo(dAtA []byte) (int, error)

func (*UATStageSpec) MarshalToSizedBuffer

func (m *UATStageSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UATStageSpec) ProtoMessage

func (*UATStageSpec) ProtoMessage()

func (*UATStageSpec) Reset

func (m *UATStageSpec) Reset()

func (*UATStageSpec) Size

func (m *UATStageSpec) Size() (n int)

func (*UATStageSpec) String

func (this *UATStageSpec) String() string

func (*UATStageSpec) Unmarshal

func (m *UATStageSpec) Unmarshal(dAtA []byte) error

func (*UATStageSpec) XXX_DiscardUnknown

func (m *UATStageSpec) XXX_DiscardUnknown()

func (*UATStageSpec) XXX_Marshal

func (m *UATStageSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UATStageSpec) XXX_Merge

func (m *UATStageSpec) XXX_Merge(src proto.Message)

func (*UATStageSpec) XXX_Size

func (m *UATStageSpec) XXX_Size() int

func (*UATStageSpec) XXX_Unmarshal

func (m *UATStageSpec) XXX_Unmarshal(b []byte) error

type VideoPipelineSpec

type VideoPipelineSpec struct {
	// The date time imputer.
	// +kubebuilder:default:="auto"
	// +kubebuilder:validation:Optional
	Featurizer *catalog.VideoFeaturizer `json:"featurizer,omitempty" protobuf:"bytes,1,opt,name=featurizer"`
}

VideoPipelineSpec is the specification for preprocessing video data

func (*VideoPipelineSpec) DeepCopy

func (in *VideoPipelineSpec) DeepCopy() *VideoPipelineSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VideoPipelineSpec.

func (*VideoPipelineSpec) DeepCopyInto

func (in *VideoPipelineSpec) DeepCopyInto(out *VideoPipelineSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*VideoPipelineSpec) Descriptor

func (*VideoPipelineSpec) Descriptor() ([]byte, []int)

func (*VideoPipelineSpec) Marshal

func (m *VideoPipelineSpec) Marshal() (dAtA []byte, err error)

func (*VideoPipelineSpec) MarshalTo

func (m *VideoPipelineSpec) MarshalTo(dAtA []byte) (int, error)

func (*VideoPipelineSpec) MarshalToSizedBuffer

func (m *VideoPipelineSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VideoPipelineSpec) ProtoMessage

func (*VideoPipelineSpec) ProtoMessage()

func (*VideoPipelineSpec) Reset

func (m *VideoPipelineSpec) Reset()

func (*VideoPipelineSpec) Size

func (m *VideoPipelineSpec) Size() (n int)

func (*VideoPipelineSpec) String

func (this *VideoPipelineSpec) String() string

func (*VideoPipelineSpec) Unmarshal

func (m *VideoPipelineSpec) Unmarshal(dAtA []byte) error

func (*VideoPipelineSpec) XXX_DiscardUnknown

func (m *VideoPipelineSpec) XXX_DiscardUnknown()

func (*VideoPipelineSpec) XXX_Marshal

func (m *VideoPipelineSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VideoPipelineSpec) XXX_Merge

func (m *VideoPipelineSpec) XXX_Merge(src proto.Message)

func (*VideoPipelineSpec) XXX_Size

func (m *VideoPipelineSpec) XXX_Size() int

func (*VideoPipelineSpec) XXX_Unmarshal

func (m *VideoPipelineSpec) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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