v1alpha1

package
v0.5.260 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 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 (
	AbsEnergy                               catalog.Metric = "abs-enegry"                              // 	Returns the absolute energy of the time series which is the sum over the squared values
	AbsoluteMaximum                         catalog.Metric = "abs-maximum"                             //  Calculates the highest absolute value of the time series x.
	AbsoluteSumOfChanges                    catalog.Metric = "abs-sum-of-change"                       ///Returns the sum over the absolute value of consecutive changes in the series x
	CountAboveMean                          catalog.Metric = "count_above_mean"                        // Returns the number of values in x that are higher than the mean of x
	CountBelowMean                          catalog.Metric = "count_below_mean"                        //Returns the number of values in x that are lower than the mean of x
	FirstLocationOfMaximum                  catalog.Metric = "first_location_of_maximum"               //Returns the first location of the maximum value of x.
	FirstLocationOfMinimum                  catalog.Metric = "first_location_of_minimum"               // Returns the first location of the minimal value of x.
	BenfordCorrelation                      catalog.Metric = "benford_correlation"                     //Useful for anomaly detection applications [1][2].
	HasDuplicate                            catalog.Metric = "has_duplicate"                           // has_duplicate(x)	Checks if any value in x occurs more than once
	HasDuplicateMax                         catalog.Metric = "has_duplicate_max"                       // has_duplicate_max(x)	Checks if the maximum value of x is observed more than once
	HasDuplicateMean                        catalog.Metric = "has_duplicate_min"                       // has_duplicate_min(x)	Checks if the minimal value of x is observed more than once
	Kurtosis                                catalog.Metric = "kurtosis"                                // kurtosis(x)	Returns the kurtosis of x (calculated with the adjusted Fisher-Pearson standardized moment coefficient G2).
	LastLocationOfMaximum                   catalog.Metric = "last_location_of_maximum"                //(x)	Returns the relative last location of the maximum value of x.
	LastLocationOfMinimum                   catalog.Metric = "last_location_of_minimum"                // last_location_of_minimum(x)	Returns the last location of the minimal value of x.
	Maximum                                 catalog.Metric = "maximum"                                 // maximum(x)	Calculates the highest value of the time series x.
	Mean                                    catalog.Metric = "mean"                                    // mean(x)	Returns the mean of x
	MeanAbsChange                           catalog.Metric = "mean_abs_change"                         // mean_abs_change(x)	Average over first differences.
	MeanChange                              catalog.Metric = "mean_change"                             // mean_change(x)	Average over time series differences.
	Median                                  catalog.Metric = "median"                                  // median(x)	Returns the median of x
	Minimum                                 catalog.Metric = "minimum"                                 // minimum(x)	Calculates the lowest value of the time series x.
	Root_mean_square                        catalog.Metric = "root_mean_square"                        // root_mean_square(x)	Returns the root mean square (rms) of the time series.
	Sample_entropy                          catalog.Metric = "sample_entropy"                          // sample_entropy(x)	Calculate and return sample entropy of x.
	Standard_deviation                      catalog.Metric = "standard_deviation"                      // standard_deviation(x)	Returns the standard deviation of x
	Sum_of_reoccurring_data_points          catalog.Metric = "sum_of_reoccurring_data_points"          // sum_of_reoccurring_data_points(x)	Returns the sum of all data points, that are present in the time series more than once.
	Sum_of_reoccurring_values               catalog.Metric = "sum_of_reoccurring_values"               // sum_of_reoccurring_values(x)	Returns the sum of all values, that are present in the time series more than once.
	Sum_values                              catalog.Metric = "sum_values"                              // sum_values(x)	Calculates the sum over the time series values
	Longest_strike_above_mean               catalog.Metric = "longest_strike_above_mean"               // longest_strike_above_mean(x)	Returns the length of the longest consecutive subsequence in x that is bigger than the mean of x
	Longest_strike_below_mean               catalog.Metric = "longest_strike_below_mean"               // longest_strike_below_mean(x)	Returns the length of the longest consecutive subsequence in x that is smaller than the mean of x
	Variance                                catalog.Metric = "variance"                                // variance(x)	Returns the variance of x
	Variance_larger_than_standard_deviation catalog.Metric = "variance_larger_than_standard_deviation" // variance_larger_than_standard_deviation(x)	Is variance higher than the standard deviation?
	Variation_coefficient                   catalog.Metric = "variation_coefficient"                   // variation_coefficient(x)
	Skewness                                catalog.Metric = "skewness"                                // skewness(x)	Returns the sample skewness of x (calculated with the adjusted Fisher-Pearson standardized moment coefficient G1).
)
View Source
const (
	ReasonFailed             = "Failed"
	ReasonTesting            = "Testing"
	ReasonTuning             = "Tuning"
	ReasonTuned              = "Tuned"
	ReasonMerging            = "Merging"
	ReasonMerged             = "Merged"
	ReasonReporting          = "Reporting"
	ReasonProfiling          = "Profiling"
	ReasonPublishing         = "Publishing"
	ReasonReleasing          = "Releasing"
	ReasonPredicting         = "Predicting"
	ReasonTraining           = "Training"
	ReasonBaselining         = "Baselining"
	ReasonFeatureEngineering = "FeatureEngineering"
	ReasonCreateEnsemble     = "CreateEnsemble"
	ReasonPausing            = "Pausing"
	ReasonWaitingToTrain     = "WaitingToTrain"
	ReasonWaitingToTest      = "WaitingToTest"
	ReasonUnitTesting        = "UnitTesting"
)
View Source
const (
	ModelAccuracyGreaterThan catalog.AssertionType = "accuracy-greater-than"
	// classification
	ModelAveragePrecisionGreaterThan  catalog.AssertionType = "model-average-precision-greater-than"
	ModelBalancedAccuracyGreaterThan  catalog.AssertionType = "model-balanced-accuracy-greater-than"
	ModelF1BinaryGreaterThan          catalog.AssertionType = "model-f1-greater-than"
	ModelF1MicroGreaterThan           catalog.AssertionType = "model-f1-micro-greater-than"
	ModelF1MacroGreaterThan           catalog.AssertionType = "model-f1-macro-greater-than"
	ModelF1WeightedGreaterThan        catalog.AssertionType = "model-f1-weighted-greater-than"
	ModelF1SamplesGreaterThan         catalog.AssertionType = "model-f1-samples-greater-than"
	ModelPrecisionBinaryGreaterThan   catalog.AssertionType = "model-precision-greater-than"
	ModelPrecisionMicroGreaterThan    catalog.AssertionType = "model-precision-micro-greater-than"
	ModelPrecisionMacroGreaterThan    catalog.AssertionType = "model-precision-macro-greater-than"
	ModelPrecisionWeightedGreaterThan catalog.AssertionType = "model-precision-weighted-greater-than"
	ModelPrecisionSamplesGreaterThan  catalog.AssertionType = "model-precision-samples-greater-than"
	ModelRecallBinaryGreaterThan      catalog.AssertionType = "model-recall-greater-than"
	ModelRecallMacroGreaterThan       catalog.AssertionType = "model-recall-macro-greater-than"
	ModelRecallMicroGreaterThan       catalog.AssertionType = "model-recall-micro-greater-than"
	ModelRecallWeightedGreaterThan    catalog.AssertionType = "model-recall-weighted-greater-than"
	ModelRecallSamplesGreaterThan     catalog.AssertionType = "model-recall-samples-greater-than"
	ModelLogLossLessThan              catalog.AssertionType = "model-log-loss-less-than"
	ModelRocAucGreaterThan            catalog.AssertionType = "model-auc-greater-than"
	ModelRocAucMicroGreaterThan       catalog.AssertionType = "model-auc-micro-greater-than"
	ModelRocAucMacroGreaterThan       catalog.AssertionType = "model-auc-macro-greater-than"
	ModelRocAucWeightedGreaterThan    catalog.AssertionType = "model-auc-weighted-greater-than"
	ModelPRRocAucGreaterThan          catalog.AssertionType = "model-pr-auc-greater-than"
	ModelPRRocAucMicroGreaterThan     catalog.AssertionType = "model-pr-auc-micro-greater-than"
	ModelPRRocAucMacroGreaterThan     catalog.AssertionType = "model-pr-auc-macro-greater-than"
	ModelPRRocAucWeightedGreaterThan  catalog.AssertionType = "model-pr-auc-weighted-greater-than"
	ModelZeroOneGreaterThan           catalog.AssertionType = "model-zero-one-greater-than"
	ModelHammingLossLessThan          catalog.AssertionType = "model-hamming-loss-less-than"
	ModelHingeLossLessThan            catalog.AssertionType = "model-hinge-loss-less-than"
	ModelJacquardScoreLessThan        catalog.AssertionType = "model-jacquard-loss-less-than"
	ModelMatthewsCorrCoefGreaterThan  catalog.AssertionType = "model-mcc-greater-than"
	ModelFpGreaterThan                catalog.AssertionType = "model-fp-"
	ModelFnGreaterThan                catalog.AssertionType = "model-fn"
	ModelTnGreaterThan                catalog.AssertionType = "model-tn-greater-than"
	ModelTpGreaterThan                catalog.AssertionType = "model-tp-greater-than"
	ModelTprGreaterThan               catalog.AssertionType = "model-tpr-greater-than"
	ModelFprGreaterThan               catalog.AssertionType = "model-fpr-greater-than"
	ModelTnrGreaterThan               catalog.AssertionType = "model-tnr-greater-than"
	ModelMCCGreaterThan               catalog.AssertionType = "model-matthews-corr-coef-greater-than"

	/// Regression
	ModelExplainedVarianceLessThan   catalog.AssertionType = "model-explained-variance-less-than"
	ModelMaxErrorLessThan            catalog.AssertionType = "model-max-error-less-than"
	ModelMAELessThan                 catalog.AssertionType = "model-mae-less-than"
	ModelMSELessThan                 catalog.AssertionType = "model-mse-less-than"
	ModelMSLELessThan                catalog.AssertionType = "model-msle-less-than"
	ModelRMSELessThan                catalog.AssertionType = "model-rmse-less-than"
	ModelRMSLELessThan               catalog.AssertionType = "model-rmsle-less-than"
	ModelMedianAbsoluteErrorLessThan catalog.AssertionType = "model-median-absolute-error-less-than"
	ModelR2LessThan                  catalog.AssertionType = "model-r2-less-than"
	ModelAdjR2LessThan               catalog.AssertionType = "model-adj-r2-less-than"
	ModelMeanPoissonDevianceLessThan catalog.AssertionType = "model-mean_poisson_deviance-less-than"
	ModelMeanGammaDevianceLessThan   catalog.AssertionType = "model-mean-gamma-deviance-less-than"
	ModelMeanTweedieDevianceLessThan catalog.AssertionType = "model-mean-tweedie-deviance-less-than"

	// Forecast specific
	ModelMAPELessThan  catalog.AssertionType = "model-mape-less-than"
	ModelMAZELessThan  catalog.AssertionType = "model-maze-less-than"
	ModelMDAPELessThan catalog.AssertionType = "model-mdape-less-than" // median absolute percentage error
	ModelSMAPELessThan catalog.AssertionType = "model-smape-less-than"

	//Clustering
	ModelAdjustedMutualInfoScoreBetween   catalog.AssertionType = "model-adjusted-mutual-info-score-between"
	ModelAdjustedRandScoreBetween         catalog.AssertionType = "model-adjusted-rand-score-between"
	ModelCompletenessScoreBetween         catalog.AssertionType = "model-completeness-score-between"
	ModelFowlkesMallowsScoreBetween       catalog.AssertionType = "model-fowlkes-mallows-score-between"
	ModelHomogeneityScoreBetween          catalog.AssertionType = "model-homogeneity-score-between"
	ModelMutualInfoScoreBetween           catalog.AssertionType = "model-mutual-info-score-between"
	ModelNormalizedMutualInfoScoreBetween catalog.AssertionType = "model-normalized-mutual-info-score-between"
	ModelVMeasureScoreBetween             catalog.AssertionType = "model-v-measure-score-between"

	// Infra metrics
	ServingP50LatencyLowerThan catalog.AssertionType = "serving-p50-latency-lower-than"
	ServingP95LatencyLowerThan catalog.AssertionType = "serving-p95-latency-lower-than"
	ServingP99LatencyLowerThan catalog.AssertionType = "serving-p99-latency-lower-than"
	ServingReqSecBetween       catalog.AssertionType = "req-per-sec-between"
	CpuBetween                 catalog.AssertionType = "cpu-between"
	GpuBetween                 catalog.AssertionType = "gpu-between"
	MemBetween                 catalog.AssertionType = "mem-between"
	GpuMemBetween              catalog.AssertionType = "gpu-mem-between"

	PredictorUncertainPredictionPercent catalog.AssertionType = "uncertain-prediction-percent-between"
)

////////////////////////////////////////////////////////////////////////////// Model Assertions /////////////////////////////////////////////////////////////////////////////

View Source
const (
	ModelAccuracyGreaterThanBaseline  catalog.AssertionType = "model-accuracy-greater-than-baseline"
	ModelRocAucGreaterThanBaseline    catalog.AssertionType = "model-roc-auc-greater-than-baseline"
	ModelF1GreaterThanBaseline        catalog.AssertionType = "model-f1-greater-than-baseline"
	ModelPrecisionGreaterThanBaseline catalog.AssertionType = "model-precision-greater-than-baseline"
	ModelRecallGreaterThanBaseline    catalog.AssertionType = "model-recall-less-than-baseline"
	ModelMSELessThanBaseline          catalog.AssertionType = "model-mse-less-than-baseline"
	ModelRMSELessThanBaseline         catalog.AssertionType = "model-rmse-less-than-baseline"
	ModelMAPELessThanBaseline         catalog.AssertionType = "model-mape-less-than-baseline"
)

Assertion type compare to baseline

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 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 AlgorithmSearchSpaceSpec

type AlgorithmSearchSpaceSpec struct {
	// AllowList contains the collection of algorithms available to the ModelClass specifying the AlgorithmSearchSpaceSpec.
	// If empty, all algorithms will be available for training
	// +kubebuilder:validation:Optional
	AllowList []catalog.ClassicEstimatorName `json:"allowlist,omitempty" protobuf:"bytes,1,rep,name=allowlist"`
}

AlgorithmSearchSpaceSpec defines the algorithms available to models produced by a ModelClass

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 Anomaly added in v0.5.144

type Anomaly struct {
	// +kubebuilder:validation:Optional
	Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`
	// +kubebuilder:validation:Optional
	ValueColumn string `json:"valueColumn,omitempty" protobuf:"bytes,2,opt,name=valueColumn"`
	// +kubebuilder:validation:Optional
	AdjDeltaColumn string `json:"adjDeltaColumn,omitempty" protobuf:"bytes,3,opt,name=adjDeltaColumn"`
	// The start of the anomaly
	// +kubebuilder:validation:Optional
	Start string `json:"start,omitempty" protobuf:"bytes,4,opt,name=start"`
	// The end of the anomaly
	// +kubebuilder:validation:Optional
	End string `json:"end,omitempty" protobuf:"bytes,5,opt,name=end"`
}

func (*Anomaly) DeepCopy added in v0.5.145

func (in *Anomaly) DeepCopy() *Anomaly

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

func (*Anomaly) DeepCopyInto added in v0.5.145

func (in *Anomaly) DeepCopyInto(out *Anomaly)

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

func (*Anomaly) Descriptor added in v0.5.144

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

func (*Anomaly) Marshal added in v0.5.144

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

func (*Anomaly) MarshalTo added in v0.5.144

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

func (*Anomaly) MarshalToSizedBuffer added in v0.5.144

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

func (*Anomaly) ProtoMessage added in v0.5.144

func (*Anomaly) ProtoMessage()

func (*Anomaly) Reset added in v0.5.144

func (m *Anomaly) Reset()

func (*Anomaly) Size added in v0.5.144

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

func (*Anomaly) String added in v0.5.144

func (this *Anomaly) String() string

func (*Anomaly) Unmarshal added in v0.5.144

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

func (*Anomaly) XXX_DiscardUnknown added in v0.5.144

func (m *Anomaly) XXX_DiscardUnknown()

func (*Anomaly) XXX_Marshal added in v0.5.144

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

func (*Anomaly) XXX_Merge added in v0.5.144

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

func (*Anomaly) XXX_Size added in v0.5.144

func (m *Anomaly) XXX_Size() int

func (*Anomaly) XXX_Unmarshal added in v0.5.144

func (m *Anomaly) 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 represents a single pipeline 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"`
	// ExpectedValueMax size for a single training set
	// +kubebuilder:default = 0
	// +kubebuilder:validation:Optional
	Initial *int32 `json:"Initial,omitempty" protobuf:"varint,3,opt,name=Initial"`
	// 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 {
	// Indicates if baseline models will be produced. Enabling baseline will create a model for each
	// algorithm in the parent ModelClass's search space with default hyper-parameters
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" protobuf:"varint,1,opt,name=enabled"`
	// Baselines contains the collection of algorithms that models will be created with
	// +kubebuilder:validation:Optional
	Baselines []catalog.ClassicEstimatorName `json:"baselines,omitempty" protobuf:"bytes,2,rep,name=baselines"`
	// Indicates if models will be created for every algorithm
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	All *bool `json:"all,omitempty" protobuf:"varint,3,opt,name=all"`
}

BaselineSpec specifies the configuration to produce baseline models

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
	UnitTests ModelTestSuite `json:"unitTests,omitempty" protobuf:"bytes,3,opt,name=unitTests"`
	// 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 ChangePoint added in v0.5.140

type ChangePoint struct {
}

func (*ChangePoint) DeepCopy added in v0.5.140

func (in *ChangePoint) DeepCopy() *ChangePoint

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

func (*ChangePoint) DeepCopyInto added in v0.5.140

func (in *ChangePoint) DeepCopyInto(out *ChangePoint)

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

func (*ChangePoint) Descriptor added in v0.5.140

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

func (*ChangePoint) Marshal added in v0.5.140

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

func (*ChangePoint) MarshalTo added in v0.5.140

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

func (*ChangePoint) MarshalToSizedBuffer added in v0.5.140

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

func (*ChangePoint) ProtoMessage added in v0.5.140

func (*ChangePoint) ProtoMessage()

func (*ChangePoint) Reset added in v0.5.140

func (m *ChangePoint) Reset()

func (*ChangePoint) Size added in v0.5.140

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

func (*ChangePoint) String added in v0.5.140

func (this *ChangePoint) String() string

func (*ChangePoint) Unmarshal added in v0.5.140

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

func (*ChangePoint) XXX_DiscardUnknown added in v0.5.140

func (m *ChangePoint) XXX_DiscardUnknown()

func (*ChangePoint) XXX_Marshal added in v0.5.140

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

func (*ChangePoint) XXX_Merge added in v0.5.140

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

func (*ChangePoint) XXX_Size added in v0.5.140

func (m *ChangePoint) XXX_Size() int

func (*ChangePoint) XXX_Unmarshal added in v0.5.140

func (m *ChangePoint) 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 specifies the configuration for a chatbot model

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 CheckpointSpec added in v0.4.513

type CheckpointSpec struct {
	// Indicates if checkpointing is enabled.
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" protobuf:"varint,1,rep,name=enabled"`
	// The interval, in minutes, at which a snapshot of a partially trained model will be saved.
	// Applicable to models with long training times for resiliency if training is suddenly stopped
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:=10
	// +kubebuilder:validation:Minimum=0
	CheckpointInterval *int32 `json:"checkpointInterval,omitempty" protobuf:"varint,2,opt,name=checkpointInterval"`
	// The location of the model checkpoint
	// +kubebuilder:validation:Optional
	Location data.DataLocation `json:"location,omitempty" protobuf:"bytes,3,opt,name=location"`
}

CheckpointSpec specifies where to store model checkpoints

func (*CheckpointSpec) DeepCopy added in v0.4.513

func (in *CheckpointSpec) DeepCopy() *CheckpointSpec

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

func (*CheckpointSpec) DeepCopyInto added in v0.4.513

func (in *CheckpointSpec) DeepCopyInto(out *CheckpointSpec)

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

func (*CheckpointSpec) Descriptor added in v0.4.513

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

func (*CheckpointSpec) Marshal added in v0.4.513

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

func (*CheckpointSpec) MarshalTo added in v0.4.513

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

func (*CheckpointSpec) MarshalToSizedBuffer added in v0.4.513

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

func (*CheckpointSpec) ProtoMessage added in v0.4.513

func (*CheckpointSpec) ProtoMessage()

func (*CheckpointSpec) Reset added in v0.4.513

func (m *CheckpointSpec) Reset()

func (*CheckpointSpec) Size added in v0.4.513

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

func (*CheckpointSpec) String added in v0.4.513

func (this *CheckpointSpec) String() string

func (*CheckpointSpec) Unmarshal added in v0.4.513

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

func (*CheckpointSpec) XXX_DiscardUnknown added in v0.4.513

func (m *CheckpointSpec) XXX_DiscardUnknown()

func (*CheckpointSpec) XXX_Marshal added in v0.4.513

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

func (*CheckpointSpec) XXX_Merge added in v0.4.513

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

func (*CheckpointSpec) XXX_Size added in v0.4.513

func (m *CheckpointSpec) XXX_Size() int

func (*CheckpointSpec) XXX_Unmarshal added in v0.4.513

func (m *CheckpointSpec) 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) Unmarshal

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

func (*CronReport) UpdateRunStatus added in v0.4.612

func (in *CronReport) UpdateRunStatus(run Report)

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 data pipeline run was created
	//+kubebuilder:validation:Optional
	LastRun catalog.LastRunStatus `json:"lastRun,omitempty" protobuf:"bytes,1,opt,name=lastRun"`
	// The time of the next schedule run
	//+kubebuilder:validation:Optional
	NextRun *metav1.Time `json:"nextRun,omitempty" protobuf:"bytes,2,opt,name=nextRun"`
	// Last time the object was updated
	//+kubebuilder:validation:Optional
	LastUpdated *metav1.Time `json:"lastUpdated,omitempty" protobuf:"bytes,3,opt,name=lastUpdated"`
	// 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"`
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +kubebuilder:validation:Optional
	Conditions []CronReportCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,7,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 {
	// Pages contains a collection of custom pages that will be appended to a 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 DNNTypeName

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

type DataHashes

type DataHashes struct {
	// +kubebuilder:default:=""
	// +kubebuilder:validation:Optional
	TrainingHash string `json:"trainingHash,omitempty" protobuf:"bytes,1,opt,name=trainHash"`
	// +kubebuilder:default:=""
	// +kubebuilder:validation:Optional
	TestingHash string `json:"testingHash,omitempty" protobuf:"bytes,2,opt,name=testingHash"`
	// +kubebuilder:default:=""
	// +kubebuilder:validation:Optional
	ValidationHash string `json:"validationHash,omitempty" protobuf:"bytes,3,opt,name=validationHash"`
}

DataHashes contains the hashes for datasets used during model training

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 {
	// The type of split method
	// +kubebuilder:default:="auto"
	// +kubebuilder:validation:Optional
	Method *catalog.DataSplitMethod `json:"method,omitempty" protobuf:"bytes,1,opt,name=method"`
	// The number percentage (0 through 100) of rows that will be allocated to the training dataset
	// +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"`
	// The number percentage (0 through 100) of rows that will be allocated to the validation dataset.
	// If Validation is set to 0 the model will default to use 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"`
	// The number percentage (0 through 100) of rows that will be allocated to the training dataset
	// +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 containing a binary value that indicates if the row should be split.
	// The split type must use split-column in order for SplitColumn to have an effect
	// +kubebuilder:validation:Optional
	SplitColumn *string `json:"splitColumn,omitempty" protobuf:"bytes,5,opt,name=splitColumn"`
	// The collection of segments
	// +kubebuilder:validation:Optional
	Segments []SegmentSpec `json:"segments,omitempty" protobuf:"bytes,6,rep,name=segments"`
	// The name of the Entity resource which will be used as the training dataset
	// +kubebuilder:default:=""
	// +kubebuilder:validation:Optional
	TrainDatasetName *string `json:"trainDataset,omitempty" protobuf:"bytes,7,rep,name=trainDataset"`
	// The name of the Entity resource which will be used as the testing dataset, applicable
	// if the split type uses test-dataset. If enabled, the training dataset will not be split and used as-is
	// If empty, we will not use test dataset
	// +kubebuilder:default:=""
	// +kubebuilder:validation:Optional
	TestDatasetName *string `json:"testDataset,omitempty" protobuf:"bytes,8,rep,name=testDataset"`
	// The name of the Entity resource which will be used as the validation dataset, applicable
	// if the split type uses test-dataset. If enabled, the training dataset will not be split and used as-is
	// +kubebuilder:default:=""
	// +kubebuilder:validation:Optional
	ValidationDatasetName *string `json:"validationDataset,omitempty" protobuf:"bytes,9,rep,name=validationDataset"`
}

DataSplitSpec specifies the configuration to split a dataset into training and testing datasets

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:"bytes,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:"bytes,3,opt,name=datapipelineName"`
	// 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
	// Not supported in first release.
	// +kubebuilder:default =""
	// +kubebuilder:validation:Optional
	DockerImage *string `json:"dockerImage,omitempty" protobuf:"bytes,4,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"`
	// Tests is the specification of tests to run in this stage
	// +kubebuilder:validation:Optional
	UnitTests ModelTestSuite `json:"unitTests,omitempty" protobuf:"bytes,4,opt,name=unitTests"`
	// 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 DriftDetectorStatus added in v0.4.728

type DriftDetectorStatus struct {
	// The location of the prediction outlier detection
	OutlierModelURI string `json:"outlierModelURI,omitempty" protobuf:"bytes,1,opt,name=outlierModelURI"`
}

func (*DriftDetectorStatus) DeepCopy added in v0.4.728

func (in *DriftDetectorStatus) DeepCopy() *DriftDetectorStatus

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

func (*DriftDetectorStatus) DeepCopyInto added in v0.4.728

func (in *DriftDetectorStatus) DeepCopyInto(out *DriftDetectorStatus)

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

func (*DriftDetectorStatus) Descriptor added in v0.4.728

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

func (*DriftDetectorStatus) Marshal added in v0.4.728

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

func (*DriftDetectorStatus) MarshalTo added in v0.4.728

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

func (*DriftDetectorStatus) MarshalToSizedBuffer added in v0.4.728

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

func (*DriftDetectorStatus) ProtoMessage added in v0.4.728

func (*DriftDetectorStatus) ProtoMessage()

func (*DriftDetectorStatus) Reset added in v0.4.728

func (m *DriftDetectorStatus) Reset()

func (*DriftDetectorStatus) Size added in v0.4.728

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

func (*DriftDetectorStatus) String added in v0.4.728

func (this *DriftDetectorStatus) String() string

func (*DriftDetectorStatus) Unmarshal added in v0.4.728

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

func (*DriftDetectorStatus) XXX_DiscardUnknown added in v0.4.728

func (m *DriftDetectorStatus) XXX_DiscardUnknown()

func (*DriftDetectorStatus) XXX_Marshal added in v0.4.728

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

func (*DriftDetectorStatus) XXX_Merge added in v0.4.728

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

func (*DriftDetectorStatus) XXX_Size added in v0.4.728

func (m *DriftDetectorStatus) XXX_Size() int

func (*DriftDetectorStatus) XXX_Unmarshal added in v0.4.728

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

type DriftModelSpec added in v0.4.964

type DriftModelSpec struct {
	// Indicates if density models should be created.
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" protobuf:"varint,1,opt,name=enabled"`
	// The density model alg.
	// +kubebuilder:default:="isolation-forest"
	// +kubebuilder:validation:Optional
	OutlierAlgorithm catalog.OutlierAlgorithmName `json:"outlierAlgorithm,omitempty" protobuf:"bytes,2,opt,name=outlierAlgorithm"`
}

The spec for generating a density model for this ModelClass.

func (*DriftModelSpec) DeepCopy added in v0.4.964

func (in *DriftModelSpec) DeepCopy() *DriftModelSpec

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

func (*DriftModelSpec) DeepCopyInto added in v0.4.964

func (in *DriftModelSpec) DeepCopyInto(out *DriftModelSpec)

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

func (*DriftModelSpec) Descriptor added in v0.4.964

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

func (*DriftModelSpec) Marshal added in v0.4.964

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

func (*DriftModelSpec) MarshalTo added in v0.4.964

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

func (*DriftModelSpec) MarshalToSizedBuffer added in v0.4.964

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

func (*DriftModelSpec) ProtoMessage added in v0.4.964

func (*DriftModelSpec) ProtoMessage()

func (*DriftModelSpec) Reset added in v0.4.964

func (m *DriftModelSpec) Reset()

func (*DriftModelSpec) Size added in v0.4.964

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

func (*DriftModelSpec) String added in v0.4.964

func (this *DriftModelSpec) String() string

func (*DriftModelSpec) Unmarshal added in v0.4.964

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

func (*DriftModelSpec) XXX_DiscardUnknown added in v0.4.964

func (m *DriftModelSpec) XXX_DiscardUnknown()

func (*DriftModelSpec) XXX_Marshal added in v0.4.964

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

func (*DriftModelSpec) XXX_Merge added in v0.4.964

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

func (*DriftModelSpec) XXX_Size added in v0.4.964

func (m *DriftModelSpec) XXX_Size() int

func (*DriftModelSpec) XXX_Unmarshal added in v0.4.964

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

type EarlyStopSpec added in v0.4.722

type EarlyStopSpec struct {
	// Indicates if early stopping is enabled
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" protobuf:"varint,1,opt,name=enabled"`
	// The number of models to train before model objective metrics will begin to be checked for early stopping
	// +kubebuilder:default:=20
	// +kubebuilder:validation:Optional
	Initial *int32 `json:"initial,omitempty" protobuf:"varint,2,opt,name=initial"`
	// The number of models with no improvement in score that are required to abort the model search
	// +kubebuilder:default:=5
	// +kubebuilder:validation:Optional
	MinModelsWithNoProgress *int32 `json:"minModelsWithNoProgress,omitempty" protobuf:"varint,3,opt,name=minModelsWithNoProgress"`
}

EarlyStopSpec specifies the configuration to automatically abort a model search if further improvements in model performance cannot be produced

func (*EarlyStopSpec) DeepCopy added in v0.4.722

func (in *EarlyStopSpec) DeepCopy() *EarlyStopSpec

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

func (*EarlyStopSpec) DeepCopyInto added in v0.4.722

func (in *EarlyStopSpec) DeepCopyInto(out *EarlyStopSpec)

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

func (*EarlyStopSpec) Descriptor added in v0.4.722

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

func (*EarlyStopSpec) Marshal added in v0.4.722

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

func (*EarlyStopSpec) MarshalTo added in v0.4.722

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

func (*EarlyStopSpec) MarshalToSizedBuffer added in v0.4.722

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

func (*EarlyStopSpec) ProtoMessage added in v0.4.722

func (*EarlyStopSpec) ProtoMessage()

func (*EarlyStopSpec) Reset added in v0.4.722

func (m *EarlyStopSpec) Reset()

func (*EarlyStopSpec) Size added in v0.4.722

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

func (*EarlyStopSpec) String added in v0.4.722

func (this *EarlyStopSpec) String() string

func (*EarlyStopSpec) Unmarshal added in v0.4.722

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

func (*EarlyStopSpec) XXX_DiscardUnknown added in v0.4.722

func (m *EarlyStopSpec) XXX_DiscardUnknown()

func (*EarlyStopSpec) XXX_Marshal added in v0.4.722

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

func (*EarlyStopSpec) XXX_Merge added in v0.4.722

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

func (*EarlyStopSpec) XXX_Size added in v0.4.722

func (m *EarlyStopSpec) XXX_Size() int

func (*EarlyStopSpec) XXX_Unmarshal added in v0.4.722

func (m *EarlyStopSpec) 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 {
	// The collection of models (by their name) to be used as estimators in the ensemble
	// +kubebuilder:validation:Optional
	Models []string `json:"models,omitempty" protobuf:"bytes,1,rep,name=models"`
	// The collection of estimators to be used in the ensemble, derived from Models
	// +kubebuilder:validation:Optional
	Estimators []ClassicalEstimatorSpec `json:"estimators,omitempty" protobuf:"bytes,2,rep,name=estimators"`
	// The base estimator
	// +kubebuilder:validation:Optional
	Final *ClassicalEstimatorSpec `json:"final,omitempty" protobuf:"bytes,3,rep,name=final"`
	// The ensemble type method
	// +kubebuilder:validation:Optional
	Type *catalog.EnsembleType `json:"type,omitempty" protobuf:"bytes,4,rep,name=type"`
}

EnsembleSpec specifies the parameters of an ensemble model

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 {
	// Indicates if ensemble models will be created
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" protobuf:"varint,1,opt,name=enabled"`
	// Indicates if a voting ensemble model will be created
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	VotingEnsemble *bool `json:"votingEnsemble,omitempty" protobuf:"varint,2,opt,name=votingEnsemble"`
	// Indicates if a stacking ensemble model will be created
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	StackingEnsemble *bool `json:"stackingEnsemble,omitempty" protobuf:"varint,3,opt,name=stackingEnsemble"`
	// The number of top candidate models to include in the ensemble
	// +kubebuilder:default:=3
	// +kubebuilder:validation:Optional
	Top *int32 `json:"top,omitempty" protobuf:"varint,4,opt,name=top"`
}

EnsemblesSpec specifies the configuration to produce ensemble models

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 EvalMetrics added in v0.5.150

type EvalMetrics struct {
	// From: https://linkedin.github.io/greykite/docs/0.1.0/html/pages/stepbystep/0400_configuration.html
	// Used to select the optimal model during cross-validation.
	// +kubebuilder:validation:Optional
	Selection catalog.Metric `json:"selection,omitempty" protobuf:"bytes,1,opt,name=selection"`
	// From: https://linkedin.github.io/greykite/docs/0.1.0/html/pages/stepbystep/0400_configuration.html
	// Additional metrics to compute during CV, besides the one specified by “cv_selection_metric“
	// +kubebuilder:validation:Optional
	Reporting []catalog.Metric `json:"reporting,omitempty" protobuf:"bytes,2,opt,name=reporting"`
	//  From: https://linkedin.github.io/greykite/docs/0.1.0/html/pages/stepbystep/0400_configuration.html
	//  Defines how to aggregate rolling windows of actual and predicted values
	//  before evaluation.
	// +kubebuilder:validation:Optional
	AggFunc *string `json:"aggFunc,omitempty" protobuf:"bytes,3,opt,name=aggFunc"`
	//  From: https://linkedin.github.io/greykite/docs/0.1.0/html/pages/stepbystep/0400_configuration.html
	//  Number of periods to aggregate before evaluation.
	// +kubebuilder:validation:Optional
	AggPeriod *int32 `json:"aggPeriod,omitempty" protobuf:"bytes,4,opt,name=aggPeriod"`
	//  From: https://linkedin.github.io/greykite/docs/0.1.0/html/pages/stepbystep/0400_configuration.html
	// Defines baseline model to compute “R2_null_model_score“ evaluation metric.
	// R2_null_model_score is the improvement in the loss function relative
	//to a null model. It can be used to evaluate model quality with respect to
	//a simple baseline
	// +kubebuilder:validation:Optional
	NullModelParams *string `json:"nullModelParams,omitempty" protobuf:"bytes,5,opt,name=nullModelParams"`
	//  From: https://linkedin.github.io/greykite/docs/0.1.0/html/pages/stepbystep/0400_configuration.html
	//Threshold to compute the “Outside Tolerance“ metric,
	//defined as the fraction of forecasted values whose relative
	//error is strictly greater than “relative_error_tolerance“.
	//If `None`, the metric is not computed.
	// +kubebuilder:validation:Optional
	RelErrTolerance *float64 `json:"relErrTolerance,omitempty" protobuf:"bytes,6,opt,name=relErrTolerance"`
}

What metric to evaluate

func (*EvalMetrics) DeepCopy added in v0.5.150

func (in *EvalMetrics) DeepCopy() *EvalMetrics

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

func (*EvalMetrics) DeepCopyInto added in v0.5.150

func (in *EvalMetrics) DeepCopyInto(out *EvalMetrics)

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

func (*EvalMetrics) Descriptor added in v0.5.150

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

func (*EvalMetrics) Marshal added in v0.5.150

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

func (*EvalMetrics) MarshalTo added in v0.5.150

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

func (*EvalMetrics) MarshalToSizedBuffer added in v0.5.150

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

func (*EvalMetrics) ProtoMessage added in v0.5.150

func (*EvalMetrics) ProtoMessage()

func (*EvalMetrics) Reset added in v0.5.150

func (m *EvalMetrics) Reset()

func (*EvalMetrics) Size added in v0.5.150

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

func (*EvalMetrics) String added in v0.5.150

func (this *EvalMetrics) String() string

func (*EvalMetrics) Unmarshal added in v0.5.150

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

func (*EvalMetrics) XXX_DiscardUnknown added in v0.5.150

func (m *EvalMetrics) XXX_DiscardUnknown()

func (*EvalMetrics) XXX_Marshal added in v0.5.150

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

func (*EvalMetrics) XXX_Merge added in v0.5.150

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

func (*EvalMetrics) XXX_Size added in v0.5.150

func (m *EvalMetrics) XXX_Size() int

func (*EvalMetrics) XXX_Unmarshal added in v0.5.150

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

type EvalPeriod added in v0.5.150

type EvalPeriod struct {
	//  From: https://linkedin.github.io/greykite/docs/0.1.0/html/pages/stepbystep/0400_configuration.html
	//Numbers of periods held back from end of df for test.
	//The rest is used for cross validation.
	//If None, default is forecast_horizon. Set to 0 to skip backtest.
	// +kubebuilder:validation:Optional
	TestHorizon *int32 `json:"testHorizon,omitempty" protobuf:"bytes,1,opt,name=testHorizon"`

	// +kubebuilder:validation:Optional
	PeriodsBetweenTrainTest *int32 `json:"periodsBetweenTrainTest,omitempty" protobuf:"bytes,2,opt,name=periodsBetweenTrainTest"`
	//  From: https://linkedin.github.io/greykite/docs/0.1.0/html/pages/stepbystep/0400_configuration.html
	//Number of periods to slide the test window between CV splits. Has to be greater than or equal to 1.
	//If None, default is cv_horizon.
	// +kubebuilder:validation:Optional
	CvPeriodsBetweenSplits *int32 `json:"cvPeriodsBetweenSplits,omitempty" protobuf:"bytes,3,opt,name=cvPeriodsBetweenSplits"`

	// +kubebuilder:validation:Optional
	CvExpandingWindows *bool `json:"cvExpandingWindows,omitempty" protobuf:"bytes,4,opt,name=cvExpandingWindows"`
	//  From: https://linkedin.github.io/greykite/docs/0.1.0/html/pages/stepbystep/0400_configuration.html
	//Number of periods in each CV test set
	//If None, default is forecast_horizon. Set to 0 to skip CV.
	// +kubebuilder:validation:Optional
	CvHorizon *int32 `json:"cvHorizon,omitempty" protobuf:"bytes,5,opt,name=cvHorizon"`
	//  From: https://linkedin.github.io/greykite/docs/0.1.0/html/pages/stepbystep/0400_configuration.html
	// Minimum number of periods for training each CV fold.
	//If cv_expanding_window is False, every training period is this size
	//If None, default is 2 * cv_horizon
	// +kubebuilder:validation:Optional
	CvMinTrainPeriods *int32 `json:"cvMinTrainPeriods,omitempty" protobuf:"bytes,6,opt,name=cvMinTrainPeriods"`
	//  From: https://linkedin.github.io/greykite/docs/0.1.0/html/pages/stepbystep/0400_configuration.html
	// Maximum number of CV splits.
	// Given the above configuration, samples up to max_splits train/test splits,
	// preferring splits toward the end of available data. If None, uses all splits.
	// +kubebuilder:validation:Optional
	CvMaxSplits *int32 `json:"cvMaxSplits,omitempty" protobuf:"bytes,7,opt,name=cvMaxSplits"`
	//  From: https://linkedin.github.io/greykite/docs/0.1.0/html/pages/stepbystep/0400_configuration.html
	//If True, splits from the end of the dataset are used.
	//Else a sampling strategy is applied. Check
	// +kubebuilder:validation:Optional
	CvUseMostRecentSplits *bool `json:"cvUseMostRecentSplits,omitempty" protobuf:"bytes,8,opt,name=cvUseMostRecentSplits"`
}

The cross validation spec, used to evaluate the forecaster during training.

func (*EvalPeriod) DeepCopy added in v0.5.150

func (in *EvalPeriod) DeepCopy() *EvalPeriod

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

func (*EvalPeriod) DeepCopyInto added in v0.5.150

func (in *EvalPeriod) DeepCopyInto(out *EvalPeriod)

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

func (*EvalPeriod) Descriptor added in v0.5.150

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

func (*EvalPeriod) Marshal added in v0.5.150

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

func (*EvalPeriod) MarshalTo added in v0.5.150

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

func (*EvalPeriod) MarshalToSizedBuffer added in v0.5.150

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

func (*EvalPeriod) ProtoMessage added in v0.5.150

func (*EvalPeriod) ProtoMessage()

func (*EvalPeriod) Reset added in v0.5.150

func (m *EvalPeriod) Reset()

func (*EvalPeriod) Size added in v0.5.150

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

func (*EvalPeriod) String added in v0.5.150

func (this *EvalPeriod) String() string

func (*EvalPeriod) Unmarshal added in v0.5.150

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

func (*EvalPeriod) XXX_DiscardUnknown added in v0.5.150

func (m *EvalPeriod) XXX_DiscardUnknown()

func (*EvalPeriod) XXX_Marshal added in v0.5.150

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

func (*EvalPeriod) XXX_Merge added in v0.5.150

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

func (*EvalPeriod) XXX_Size added in v0.5.150

func (m *EvalPeriod) XXX_Size() int

func (*EvalPeriod) XXX_Unmarshal added in v0.5.150

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

type FeatureEngineeringPipeline

type FeatureEngineeringPipeline struct {
	// The name of the pipeline
	// +kubebuilder:validation:Required
	Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`
	// The type of data which the pipeline applies to
	// +kubebuilder:validation:Required
	// +required
	DataType catalog.DataType `json:"datatype,omitempty" protobuf:"bytes,2,opt,name=datatype"`
	// The collection of columns which the pipeline applies to. Each column in the dataset with the
	// data type of the pipeline should be added to the collection of columns
	// +kubebuilder:validation:Optional
	Columns []string `json:"columns,omitempty" protobuf:"bytes,3,rep,name=columns"`
	// The imputation method to use, which fills in missing values within the columns
	// +kubebuilder:default:=none
	// +kubebuilder:validation:Optional
	Imputation *catalog.Imputation `json:"imputation,omitempty" protobuf:"bytes,4,opt,name=imputation"`
	// The encoding method to use for categorical data types
	// +kubebuilder:default:=none
	// +kubebuilder:validation:Optional
	Encoding *catalog.CategoricalEncoding `json:"encoding,omitempty" protobuf:"bytes,5,opt,name=encoding"`
	// The scaling method to use for numerical data types
	// +kubebuilder:default:=none
	// +kubebuilder:validation:Optional
	Scaling *catalog.Scaling `json:"scaling,omitempty" protobuf:"bytes,6,opt,name=scaling"`
	// The discretisation method, which converts numerical data types to discrete variables
	// +kubebuilder:default:=none
	// +kubebuilder:validation:Optional
	Discretisation *catalog.Discretisation `json:"discretisation,omitempty" protobuf:"bytes,7,opt,name=discretisation"`
	// The transformation method to use for numerical data types
	// +kubebuilder:default:=none
	// +kubebuilder:validation:Optional
	VariableTransformation *catalog.VariableTransformation `json:"variableTransformation,omitempty" protobuf:"bytes,8,opt,name=variableTransformation"`
	// The method to use when handling outliers
	// +kubebuilder:default:=none
	// Apply only to numeric data types.
	OutlierHandling *catalog.OutlierHandling `json:"outlierHandling,omitempty" protobuf:"bytes,9,opt,name=outlierHandling"`
	// The method to use when handling the date-time data type
	// +kubebuilder:default:=none
	// +kubebuilder:validation:Optional
	DatetimeTransformation *catalog.DatetimeTransformation `json:"datetimeTransformation,omitempty" protobuf:"bytes,10,opt,name=datetimeTransformation"`
	// Text specifies the pipeline to handle raw text
	// +kubebuilder:validation:Optional
	Text *TextPipelineSpec `json:"text,omitempty" protobuf:"bytes,11,opt,name=text"`
	// Image specifies the pipeline to handle image data (currently unsupported)
	// +kubebuilder:validation:Optional
	Image *ImagePipelineSpec `json:"image,omitempty" protobuf:"bytes,12,opt,name=image"`
	// Audio specifies the pipeline to handle audio data (currently unsupported)
	// +kubebuilder:validation:Optional
	Audio *AudioPipelineSpec `json:"audio,omitempty" protobuf:"bytes,13,opt,name=audio"`
	// Video specifies the pipeline to handle video data (currently unsupported)
	// +kubebuilder:validation:Optional
	Video *VideoPipelineSpec `json:"video,omitempty" protobuf:"bytes,14,opt,name=video"`
	// Generated specifies a collection of columns to be generated
	// +kubebuilder:validation:Optional
	Generated []GeneratedColumnSpec `json:"generated,omitempty" protobuf:"bytes,16,rep,name=generated"`
	// Custom specifies a collection of columns to be generated. Custom columns are specified by end-users
	// +kubebuilder:validation:Optional
	Custom []GeneratedColumnSpec `json:"custom,omitempty" protobuf:"bytes,17,rep,name=custom"`
	// Indicates if all of all the columns specified by the Columns field should be dropped
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Drop *bool `json:"drop,omitempty" protobuf:"varint,18,opt,name=drop"`
	// Indicates if the pipeline should not be applied and the columns should remain unchanged
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Passthrough *bool `json:"passthrough,omitempty" protobuf:"varint,19,opt,name=passthrough"`
}

FeatureEngineeringPipeline represent a single pipeline to transform a dataset

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 {
	// Indicates if the feature engineering search will be performed
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" protobuf:"varint,1,opt,name=enabled"`
	// The method to use when handling an imbalanced dataset
	// +kubebuilder:default:=auto
	// +kubebuilder:validation:Optional
	ImbalanceHandler *catalog.ImbalanceHandling `json:"imbalanceHandler,omitempty" protobuf:"bytes,2,opt,name=imbalancedHandler"`
	// The algorithm to use when evaluating models with different feature engineering pipelines
	// +kubebuilder:validation:Optional
	Estimator *catalog.ClassicEstimatorName `json:"estimator,omitempty" protobuf:"bytes,3,opt,name=estimator"`
	// The number of models to sample, after which the feature engineering with the highest
	// score will be used with Model resources produced by the primary model search of the parent ModelClass
	// +kubebuilder:default:=10
	// +kubebuilder:validation:Optional
	MaxModels *int32 `json:"maxModels,omitempty" protobuf:"varint,4,opt,name=maxModels"`
	// The deadline, in seconds, for models produced by the search to be trained
	// +kubebuilder:default:=3600
	// +kubebuilder:validation:Optional
	MaxTimeSec *int32 `json:"maxTime,omitempty" protobuf:"varint,5,opt,name=maxTime"`
	// The desired number of trainers that will train candidate models in parallel. The number
	// of trainers is restricted based on the allowance provided by the active License
	// +kubebuilder:default:=1
	// +kubebuilder:validation:Optional
	MaxTrainers *int32 `json:"maxTrainers,omitempty" protobuf:"varint,6,opt,name=maxTrainers"`
	// The number percentage (0 through 100) of the dataset to train models with
	// +kubebuilder:default:=100
	// +kubebuilder:validation:Optional
	SamplePct *int32 `json:"samplePct,omitempty" protobuf:"varint,7,opt,name=samplePct"`
	// Indicates if models produced by the feature engineering search should be
	// automatically removed at the conclusion of the search
	// +kubebuilder:default:=true
	AutoRemove *bool `json:"autoRemove,omitempty" protobuf:"varint,8,opt,name=autoRemove"`
	// If true, if a feature engineering pipeline was previously produced for
	// the same dataset it will be used as a starting point for the search
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Reuse *bool `json:"reuse,omitempty" protobuf:"varint,9,opt,name=reuse"`
	// Specification for feature selection.
	// successful ModelClass.
	// +kubebuilder:validation:Optional
	FeatureSelectionTemplate FeatureSelectionSpec `json:"featureSelectionTemplate,omitempty" protobuf:"bytes,10,opt,name=featureSelectionTemplate"`
	// The number of new models produced by the fe search which, if there is no improvement
	// in score, the model search will conclude
	// +kubebuilder:validation:Optional
	EarlyStop EarlyStopSpec `json:"earlyStop,omitempty" protobuf:"bytes,12,opt,name=earlyStop"`
}

FeatureEngineeringSearchSpec specifies the configuration to produce the best-performing feature engineering pipeline for a given dataset

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 {
	// Pipelines contains the collection of feature engineering pipelines that
	// will be applied to a dataset prior to model training
	// +kubebuilder:validation:Optional
	Pipelines []FeatureEngineeringPipeline `json:"pipelines,omitempty" protobuf:"bytes,1,rep,name=pipelines"`
	// The method which will be used to handle an imbalanced dataset
	// +kubebuilder:default:=auto
	// +kubebuilder:validation:Optional
	Imbalance *catalog.ImbalanceHandling `json:"imbalance,omitempty" protobuf:"bytes,2,opt,name=imbalance"`
	// FeatureSelection specifies the configuration to perform
	// feature selection on a dataset prior to model training
	// +kubebuilder:validation:Optional
	FeatureSelection FeatureSelectionSpec `json:"selection,omitempty" protobuf:"bytes,3,opt,name=selection"`
}

FeatureEngineeringSpec specifies the feature engineering and preprocessing to be performed on a dataset

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 {
	// The name of the feature
	Feature string `json:"feature,omitempty" protobuf:"bytes,1,opt,name=feature"`
	// The importance of the feature
	// +kubebuilder:validation:Format=float
	// +kubebuilder:validation:Type=number
	Importance float64 `json:"importance,omitempty" protobuf:"bytes,2,opt,name=importance"`
}

FeatureImportance records the computed importance of a single feature

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 {
	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 {
	// Indicates if feature selection is enabled
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" protobuf:"varint,1,rep,name=enabled"`
	// Indicates if embedded methods will be tested as part of the candidate algorithms (e.g. tree-based selection)
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	Embedding *bool `json:"embedding,omitempty" protobuf:"varint,3,rep,name=embedding"`
	// Indicates if filter methods will be tested as part of the candidate algorithms (e.g. chi-square or anova tests)
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	Filter *bool `json:"filter,omitempty" protobuf:"varint,4,rep,name=filter"`
	// Indicates if wrapper methods will be tested as part of the candidate algorithms
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	Wrapper *bool `json:"wrapper,omitempty" protobuf:"varint,5,rep,name=wrapper"`
	// The collection of feature selection methods that will be applied in order to the dataset
	Pipeline []catalog.FeatureSelection `json:"pipeline,omitempty" protobuf:"bytes,6,rep,name=pipeline"`
	// The threshold as a percentage to remove low variance features
	// +kubebuilder:default:=5
	// +kubebuilder:validation:Optional
	VarianceThresholdPct *int32 `json:"varianceThresholdPct,omitempty" protobuf:"varint,7,opt,name=varianceThresholdPct"`
	// The threshold to remove features with high correlations
	// +kubebuilder:default:=95
	// +kubebuilder:validation:Optional
	CorrThreshold *int32 `json:"corrThreshold,omitempty" protobuf:"varint,8,opt,name=corrThreshold"`
	// The number of features that will be selected based on importance. If TopN is 0, all features will be selected
	// +kubebuilder:default:=0
	// +kubebuilder:validation:Optional
	MaxFeatures *int32 `json:"maxFeatures,omitempty" protobuf:"varint,9,opt,name=maxFeatures"`
	// Percent of features to keep
	// +kubebuilder:default:=20
	// +kubebuilder:validation:Optional
	Percentile *int32 `json:"percentile,omitempty" protobuf:"varint,10,opt,name=percentile"`
	// List of features that are reserved and will always be included in the final feature selection
	// +kubebuilder:validation:Optional
	Reserved []string `json:"reserved,omitempty" protobuf:"bytes,12,rep,name=reserved"`
}

FeatureSelectionSpec specifies the configuration to run feature selection on a dataset

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 ForecastStrategy added in v0.5.123

type ForecastStrategy string

+kubebuilder:validation:Enum="recursive";"direct";"none"

const (
	ForecastStrategyRecursive ForecastStrategy = "recursive"
	ForecastStrategyDirect    ForecastStrategy = "direct"
	ForecastStrategyNone      ForecastStrategy = "none"
)

type ForecasterSpec added in v0.5.123

type ForecasterSpec struct {
	// The spec for the holiday
	// +kubebuilder:validation:Optional
	Events []TimeSeriesEvent `json:"events,omitempty" protobuf:"bytes,2,rep,name=events"`
	// Specification for the past windows
	// +kubebuilder:validation:Optional
	Past WindowSpec `json:"past,omitempty" protobuf:"bytes,3,opt,name=past"`
	// Specification for the future windows
	// +kubebuilder:validation:Optional
	Future WindowSpec `json:"future,omitempty" protobuf:"bytes,4,opt,name=future"`
	// Make a forecast post training
	// +kubebuilder:validation:Optional
	Forecast *bool `json:"forecast,omitempty" protobuf:"bytes,5,opt,name=forecast"`
	// Make a forecast post training
	// +kubebuilder:validation:Optional
	Coverage *float64 `json:"coverage,omitempty" protobuf:"bytes,6,opt,name=coverage"`
	// The data location that would store the forecast result.
	// +kubebuilder:validation:Optional
	OutputLocation data.DataLocation `json:"outputLocation,omitempty" protobuf:"bytes,7,opt,name=outputLocation"`
	// List of time series features to compute on each time series.
	// +kubebuilder:validation:Optional
	Features []catalog.Metric `json:"features,omitempty" protobuf:"bytes,8,opt,name=features"`
	// Filter the groups to forecast for. If none forecast only to the leaf group
	// +kubebuilder:validation:Optional
	Groups []string `json:"groups,omitempty" protobuf:"bytes,9,rep,name=groups"`
	// +kubebuilder:validation:Optional
	PredefinedTemplate ModelTemplate `json:"predefinedTemplate,omitempty" protobuf:"bytes,10,opt,name=predefinedTemplate"`
	// +kubebuilder:validation:Optional
	Anomalies []Anomaly `json:"anomalies,omitempty" protobuf:"bytes,11,opt,name=anomalies"`
	// +kubebuilder:validation:Optional
	TrainEndDate string `json:"trainEndData,omitempty" protobuf:"bytes,12,opt,name=trainEndData"`
	// The value column. this is the name of the column to forecast, this will be based on the data source.
	// +kubebuilder:validation:Optional
	ValueColumn string `json:"valueColumn,omitempty" protobuf:"bytes,13,opt,name=valueColumn"`
	// +kubebuilder:validation:Optional
	HPOBudget *int32 `json:"hpoBudget,omitempty" protobuf:"bytes,14,opt,name=hpoBudget"`
	// Spec for evaluation metric
	// +kubebuilder:validation:Optional
	EvalMetrics EvalMetrics `json:"evaluationMetrics,omitempty" protobuf:"bytes,15,opt,name=evaluationMetrics"`
	// Spec for time series cross validation
	// +kubebuilder:validation:Optional
	EvalPeriod EvalPeriod `json:"evaluationPeriod,omitempty" protobuf:"bytes,16,opt,name=evaluationPeriod"`
	// +kubebuilder:validation:Optional
	Seasonality SeasonalitySpec `json:"seasonality,omitempty" protobuf:"bytes,17,opt,name=seasonality"`
	// The regressor. Initially those are set from the data source schema
	// +kubebuilder:validation:Optional
	Regressors []string `json:"regressors,omitempty" protobuf:"bytes,18,opt,name=regressors"`
	// Lagged Regressors
	// +kubebuilder:validation:Optional
	LaggedRegressors []string `json:"laggedRegressors,omitempty" protobuf:"bytes,19,opt,name=laggedRegressors"`
	// Set the growth of the series
	// +kubebuilder:validation:Optional
	Growth GrowthMode `json:"growth,omitempty" protobuf:"bytes,20,opt,name=growth"`
	// In case of group forecast
	// +kubebuilder:validation:Optional
	Key []string `json:"key,omitempty" protobuf:"bytes,21,opt,name=key"`
	// The estimators to try. By default, we try graykit / auto arima and prophet.
	// +kubebuilder:validation:Optional
	Estimators []catalog.ClassicEstimatorName `json:"estimators,omitempty" protobuf:"bytes,22,opt,name=estimators"`
	// Group recocile.
	// By default this is the bottom-up
	// +kubebuilder:default:="bottom-up"
	// +kubebuilder:validation:Optional
	HTS *catalog.HTS `json:"hts,omitempty" protobuf:"bytes,23,opt,name=hts"`
}

The forecaster search define a search for the forecaster

func (*ForecasterSpec) DeepCopy added in v0.5.125

func (in *ForecasterSpec) DeepCopy() *ForecasterSpec

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

func (*ForecasterSpec) DeepCopyInto added in v0.5.125

func (in *ForecasterSpec) DeepCopyInto(out *ForecasterSpec)

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

func (*ForecasterSpec) Descriptor added in v0.5.123

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

func (*ForecasterSpec) Marshal added in v0.5.123

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

func (*ForecasterSpec) MarshalTo added in v0.5.123

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

func (*ForecasterSpec) MarshalToSizedBuffer added in v0.5.123

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

func (*ForecasterSpec) ProtoMessage added in v0.5.123

func (*ForecasterSpec) ProtoMessage()

func (*ForecasterSpec) Reset added in v0.5.123

func (m *ForecasterSpec) Reset()

func (*ForecasterSpec) Size added in v0.5.123

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

func (*ForecasterSpec) String added in v0.5.123

func (this *ForecasterSpec) String() string

func (*ForecasterSpec) Unmarshal added in v0.5.123

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

func (*ForecasterSpec) XXX_DiscardUnknown added in v0.5.123

func (m *ForecasterSpec) XXX_DiscardUnknown()

func (*ForecasterSpec) XXX_Marshal added in v0.5.123

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

func (*ForecasterSpec) XXX_Merge added in v0.5.123

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

func (*ForecasterSpec) XXX_Size added in v0.5.123

func (m *ForecasterSpec) XXX_Size() int

func (*ForecasterSpec) XXX_Unmarshal added in v0.5.123

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

type GarbageCollectionSpec added in v0.4.414

type GarbageCollectionSpec struct {
	// Indicates if all models of the ModelClass, excluding the highest-performing model, will be archived
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:=true
	CollectAtStudyEnd *bool `json:"collectAtModelClassEnd,omitempty" protobuf:"varint,1,opt,name=collectAtModelClassEnd"`
	// Indicates if multiple models with the same algorithm are produced by the ModelClass, the
	// model with the lowest score will be garbage-collected
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:=false
	KeepOnlyBestModelPerAlgorithm *bool `json:"keepOnlyBestModelPerAlgorithm,omitempty" protobuf:"varint,2,opt,name=keepOnlyBestModelPerAlgorithm"`
	// Indicates if we should keep pruned models
	// model with the lowest score will be garbage-collected
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:=false
	KeepPrunedModel *bool `json:"keepPrunedModels,omitempty" protobuf:"varint,3,opt,name=keepPrunedModels"`
}

GarbageCollectionSpec specifies the configuration to garbage-collect unused Model resources

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 {
	// The number of models that were collected, equal to len(Models)
	// +kubebuilder:validation:Optional
	Collected int32 `json:"collected,omitempty" protobuf:"varint,1,opt,name=collected"`
	// The collection of models that were archived
	// +kubebuilder:validation:Optional
	Models []ModelResult `json:"models,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,2,opt,name=models"`
}

GarbageCollectionStatus contains the records for garbage-collected models

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"`
}

GeneratedColumnSpec describes a column to be generated and applied to a dataset

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 GroupModelLocationsSpec added in v0.5.210

type GroupModelLocationsSpec struct {
	// The folder of group data
	// +kubebuilder:validation:Optional
	GroupFolder *string `json:"groupFolder,omitempty" protobuf:"bytes,1,opt,name=groupFolder"`
	// The folder of group data
	// +kubebuilder:validation:Optional
	GroupProfileFolder *string `json:"groupProfileFolder,omitempty" protobuf:"bytes,2,opt,name=groupProfileFolder"`
	// The folder of group data
	// +kubebuilder:validation:Optional
	GroupReportFile *string `json:"groupReportFile,omitempty" protobuf:"bytes,3,opt,name=groupReportFile"`
	// The folder of group data
	// +kubebuilder:validation:Optional
	GroupModelFolder *string `json:"groupModelFolder,omitempty" protobuf:"bytes,4,opt,name=groupModelFolder"`
	// The folder of group data
	// +kubebuilder:validation:Optional
	GroupModelFile *string `json:"groupModelFile,omitempty" protobuf:"bytes,5,opt,name=groupModelFile"`
	// The folder of group data
	// +kubebuilder:validation:Optional
	GroupForecastFile *string `json:"groupForecastFile,omitempty" protobuf:"bytes,6,opt,name=groupForecastFile"`
}

func (*GroupModelLocationsSpec) DeepCopy added in v0.5.249

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

func (*GroupModelLocationsSpec) DeepCopyInto added in v0.5.249

func (in *GroupModelLocationsSpec) DeepCopyInto(out *GroupModelLocationsSpec)

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

func (*GroupModelLocationsSpec) Descriptor added in v0.5.210

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

func (*GroupModelLocationsSpec) Marshal added in v0.5.210

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

func (*GroupModelLocationsSpec) MarshalTo added in v0.5.210

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

func (*GroupModelLocationsSpec) MarshalToSizedBuffer added in v0.5.210

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

func (*GroupModelLocationsSpec) ProtoMessage added in v0.5.210

func (*GroupModelLocationsSpec) ProtoMessage()

func (*GroupModelLocationsSpec) Reset added in v0.5.210

func (m *GroupModelLocationsSpec) Reset()

func (*GroupModelLocationsSpec) Size added in v0.5.210

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

func (*GroupModelLocationsSpec) String added in v0.5.210

func (this *GroupModelLocationsSpec) String() string

func (*GroupModelLocationsSpec) Unmarshal added in v0.5.210

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

func (*GroupModelLocationsSpec) XXX_DiscardUnknown added in v0.5.210

func (m *GroupModelLocationsSpec) XXX_DiscardUnknown()

func (*GroupModelLocationsSpec) XXX_Marshal added in v0.5.210

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

func (*GroupModelLocationsSpec) XXX_Merge added in v0.5.210

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

func (*GroupModelLocationsSpec) XXX_Size added in v0.5.210

func (m *GroupModelLocationsSpec) XXX_Size() int

func (*GroupModelLocationsSpec) XXX_Unmarshal added in v0.5.210

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

type GroupSplitLocationsSpec added in v0.5.210

type GroupSplitLocationsSpec struct {
	// The folder of group data
	// +kubebuilder:validation:Optional
	GroupTrainingFile *string `json:"groupTrainingDataFile,omitempty" protobuf:"bytes,1,opt,name=groupTrainingDataFile"`
	// The folder of group data
	// +kubebuilder:validation:Optional
	GroupTestingFile *string `json:"groupTestingDataFile,omitempty" protobuf:"bytes,2,opt,name=groupTestingDataFile"`
}

func (*GroupSplitLocationsSpec) DeepCopy added in v0.5.249

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

func (*GroupSplitLocationsSpec) DeepCopyInto added in v0.5.249

func (in *GroupSplitLocationsSpec) DeepCopyInto(out *GroupSplitLocationsSpec)

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

func (*GroupSplitLocationsSpec) Descriptor added in v0.5.210

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

func (*GroupSplitLocationsSpec) Marshal added in v0.5.210

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

func (*GroupSplitLocationsSpec) MarshalTo added in v0.5.210

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

func (*GroupSplitLocationsSpec) MarshalToSizedBuffer added in v0.5.210

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

func (*GroupSplitLocationsSpec) ProtoMessage added in v0.5.210

func (*GroupSplitLocationsSpec) ProtoMessage()

func (*GroupSplitLocationsSpec) Reset added in v0.5.210

func (m *GroupSplitLocationsSpec) Reset()

func (*GroupSplitLocationsSpec) Size added in v0.5.210

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

func (*GroupSplitLocationsSpec) String added in v0.5.210

func (this *GroupSplitLocationsSpec) String() string

func (*GroupSplitLocationsSpec) Unmarshal added in v0.5.210

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

func (*GroupSplitLocationsSpec) XXX_DiscardUnknown added in v0.5.210

func (m *GroupSplitLocationsSpec) XXX_DiscardUnknown()

func (*GroupSplitLocationsSpec) XXX_Marshal added in v0.5.210

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

func (*GroupSplitLocationsSpec) XXX_Merge added in v0.5.210

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

func (*GroupSplitLocationsSpec) XXX_Size added in v0.5.210

func (m *GroupSplitLocationsSpec) XXX_Size() int

func (*GroupSplitLocationsSpec) XXX_Unmarshal added in v0.5.210

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

type GrowthMode

type GrowthMode string

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

const (
	Linear    GrowthMode = "linear"
	Logistic  GrowthMode = "logistic"
	Quadratic GrowthMode = "quadratic"
	Sqr2      GrowthMode = "sqrt"
	Flat      GrowthMode = "flat"
	None      GrowthMode = "none"
)

type HyperParameterValue

type HyperParameterValue struct {
	// The name of the hyper-parameter
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
	// The value of the hyper-parameter
	Value string `json:"value" protobuf:"bytes,2,opt,name=value"`
}

HyperParameterValue represent an individual hyper-parameter of a machine earning algorithm

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 HyperbandOptions added in v0.4.767

type HyperbandOptions struct {
	// A parameter for specifying the minimum resource allocated to a trial noted as 𝑟 in the paper
	// +kubebuilder:default:=1
	// +kubebuilder:validation:Optional
	MinResources *int32 `json:"minResources,omitempty" protobuf:"varint,1,opt,name=minResources"`
	// A parameter for specifying the maximum resource allocated to a trial
	// +kubebuilder:default:=1
	// +kubebuilder:validation:Optional
	MaxResources *int32 `json:"maxResources,omitempty" protobuf:"varint,2,opt,name=maxResources"`
	// A parameter for specifying reduction factor of promotable trials
	// +kubebuilder:default:=3
	// +kubebuilder:validation:Optional
	ReductionFactor *int32 `json:"reductionFactor,omitempty" protobuf:"varint,3,opt,name=reductionFactor"`
	// Parameter specifying the number of trials required in a rung before any trial can be promoted
	// +kubebuilder:default:=0
	// +kubebuilder:validation:Optional
	BootstrapCount *int32 `json:"bootstrapCount,omitempty" protobuf:"varint,4,opt,name=bootstrapCount"`
}

func (*HyperbandOptions) DeepCopy added in v0.4.767

func (in *HyperbandOptions) DeepCopy() *HyperbandOptions

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

func (*HyperbandOptions) DeepCopyInto added in v0.4.767

func (in *HyperbandOptions) DeepCopyInto(out *HyperbandOptions)

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

func (*HyperbandOptions) Descriptor added in v0.4.767

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

func (*HyperbandOptions) Marshal added in v0.4.767

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

func (*HyperbandOptions) MarshalTo added in v0.4.767

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

func (*HyperbandOptions) MarshalToSizedBuffer added in v0.4.767

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

func (*HyperbandOptions) ProtoMessage added in v0.4.767

func (*HyperbandOptions) ProtoMessage()

func (*HyperbandOptions) Reset added in v0.4.767

func (m *HyperbandOptions) Reset()

func (*HyperbandOptions) Size added in v0.4.767

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

func (*HyperbandOptions) String added in v0.4.767

func (this *HyperbandOptions) String() string

func (*HyperbandOptions) Unmarshal added in v0.4.767

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

func (*HyperbandOptions) XXX_DiscardUnknown added in v0.4.767

func (m *HyperbandOptions) XXX_DiscardUnknown()

func (*HyperbandOptions) XXX_Marshal added in v0.4.767

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

func (*HyperbandOptions) XXX_Merge added in v0.4.767

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

func (*HyperbandOptions) XXX_Size added in v0.4.767

func (m *HyperbandOptions) XXX_Size() int

func (*HyperbandOptions) XXX_Unmarshal added in v0.4.767

func (m *HyperbandOptions) 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 represents a single pipeline 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 ImbalanceHandlingSpec added in v0.4.737

type ImbalanceHandlingSpec struct {
	// Indicates if imbalance handling is enabled
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" protobuf:"varint,1,opt,name=enabled"`
	// The technique that will be used to handle the imbalanced dataset
	// +kubebuilder:default:=auto
	// +kubebuilder:validation:Optional
	Imbalance *catalog.ImbalanceHandling `json:"imbalance,omitempty" protobuf:"bytes,2,opt,name=imbalance"`
}

ImbalanceHandlingSpec specifies the configuration to process an imbalanced dataset

func (*ImbalanceHandlingSpec) DeepCopy added in v0.4.737

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

func (*ImbalanceHandlingSpec) DeepCopyInto added in v0.4.737

func (in *ImbalanceHandlingSpec) DeepCopyInto(out *ImbalanceHandlingSpec)

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

func (*ImbalanceHandlingSpec) Descriptor added in v0.4.737

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

func (*ImbalanceHandlingSpec) Marshal added in v0.4.737

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

func (*ImbalanceHandlingSpec) MarshalTo added in v0.4.737

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

func (*ImbalanceHandlingSpec) MarshalToSizedBuffer added in v0.4.737

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

func (*ImbalanceHandlingSpec) ProtoMessage added in v0.4.737

func (*ImbalanceHandlingSpec) ProtoMessage()

func (*ImbalanceHandlingSpec) Reset added in v0.4.737

func (m *ImbalanceHandlingSpec) Reset()

func (*ImbalanceHandlingSpec) Size added in v0.4.737

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

func (*ImbalanceHandlingSpec) String added in v0.4.737

func (this *ImbalanceHandlingSpec) String() string

func (*ImbalanceHandlingSpec) Unmarshal added in v0.4.737

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

func (*ImbalanceHandlingSpec) XXX_DiscardUnknown added in v0.4.737

func (m *ImbalanceHandlingSpec) XXX_DiscardUnknown()

func (*ImbalanceHandlingSpec) XXX_Marshal added in v0.4.737

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

func (*ImbalanceHandlingSpec) XXX_Merge added in v0.4.737

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

func (*ImbalanceHandlingSpec) XXX_Size added in v0.4.737

func (m *ImbalanceHandlingSpec) XXX_Size() int

func (*ImbalanceHandlingSpec) XXX_Unmarshal added in v0.4.737

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

type InterpretabilitySpec

type InterpretabilitySpec struct {
	// Indicates if ICE (individual condition expectation) plots will be generated
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	ICE *bool `json:"ice,omitempty" protobuf:"varint,1,opt,name=ice"`
	// The collection of feature pairs to generate ICE scatter diagrams for each
	ICEPairs []FeaturePair `json:"icepairs,omitempty" protobuf:"bytes,2,rep,name=icepairs"`
	// Indicates if LIME (local interpretable model-agnostic explanations) diagrams will be generated
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Lime *bool `json:"lime,omitempty" protobuf:"varint,3,opt,name=lime"`
	// The type of SHAP values to be generated. Linear and tree values are the
	// only recommended types due to the high compute times of other methods
	// +kubebuilder:default:=auto
	// +kubebuilder:validation:Optional
	Shap *catalog.ShapType `json:"shap,omitempty" protobuf:"bytes,4,opt,name=shap"`
	// The collection of feature pairs to generate SHAP scatter diagrams for each
	// +kubebuilder:validation:Optional
	ShapPairs []FeaturePair `json:"shappairs,omitempty" protobuf:"bytes,5,rep,name=shappairs"`
	// Indicates if counter-factual diagrams will be generated
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	CounterFactual *bool `json:"counterfactual,omitempty" protobuf:"varint,6,opt,name=counterfactual"`
	// Indicates if anchor explanation diagrams will be generated
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Anchor *bool `json:"anchor,omitempty" protobuf:"varint,7,opt,name=anchor"`
}

InterpretabilitySpec specifies the configuration to generate interpretability data and diagrams

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 the time when the model explanation phase started
	// +kubebuilder:validation:Optional
	StartTime *metav1.Time `json:"trainingStartTime,omitempty" protobuf:"bytes,1,opt,name=trainingStartTime"`
	// EndTime represents the time when the model explanation phase ended
	// +kubebuilder:validation:Optional
	EndTime *metav1.Time `json:"trainingEndTime,omitempty" protobuf:"bytes,2,opt,name=trainingEndTime"`
	// The URI for the generated explanation data
	ExplainerURI string `json:"explainerURI,omitempty" protobuf:"bytes,3,opt,name=explainerURI"`
	// The URI for the train SHAP values
	TrainShapValuesURI string `json:"trainShapValuesURI,omitempty" protobuf:"bytes,4,opt,name=trainShapValuesURI"`
	// The URI for the test SHAP values
	TestShapValuesURI string `json:"testShapValuesURI,omitempty" protobuf:"bytes,5,opt,name=testShapValuesURI"`
	// The collection of feature importances generated from the computed SHAP values
	Importance []FeatureImportance `json:"importance,omitempty" protobuf:"bytes,6,rep,name=importance"`
}

InterpretabilityStatus represents the state of the explanation phase of a Model

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 level name, must be unique
	Name string `json:"name,omitempty" protobuf:"bytes,1,rep,name=name"`
	// The key for the levels
	Index []string `json:"index,omitempty" protobuf:"bytes,2,rep,name=index"`
	// The forecast horizon
	Horizon *int32 `json:"horizon,omitempty" protobuf:"varint,3,opt,name=horizon"`
	// The freq of the level
	Freq *catalog.Freq `json:"freq,omitempty" protobuf:"bytes,4,opt,name=freq"`
	// The aggregate function used to roll up the lower level
	Aggregate *catalog.Aggregate `json:"aggregate,omitempty" protobuf:"bytes,5,opt,name=aggregate"`
}

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 MedianPrunerOptions added in v0.4.767

type MedianPrunerOptions struct {
	// Pruning is disabled until the given number of trials finish in the same ModelClass.
	// +kubebuilder:default:=5
	// +kubebuilder:validation:Optional
	StartupTrials *int32 `json:"startupTrials,omitempty" protobuf:"varint,1,opt,name=startupTrials"`
	//  Pruning is disabled until the trial exceeds the given number of step
	// +kubebuilder:default:=0
	// +kubebuilder:validation:Optional
	WarmupSteps *int32 `json:"warmupSteps,omitempty" protobuf:"varint,2,opt,name=warmupSteps"`
	// Interval in number of steps between the pruning checks
	// +kubebuilder:default:=1
	// +kubebuilder:validation:Optional
	IntervalSteps *int32 `json:"intervalSteps,omitempty" protobuf:"varint,3,opt,name=intervalSteps"`
	// Minimum number of reported trials.
	// +kubebuilder:default:=1
	// +kubebuilder:validation:Optional
	MinTrials *int32 `json:"minTrials,omitempty" protobuf:"varint,4,opt,name=minTrials"`
}

func (*MedianPrunerOptions) DeepCopy added in v0.4.767

func (in *MedianPrunerOptions) DeepCopy() *MedianPrunerOptions

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

func (*MedianPrunerOptions) DeepCopyInto added in v0.4.767

func (in *MedianPrunerOptions) DeepCopyInto(out *MedianPrunerOptions)

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

func (*MedianPrunerOptions) Descriptor added in v0.4.767

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

func (*MedianPrunerOptions) Marshal added in v0.4.767

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

func (*MedianPrunerOptions) MarshalTo added in v0.4.767

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

func (*MedianPrunerOptions) MarshalToSizedBuffer added in v0.4.767

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

func (*MedianPrunerOptions) ProtoMessage added in v0.4.767

func (*MedianPrunerOptions) ProtoMessage()

func (*MedianPrunerOptions) Reset added in v0.4.767

func (m *MedianPrunerOptions) Reset()

func (*MedianPrunerOptions) Size added in v0.4.767

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

func (*MedianPrunerOptions) String added in v0.4.767

func (this *MedianPrunerOptions) String() string

func (*MedianPrunerOptions) Unmarshal added in v0.4.767

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

func (*MedianPrunerOptions) XXX_DiscardUnknown added in v0.4.767

func (m *MedianPrunerOptions) XXX_DiscardUnknown()

func (*MedianPrunerOptions) XXX_Marshal added in v0.4.767

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

func (*MedianPrunerOptions) XXX_Merge added in v0.4.767

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

func (*MedianPrunerOptions) XXX_Size added in v0.4.767

func (m *MedianPrunerOptions) XXX_Size() int

func (*MedianPrunerOptions) XXX_Unmarshal added in v0.4.767

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

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"`
}

Model represents a machine learning model that will be trained, evaluated, and deployed by Modela. Model resources are generated by the Modela data plane and cannot be created manually +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:storageversion +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Progress",type="string",JSONPath=".status.progress",priority=1 +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",priority=1 +kubebuilder:printcolumn:name="Study",type="string",JSONPath=".spec.studyName" +kubebuilder:printcolumn:name="Task",type="string",JSONPath=".spec.task",priority=1 +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",priority=1 +kubebuilder:printcolumn:name="Test Score",type="number",JSONPath=".status.testScore" +kubebuilder:printcolumn:name="Last Failure",type="string",JSONPath=".status.failureMessage",priority=1 +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:path=models,singular=model,shortName=md,categories={training,modela,all}

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) CompletionAlert added in v0.4.601

func (model *Model) CompletionAlert(tenantRef *v1.ObjectReference, notifierName *string) *infra.Alert

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) ErrorAlert added in v0.4.601

func (model *Model) ErrorAlert(tenantRef *v1.ObjectReference, notifierName *string, err error) *infra.Alert

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) FeedbackTested added in v0.5.46

func (model *Model) FeedbackTested() 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) GroupFolder added in v0.5.209

func (model *Model) GroupFolder() string

func (*Model) GroupModelFile added in v0.5.218

func (model *Model) GroupModelFile() string

func (*Model) GroupModelFolder added in v0.5.209

func (model *Model) GroupModelFolder() string

func (*Model) GroupModelForecastFile added in v0.5.210

func (model *Model) GroupModelForecastFile() string

func (*Model) GroupModelProfileFolder added in v0.5.209

func (model *Model) GroupModelProfileFolder() string

func (*Model) GroupModelReportFile added in v0.5.210

func (model *Model) GroupModelReportFile() string

func (*Model) HasFinalizer

func (model *Model) HasFinalizer() bool

func (*Model) IndexFileKey added in v0.5.190

func (model *Model) IndexFileKey() string

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) IsGroup added in v0.5.155

func (model Model) IsGroup() bool

func (*Model) IsLive

func (model *Model) IsLive() bool

func (*Model) IsPredicted added in v0.5.135

func (model *Model) IsPredicted() 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) MarkFailedToMerge added in v0.5.202

func (model *Model) MarkFailedToMerge(err string)

func (*Model) MarkFailedToTrain

func (model *Model) MarkFailedToTrain(err string)

func (*Model) MarkFailedToTune added in v0.5.139

func (model *Model) MarkFailedToTune(err string)

func (*Model) MarkFeedbackTestFailed added in v0.5.46

func (model *Model) MarkFeedbackTestFailed(msg string)

func (*Model) MarkFeedbackTested added in v0.5.46

func (model *Model) MarkFeedbackTested()

func (*Model) MarkFeedbackTesting added in v0.5.46

func (model *Model) MarkFeedbackTesting()

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(predictor string, role catalog.ModelRole)

func (*Model) MarkMaintain

func (model *Model) MarkMaintain()

func (*Model) MarkMerged added in v0.5.202

func (model *Model) MarkMerged()

func (*Model) MarkMerging added in v0.5.202

func (model *Model) MarkMerging()

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) MarkPredicted added in v0.5.135

func (model *Model) MarkPredicted()

func (*Model) MarkPredicting added in v0.5.135

func (model *Model) MarkPredicting()

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) MarkPruned added in v0.4.764

func (model *Model) MarkPruned(uri string)

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) MarkTrainedDriftDetector added in v0.4.732

func (model *Model) MarkTrainedDriftDetector(image string)

func (*Model) MarkTrainedDriftDetectorFailed added in v0.4.732

func (model *Model) MarkTrainedDriftDetectorFailed(err string)

func (*Model) MarkTraining

func (model *Model) MarkTraining()

func (*Model) MarkTrainingDriftDetector added in v0.4.732

func (model *Model) MarkTrainingDriftDetector()

--------------------- Train DriftStatus detector

func (*Model) MarkTuned added in v0.5.139

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

func (*Model) MarkUndeployed added in v0.4.903

func (model *Model) MarkUndeployed()

func (*Model) MarkUnitTestFailed added in v0.5.28

func (model *Model) MarkUnitTestFailed(msg string, stop bool)

func (*Model) MarkUnitTested added in v0.5.28

func (model *Model) MarkUnitTested()

func (*Model) MarkUnitTesting added in v0.5.37

func (model *Model) MarkUnitTesting()

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) Merged added in v0.5.202

func (model *Model) Merged() bool

func (*Model) Merging added in v0.5.202

func (model *Model) Merging() bool

func (*Model) MerginingFailed added in v0.5.202

func (model *Model) MerginingFailed() bool

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) Pruned added in v0.4.764

func (model *Model) Pruned() bool

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) TaskIndexFileKey added in v0.5.196

func (model *Model) TaskIndexFileKey(task string) string

This is the index file for task

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) Trained

func (model *Model) Trained() bool

func (*Model) TrainedDriftDetector added in v0.4.732

func (model *Model) TrainedDriftDetector() bool

func (*Model) Training

func (model *Model) Training() bool

func (*Model) TrainingFailed

func (model *Model) TrainingFailed() bool

func (*Model) Tuned added in v0.5.139

func (model *Model) Tuned() bool

func (*Model) Tuning added in v0.5.139

func (model *Model) Tuning() bool

func (*Model) TuningFailed added in v0.5.139

func (model *Model) TuningFailed() bool

func (*Model) UnitTested added in v0.5.37

func (model *Model) UnitTested() 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) WorkerIndexFileKey added in v0.5.193

func (model *Model) WorkerIndexFileKey(workerIndex int, task string) string

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"`
}

ModelAutobuilder represents an automated pipeline to train and deploy a model based on a given dataset +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:storageversion +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Data Product",type="string",JSONPath=".spec.dataProductName" +kubebuilder:printcolumn:name="Version",type="string",JSONPath=".spec.dataProductVersionName" +kubebuilder:printcolumn:name="Entity",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) CompletionAlert added in v0.4.601

func (run *ModelAutobuilder) CompletionAlert(tenantRef *v1.ObjectReference, notifierName *string) *infra.Alert

Generate a dataset completion alert

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(notification catalog.NotificationSpec) *data.Dataset

func (*ModelAutobuilder) CreateOrUpdateCond

func (b *ModelAutobuilder) CreateOrUpdateCond(cond ModelAutobuilderCondition)

Merge or update condition

func (*ModelAutobuilder) CreateStudy

func (b *ModelAutobuilder) CreateStudy(notification catalog.NotificationSpec) *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) ErrorAlert added in v0.4.601

func (run *ModelAutobuilder) ErrorAlert(tenantRef *v1.ObjectReference, notifierName *string, err error) *infra.Alert

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) TrainUri

func (b *ModelAutobuilder) TrainUri() string

dataproducts/*/featureSources/*/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 ModelAutobuilder condition
	Type ModelAutobuilderConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=ModelAutobuilderConditionType"`
	// 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"`
}

ModelAutobuilderCondition describes the state of a ModelAutobuilder 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 the condition of a ModelAutobuilder

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"`
}

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

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 {
	// The name of the DataProduct namespace that the resource exists under
	// +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"`
	// The name of the DataProductVersion which describes the version of the resource
	// that exists in the same DataProduct namespace as the resource
	// +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 an existing DataSource resource which will be used as the schema for the ModelAutoBuilder's Entity.
	// If empty, a DataSource will be automatically created based on the data specified by the Location field
	// +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"`
	// The name of an existing Entity resource, or the name of the Entity resource that will be created
	// based on the data specified by the Location field, which will be used to train models
	// +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"`
	// The location for data that will be saved in a Entity resource to train models with
	// +kubebuilder:validation:Optional
	Location data.DataLocation `json:"location,omitempty" protobuf:"bytes,5,opt,name=location"`
	// The machine learning task type relevant to the dataset (i.e. regression, classification)
	Task *catalog.MLTask `json:"task,omitempty" protobuf:"bytes,6,opt,name=task"`
	// The machine learning subtask relevant to the primary task (text classification, image object detection, etc.)
	// +kubebuilder:default:="none"
	// +kubebuilder:validation:Optional
	SubTask *catalog.MLSubtask `json:"subtask,omitempty" protobuf:"bytes,7,opt,name=subtask"`
	// The objective metric that will be measured against trained models to evaluate their performance
	// +kubebuilder:validation:Optional
	Objective *catalog.Metric `json:"objective,omitempty" protobuf:"bytes,8,opt,name=objective"`
	// The name of the column within the dataset that contains the label(s) to be predicted
	// +kubebuilder:validation:MaxLength=128
	// +kubebuilder:validation:Optional
	TargetColumn *string `json:"targetColumn,omitempty" protobuf:"bytes,9,opt,name=targetColumn"`
	// The deadline for models to complete training, in seconds
	// +kubebuilder:validation:Maximum=36000
	// +kubebuilder:validation:Minimum=1
	// +kubebuilder:default:=3600
	// +kubebuilder:validation:Optional
	MaxTime *int32 `json:"maxTime,omitempty" protobuf:"varint,10,opt,name=maxTime"`
	// The number of candidate models that will be sampled and trained
	// +kubebuilder:validation:Maximum=512
	// +kubebuilder:validation:Minimum=1
	// +kubebuilder:default:=10
	// +kubebuilder:validation:Optional
	MaxModels *int32 `json:"maxModels,omitempty" protobuf:"varint,11,opt,name=maxModels"`
	// The Kubernetes-native access method which specifies how the Predictor created by the ModelAutobuilder will be exposed.
	// See https://modela.ai/docs/docs/serving/production/#access-method for a detailed description of each access type
	// +kubebuilder:default:=cluster-ip
	// +kubebuilder:validation:Optional
	AccessMethod *catalog.AccessType `json:"accessMethod,omitempty" protobuf:"bytes,12,opt,name=accessMethod"`
	// Indicates if the Predictor created by the ModelAutobuilder will automatically scale to traffic
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	AutoScale *bool `json:"autoScale,omitempty" protobuf:"varint,13,opt,name=autoScale"`
	// Indicates if feature engineering will be performed prior to the primary model search
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	FeatureEngineering *bool `json:"featureEngineering,omitempty" protobuf:"varint,14,opt,name=featureEngineering"`
	// Indicates if feature selection will be performed prior to the primary model search
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	FeatureSelection *bool `json:"featureSelection,omitempty" protobuf:"varint,15,opt,name=featureSelection"`
	// Indicates if the ModelAutobuilder will create a DataApp resource to serve the highest-performing model that was trained
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	DataApp *bool `json:"dataapp,omitempty" protobuf:"varint,16,opt,name=dataapp"`
	// DataSourceSpec specifies the full specification of the DataSource resource that will be created by the ModelAutobuilder.
	// If empty, the ModelAutobuilder will attempt to infer the schema of the data specified by the Location field
	// +kubebuilder:validation:Optional
	DataSourceSpec datav1.DataSourceSpec `json:"dataSourceSpec,omitempty" protobuf:"bytes,17,opt,name=dataSourceSpec"`
	// The desired number of trainers that will train candidate models in parallel. The number
	// of trainers is restricted based on the allowance provided by the active License
	// +kubebuilder:default:=1
	// +kubebuilder:validation:Optional
	Trainers *int32 `json:"trainers,omitempty" protobuf:"varint,18,opt,name=trainers"`
	// The hyper-parameter optimization search method
	// +kubebuilder:default:="random"
	// +kubebuilder:validation:Optional
	Sampler *SamplerName `json:"sampler,omitempty" protobuf:"bytes,19,opt,name=sampler"`
	// Aborted indicates that the execution of the ModelAutobuilder and any associated workloads should be permanently stopped
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Aborted *bool `json:"aborted,omitempty" protobuf:"varint,20,opt,name=aborted"`
	// The name of the Account which created the object, which exists in the same tenant as the object
	// +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,21,opt,name=owner"`
	// Resources specifies the resource requirements that will be allocated to dataset and model training Jobs
	// +kubebuilder:validation:Optional
	Resources catalog.ResourceSpec `json:"resources,omitempty" protobuf:"bytes,22,opt,name=resources"`
	// The reference to the Lab under which Entity and Study resources created by the ModelAutobuilder will be trained.
	// If unspecified, the default Lab from the parent DataProduct will be used
	// +kubebuilder:validation:Optional
	LabRef *v1.ObjectReference `json:"labRef,omitempty" protobuf:"bytes,23,opt,name=labRef"`
	// The reference to the ServingSite where the Predictor created by the ModelAutobuilder will be hosted.
	// If unspecified, the default ServingSite from the parent DataProduct will be used
	// +kubebuilder:validation:Optional
	ServingSiteRef *v1.ObjectReference `json:"servingSiteRef,omitempty" protobuf:"bytes,24,opt,name=servingSiteRef"`
	// The type of dataset which was uploaded. `tabular` is the only supported type as of the current release
	// +kubebuilder:validation:Optional
	DatasetType catalog.DatasetType `json:"datasetType,omitempty" protobuf:"bytes,25,opt,name=datasetType"`
	// Fast indicates if Entity and Study resources associated with the ModelAutobuilder should run in fast mode.
	// Running in fast mode will skip unnecessary workloads such as profiling, reporting, explaining, etc.
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Fast *bool `json:"fast,omitempty" protobuf:"varint,26,opt,name=fast"`
}

ModelAutobuilderSpec define the desired state of a ModelAutobuilder

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 name of the flat-file generated for the associated Entity
	FlatFileName string `json:"flatFileName,omitempty" protobuf:"bytes,1,opt,name=flatFileName"`
	// The name of the DataSource associated with resource
	DataSourceName string `json:"dataSourceName,omitempty" protobuf:"bytes,2,opt,name=dataSourceName"`
	// The name of the Entity associated with the resource
	DatasetName string `json:"datasetName,omitempty" protobuf:"bytes,3,opt,name=datasetName"`
	// The name of the Study associated with the resource
	StudyName string `json:"studyName,omitempty" protobuf:"bytes,4,opt,name=studyName"`
	// The name of the highest-performing Model resource produced as a result of the associated Study resource
	BestModelName string `json:"bestModelName,omitempty" protobuf:"bytes,6,opt,name=bestModelName"`
	// The name of the Predictor associated with the resource
	PredictorName string `json:"predictorName,omitempty" protobuf:"bytes,7,opt,name=predictorName"`
	// The name of the DataApp associated with the resource
	DataAppName   string `json:"dataappName,omitempty" protobuf:"bytes,8,opt,name=dataappName"`
	ImageRepoName string `json:"imageRepoName,omitempty" protobuf:"bytes,9,opt,name=imageRepoName"`
	// The phase of the ModelAutobuilder
	// +kubebuilder:default:="Pending"
	// +kubebuilder:validation:Optional
	Phase ModelAutobuilderPhase `json:"phase,omitempty" protobuf:"bytes,10,opt,name=phase"`
	// The number of rows observed in the Entity associated with the resource
	// +kubebuilder:validation:Optional
	Rows int32 `json:"rows,omitempty" protobuf:"varint,11,opt,name=rows"`
	// The number of columns observed in the Entity associated with the resource
	// +kubebuilder:validation:Optional
	Cols int32 `json:"cols,omitempty" protobuf:"varint,12,opt,name=cols"`
	// The size of the raw data in the Entity associated with the resource
	// +kubebuilder:validation:Optional
	FileSize int32 `json:"fileSize,omitempty" protobuf:"varint,13,opt,name=fileSize"`
	// The number of total Model resources created by the associated Study resource
	// +kubebuilder:validation:Optional
	Models int32 `json:"models,omitempty" protobuf:"varint,14,opt,name=models"`
	// The number of successfully trained Model resources created by the associated Study resource
	// +kubebuilder:validation:Optional
	TrainedModels int32 `json:"trainedModels,omitempty" protobuf:"varint,15,opt,name=trainedModels"`
	// The highest score out of all Models created by the associated Study resource
	// +kubebuilder:validation:Optional
	BestModelScore float64 `json:"bestModelScore,omitempty" protobuf:"bytes,16,opt,name=bestModelScore"`
	// The estimator specification for the highest-performing Model resource
	Estimator *ClassicalEstimatorSpec `json:"estimator,omitempty" protobuf:"bytes,17,opt,name=estimator"`
	// StartTime represents the time at which the execution of the ModelAutobuilder started
	// +kubebuilder:validation:Optional
	StartTime *metav1.Time `json:"startTime,omitempty" protobuf:"bytes,18,opt,name=startTime"`
	// EndTime represents the time at which the ModelAutobuilder was marked as completed, failed, or aborted
	// +kubebuilder:validation:Optional
	EndTime *metav1.Time `json:"endTime,omitempty" protobuf:"bytes,19,opt,name=endTime"`
	// ObservedGeneration is the last generation that was acted on
	//+kubebuilder:validation:Optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,21,opt,name=observedGeneration"`
	// In the case of failure, the ModelAutobuilder resource controller will set this field with a failure reason
	//+kubebuilder:validation:Optional
	FailureReason *catalog.StatusError `json:"failureReason,omitempty" protobuf:"bytes,22,opt,name=failureReason"`
	// In the case of failure, the ModelAutobuilder resource controller will set this field with a failure message
	//+kubebuilder:validation:Optional
	FailureMessage *string `json:"failureMessage,omitempty" protobuf:"bytes,23,opt,name=failureMessage"`
	// The last time the object was updated
	//+kubebuilder:validation:Optional
	LastUpdated *metav1.Time `json:"lastUpdated,omitempty" protobuf:"bytes,24,opt,name=lastUpdated"`
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +kubebuilder:validation:Optional
	Conditions []ModelAutobuilderCondition `json:"conditions,omitempty" protobuf:"bytes,25,rep,name=conditions"`
}

ModelAutobuilderStatus define the observed state of a ModelAutobuilder

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 ModelClass added in v0.5.246

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

ModelClass represents an automatic search for the best machine learning model for a given dataset +kubebuilder:subresource:status +kubebuilder:object:root=true +kubebuilder:storageversion +kubebuilder:printcolumn:name="Owner",type="string",JSONPath=".spec.owner",priority=1 +kubebuilder:printcolumn:name="Version",type="string",JSONPath=".spec.versionName",priority=1 +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:path=studies,singular=ModelClass,shortName=sd,categories={training,modela}

func ParseModelClassYaml added in v0.5.251

func ParseModelClassYaml(content []byte) (*ModelClass, error)

func (*ModelClass) AddFinalizer added in v0.5.251

func (run *ModelClass) AddFinalizer()

func (*ModelClass) Age added in v0.5.251

func (run *ModelClass) Age() string

func (*ModelClass) CreateOrUpdateCond added in v0.5.251

func (run *ModelClass) CreateOrUpdateCond(cond ModelClassCondition)

Merge or update condition

func (*ModelClass) DeepCopy added in v0.5.249

func (in *ModelClass) DeepCopy() *ModelClass

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

func (*ModelClass) DeepCopyInto added in v0.5.249

func (in *ModelClass) DeepCopyInto(out *ModelClass)

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

func (*ModelClass) DeepCopyObject added in v0.5.249

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

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

func (*ModelClass) Default added in v0.5.246

func (modelclass *ModelClass) Default()

func (*ModelClass) DefaultBaselineEstimator added in v0.5.246

func (study *ModelClass) DefaultBaselineEstimator(task catalog.MLTask) catalog.ClassicEstimatorName

func (*ModelClass) DefaultFESearchEstimator added in v0.5.246

func (study *ModelClass) DefaultFESearchEstimator(task catalog.MLTask) catalog.ClassicEstimatorName

func (*ModelClass) Descriptor added in v0.5.246

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

func (*ModelClass) GetCond added in v0.5.251

func (*ModelClass) GetCondIdx added in v0.5.251

func (run *ModelClass) GetCondIdx(t ModelClassConditionType) int

func (*ModelClass) HasFinalizer added in v0.5.251

func (run *ModelClass) HasFinalizer() bool

func (*ModelClass) IsFailed added in v0.5.251

func (in *ModelClass) IsFailed() bool

func (*ModelClass) IsMarkedForDeletion added in v0.5.251

func (run *ModelClass) IsMarkedForDeletion() bool

func (*ModelClass) IsReady added in v0.5.251

func (run *ModelClass) IsReady() bool

func (*ModelClass) JobName added in v0.5.251

func (run *ModelClass) JobName() string

func (*ModelClass) Key added in v0.5.251

func (run *ModelClass) Key() string

func (*ModelClass) MarkArchived added in v0.5.251

func (r *ModelClass) MarkArchived()

func (*ModelClass) Marshal added in v0.5.246

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

func (*ModelClass) MarshalTo added in v0.5.246

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

func (*ModelClass) MarshalToSizedBuffer added in v0.5.246

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

func (*ModelClass) ProtoMessage added in v0.5.246

func (*ModelClass) ProtoMessage()

func (*ModelClass) RemoveFinalizer added in v0.5.251

func (run *ModelClass) RemoveFinalizer()

func (*ModelClass) Reset added in v0.5.246

func (m *ModelClass) Reset()

func (*ModelClass) SetupWebhookWithManager added in v0.5.259

func (mc *ModelClass) SetupWebhookWithManager(mgr ctrl.Manager) error

Set up the webhook with the manager.

func (*ModelClass) Size added in v0.5.246

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

func (*ModelClass) String added in v0.5.246

func (this *ModelClass) String() string

func (*ModelClass) Unmarshal added in v0.5.246

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

func (*ModelClass) ValidateCreate added in v0.5.246

func (study *ModelClass) ValidateCreate() error

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

func (*ModelClass) ValidateDelete added in v0.5.246

func (study *ModelClass) ValidateDelete() error

func (*ModelClass) ValidateUpdate added in v0.5.246

func (study *ModelClass) ValidateUpdate(old runtime.Object) error

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

func (*ModelClass) XXX_DiscardUnknown added in v0.5.246

func (m *ModelClass) XXX_DiscardUnknown()

func (*ModelClass) XXX_Marshal added in v0.5.246

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

func (*ModelClass) XXX_Merge added in v0.5.246

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

func (*ModelClass) XXX_Size added in v0.5.246

func (m *ModelClass) XXX_Size() int

func (*ModelClass) XXX_Unmarshal added in v0.5.246

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

type ModelClassCondition added in v0.5.246

type ModelClassCondition struct {
	// Type of ModelClass condition
	// +kubebuilder:validation:Optional
	Type ModelClassConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=ModelClassConditionType"`
	// Status of the condition, one of True, False, Unknown
	// +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"`
}

ModelClassCondition describes the state of a ModelClass at a certain point

func (*ModelClassCondition) DeepCopy added in v0.5.249

func (in *ModelClassCondition) DeepCopy() *ModelClassCondition

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

func (*ModelClassCondition) DeepCopyInto added in v0.5.249

func (in *ModelClassCondition) DeepCopyInto(out *ModelClassCondition)

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

func (*ModelClassCondition) Descriptor added in v0.5.246

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

func (*ModelClassCondition) Marshal added in v0.5.246

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

func (*ModelClassCondition) MarshalTo added in v0.5.246

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

func (*ModelClassCondition) MarshalToSizedBuffer added in v0.5.246

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

func (*ModelClassCondition) ProtoMessage added in v0.5.246

func (*ModelClassCondition) ProtoMessage()

func (*ModelClassCondition) Reset added in v0.5.246

func (m *ModelClassCondition) Reset()

func (*ModelClassCondition) Size added in v0.5.246

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

func (*ModelClassCondition) String added in v0.5.246

func (this *ModelClassCondition) String() string

func (*ModelClassCondition) Unmarshal added in v0.5.246

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

func (*ModelClassCondition) XXX_DiscardUnknown added in v0.5.246

func (m *ModelClassCondition) XXX_DiscardUnknown()

func (*ModelClassCondition) XXX_Marshal added in v0.5.246

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

func (*ModelClassCondition) XXX_Merge added in v0.5.246

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

func (*ModelClassCondition) XXX_Size added in v0.5.246

func (m *ModelClassCondition) XXX_Size() int

func (*ModelClassCondition) XXX_Unmarshal added in v0.5.246

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

type ModelClassConditionType added in v0.5.246

type ModelClassConditionType string

ModelClassConditionType is the condition of a ModelClass

const (
	// ModelClassInitialized states that the resources needed for training are allocated and ready
	ModelClassReady ModelClassConditionType = "Ready"
	// ModelClassSaved states that the ModelClass has been archived in a database
	ModelClassSaved ModelClassConditionType = "Saved"
)

/ ModelClass Condition

type ModelClassList added in v0.5.246

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

	Items []ModelClass `json:"items" protobuf:"bytes,2,rep,name=items"`
}

ModelClassList contains a list of Studies +kubebuilder:object:root=true

func (*ModelClassList) DeepCopy added in v0.5.249

func (in *ModelClassList) DeepCopy() *ModelClassList

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

func (*ModelClassList) DeepCopyInto added in v0.5.249

func (in *ModelClassList) DeepCopyInto(out *ModelClassList)

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

func (*ModelClassList) DeepCopyObject added in v0.5.249

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

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

func (*ModelClassList) Descriptor added in v0.5.246

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

func (*ModelClassList) Marshal added in v0.5.246

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

func (*ModelClassList) MarshalTo added in v0.5.246

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

func (*ModelClassList) MarshalToSizedBuffer added in v0.5.246

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

func (*ModelClassList) ProtoMessage added in v0.5.246

func (*ModelClassList) ProtoMessage()

func (*ModelClassList) Reset added in v0.5.246

func (m *ModelClassList) Reset()

func (*ModelClassList) Size added in v0.5.246

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

func (*ModelClassList) String added in v0.5.246

func (this *ModelClassList) String() string

func (*ModelClassList) Unmarshal added in v0.5.246

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

func (*ModelClassList) XXX_DiscardUnknown added in v0.5.246

func (m *ModelClassList) XXX_DiscardUnknown()

func (*ModelClassList) XXX_Marshal added in v0.5.246

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

func (*ModelClassList) XXX_Merge added in v0.5.246

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

func (*ModelClassList) XXX_Size added in v0.5.246

func (m *ModelClassList) XXX_Size() int

func (*ModelClassList) XXX_Unmarshal added in v0.5.246

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

type ModelClassSpec added in v0.5.246

type ModelClassSpec struct {
	// The name of the DataProductVersion which describes the version of the resource
	// that exists in the same DataProduct namespace as the resource
	// +kubebuilder:validation:MaxLength=63
	// +kubebuilder:default:=""
	// +kubebuilder:validation:Optional
	VersionName *string `json:"versionName" protobuf:"bytes,1,opt,name=versionName"`
	// The user-provided description of the ModelClass
	// +kubebuilder:default:=""
	// +kubebuilder:validation:MaxLength=512
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" protobuf:"bytes,2,opt,name=description"`
	// The reference to the Lab under which the Model resources created by the ModelClass will be trained.
	// If unspecified, the default Lab from the parent DataProduct will be used
	// +kubebuilder:validation:Optional
	LabRef v1.ObjectReference `json:"labRef,omitempty" protobuf:"bytes,3,opt,name=labRef"`
	// The name of the Entity resource that will be used to train models with.
	// The dataset will be split into individual training, testing, and validation datasets
	// +kubebuilder:validation:Required
	// +required
	DatasetName *string `json:"datasetName" protobuf:"bytes,4,opt,name=datasetName"`
	// The machine learning task type (i.e. regression, classification)
	// +kubebuilder:validation:Required
	// +required
	Task *catalog.MLTask `json:"task" protobuf:"bytes,5,opt,name=task"`
	// The machine learning subtask relevant to the primary task (text classification, image object detection, etc.)
	// +kubebuilder:default:=none
	// +kubebuilder:validation:Optional
	SubTask *catalog.MLSubtask `json:"subtask" protobuf:"bytes,6,opt,name=subtask"`
	// FeatureEngineeringSearch specifies the parameters to perform a feature engineering search
	// +kubebuilder:validation:Optional
	FeatureEngineeringSearch FeatureEngineeringSearchSpec `json:"feSearch,omitempty" protobuf:"bytes,7,opt,name=feSearch"`
	// Set the imbalance dataset handling.
	// +kubebuilder:validation:Optional
	ImbalanceHandler ImbalanceHandlingSpec `json:"imbalanceHandler,omitempty" protobuf:"bytes,8,opt,name=imbalanceHandler"`
	// Baseline specifies the parameters to generate baseline (default hyper-parameters) models
	// +kubebuilder:validation:Optional
	Baseline BaselineSpec `json:"baseline,omitempty" protobuf:"bytes,9,opt,name=baseline"`
	// Search specifies the configuration to perform the model search for the best algorithm and hyper-parameters
	// +kubebuilder:validation:Optional
	Search SearchSpec `json:"search,omitempty" protobuf:"bytes,10,opt,name=search"`
	// Ensembles specifies to parameters to generate ensemble models
	// +kubebuilder:validation:Optional
	Ensembles EnsemblesSpec `json:"ensembles,omitempty" protobuf:"bytes,11,opt,name=ensembles"`
	// TrainingTemplate specifies the configuration to train and evaluate models
	// +kubebuilder:validation:Optional
	TrainingTemplate TrainingSpec `json:"trainingTemplate,omitempty" protobuf:"bytes,12,opt,name=trainingTemplate"`
	// ServingTemplate specifies the model format and resource requirements that will be applied to
	// the Predictor created for the Model that will be selected by the ModelClass
	// +kubebuilder:validation:Optional
	ServingTemplate ServingSpec `json:"servingTemplate,omitempty" protobuf:"bytes,13,opt,name=servingTemplate"`
	// ForecastSpec specifies the parameters required when generating a forecasting model
	// +kubebuilder:validation:Optional
	FctTemplate ForecasterSpec `json:"fctTemplate,omitempty" protobuf:"bytes,14,opt,name=fctTemplate"`
	// Schedule specifies the configuration to execute the ModelClass at a later date
	// +kubebuilder:validation:Optional
	Schedule StudyScheduleSpec `json:"schedule,omitempty" protobuf:"bytes,15,opt,name=schedule"`
	// Interpretability specifies the parameters to create interpretability visualizations for the final model
	// +kubebuilder:validation:Optional
	Interpretability InterpretabilitySpec `json:"interpretability,omitempty" protobuf:"bytes,16,opt,name=interpretability"`
	// +kubebuilder:validation:Optional
	DriftDetector DriftModelSpec `json:"driftDetection,omitempty" protobuf:"bytes,17,opt,name=driftDetection"`
	// The data location where ModelClass artifacts (metadata, reports, and model artifacts) generated by the ModelClass will be stored
	// +kubebuilder:validation:Optional
	Location data.DataLocation `json:"location,omitempty" protobuf:"bytes,26,opt,name=location"`
	// The name of the Account which created the object, which exists in the same tenant as the object
	// +kubebuilder:default:="no-one"
	// +kubebuilder:validation:Optional
	Owner *string `json:"owner,omitempty" protobuf:"bytes,27,opt,name=owner"`
	// CompilerSpec specifies the configuration to compile the best-selected model to a binary (currently unimplemented)
	//+kubebuilder:validation:Optional
	Compilation catalog.CompilerSpec `json:"compilation,omitempty" protobuf:"bytes,28,opt,name=compilation"`
	// The notification specification that determines which notifiers will receive Alerts generated by the object
	//+kubebuilder:validation:Optional
	Notification catalog.NotificationSpec `json:"notification,omitempty" protobuf:"bytes,31,opt,name=notification"`
	// ModelImage specifies the configuration to upload Docker images of models to an image registry
	//+kubebuilder:validation:Optional
	ModelImage ModelImageSpec `json:"modelImage,omitempty" protobuf:"bytes,32,opt,name=modelImage"`
	// GarbageCollectionSpec specifies the configuration to automatically clean-up unused models
	//+kubebuilder:validation:Optional
	GC GarbageCollectionSpec `json:"gc,omitempty" protobuf:"bytes,33,opt,name=gc"`
	// The time-to-live, in seconds, for Model resources produced by the ModelClass
	// +kubebuilder:default:=0
	// +kubebuilder:validation:Optional
	TTL *int32 `json:"ttl,omitempty" protobuf:"varint,34,opt,name=ttl"`
	// A template for models unit tests
	// +kubebuilder:validation:Optional
	UnitTestsTemplate catalog.TestSuite `json:"unitTestsTemplate,omitempty" protobuf:"bytes,38,opt,name=unitTestsTemplate"`
	// In case of a group by, those are the group locations
	// +kubebuilder:validation:Optional
	GroupLocations GroupSplitLocationsSpec `json:"groupLocations,omitempty" protobuf:"bytes,39,opt,name=groupLocations"`
}

ModelClassSpec defines the desired state of a ModelClass and the parameters for a model search

func (*ModelClassSpec) DeepCopy added in v0.5.249

func (in *ModelClassSpec) DeepCopy() *ModelClassSpec

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

func (*ModelClassSpec) DeepCopyInto added in v0.5.249

func (in *ModelClassSpec) DeepCopyInto(out *ModelClassSpec)

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

func (*ModelClassSpec) Descriptor added in v0.5.246

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

func (*ModelClassSpec) Marshal added in v0.5.246

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

func (*ModelClassSpec) MarshalTo added in v0.5.246

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

func (*ModelClassSpec) MarshalToSizedBuffer added in v0.5.246

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

func (*ModelClassSpec) ProtoMessage added in v0.5.246

func (*ModelClassSpec) ProtoMessage()

func (*ModelClassSpec) Reset added in v0.5.246

func (m *ModelClassSpec) Reset()

func (*ModelClassSpec) Size added in v0.5.246

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

func (*ModelClassSpec) String added in v0.5.246

func (this *ModelClassSpec) String() string

func (*ModelClassSpec) Unmarshal added in v0.5.246

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

func (*ModelClassSpec) XXX_DiscardUnknown added in v0.5.246

func (m *ModelClassSpec) XXX_DiscardUnknown()

func (*ModelClassSpec) XXX_Marshal added in v0.5.246

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

func (*ModelClassSpec) XXX_Merge added in v0.5.246

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

func (*ModelClassSpec) XXX_Size added in v0.5.246

func (m *ModelClassSpec) XXX_Size() int

func (*ModelClassSpec) XXX_Unmarshal added in v0.5.246

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

type ModelClassStatus added in v0.5.246

type ModelClassStatus struct {
	// Total models created for the ModelClass
	// +kubebuilder:validation:Optional
	Models int32 `json:"models,omitempty" protobuf:"varint,1,opt,name=models"`
	// ObservedGeneration is the last generation that was acted on
	//+kubebuilder:validation:Optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,10,opt,name=observedGeneration"`
	// The Kubernetes-internal ID of the last Model resource generated by the ModelClass
	LastModelID *int64 `json:"lastModelID,omitempty" protobuf:"varint,14,opt,name=lastModelID"`
	// In the case of failure, the ModelClass resource controller will set this field with a failure reason
	//+kubebuilder:validation:Optional
	FailureReason *catalog.StatusError `json:"failureReason,omitempty" protobuf:"bytes,15,opt,name=failureReason"`
	// In the case of failure, the ModelClass resource controller will set this field with a failure message
	//+kubebuilder:validation:Optional
	FailureMessage *string `json:"failureMessage,omitempty" protobuf:"bytes,16,opt,name=failureMessage"`
	// The last time the object was updated
	//+kubebuilder:validation:Optional
	LastUpdated *metav1.Time `json:"lastUpdated,omitempty" protobuf:"bytes,32,opt,name=lastUpdated"`
	// BestFE specifies the best feature engineering pipeline produced by the ModelClass
	//+kubebuilder:validation:Optional
	BestFE *FeatureEngineeringSpec `json:"bestFE,omitempty" protobuf:"bytes,33,opt,name=bestFE"`
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions []ModelClassCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,36,rep,name=conditions"`
}

ModelClassStatus defines the observed state of a ModelClass

func (*ModelClassStatus) DeepCopy added in v0.5.249

func (in *ModelClassStatus) DeepCopy() *ModelClassStatus

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

func (*ModelClassStatus) DeepCopyInto added in v0.5.249

func (in *ModelClassStatus) DeepCopyInto(out *ModelClassStatus)

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

func (*ModelClassStatus) Descriptor added in v0.5.246

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

func (*ModelClassStatus) Marshal added in v0.5.246

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

func (*ModelClassStatus) MarshalTo added in v0.5.246

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

func (*ModelClassStatus) MarshalToSizedBuffer added in v0.5.246

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

func (*ModelClassStatus) ProtoMessage added in v0.5.246

func (*ModelClassStatus) ProtoMessage()

func (*ModelClassStatus) Reset added in v0.5.246

func (m *ModelClassStatus) Reset()

func (*ModelClassStatus) Size added in v0.5.246

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

func (*ModelClassStatus) String added in v0.5.246

func (this *ModelClassStatus) String() string

func (*ModelClassStatus) Unmarshal added in v0.5.246

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

func (*ModelClassStatus) XXX_DiscardUnknown added in v0.5.246

func (m *ModelClassStatus) XXX_DiscardUnknown()

func (*ModelClassStatus) XXX_Marshal added in v0.5.246

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

func (*ModelClassStatus) XXX_Merge added in v0.5.246

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

func (*ModelClassStatus) XXX_Size added in v0.5.246

func (m *ModelClassStatus) XXX_Size() int

func (*ModelClassStatus) XXX_Unmarshal added in v0.5.246

func (m *ModelClassStatus) 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) 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 Model condition
	Type ModelConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=ModelConditionType"`
	// 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"`
}

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 specifies the current condition of a Model

const (
	// ModelInitialized states that the Model is populated with an algorithm and hyper-parameters
	ModelInitialized ModelConditionType = "Initialized"
	// ModelTrained states that the Model was trained on a training dataset, and validated against a validation dataset
	ModelTrained ModelConditionType = "Trained"
	// ModelTested states that the Model was tested against the test set.
	ModelTested ModelConditionType = "Tested"
	// ModelTested states that the Model was tuned,
	ModelTuned ModelConditionType = "Tuned"
	// ModelUnitTested states that the Model was unit tested
	ModelUnitTested ModelConditionType = "UnitTested"
	// ModelUnitTested states that the Model was trained on the training dataset, and tested against the testing dataset
	ModelFeedbackTested ModelConditionType = "FeedbackTested"
	// ModelReported states that a Report for the Model was generated and uploaded to a bucket
	ModelReported ModelConditionType = "Reported"
	// ModelPackaged states that the Model was baked into a Docker image
	ModelPackaged ModelConditionType = "Packaged"
	// ModelPublished states the the Model was baked into a Docker image and published to a Docker image repository
	ModelPublished ModelConditionType = "Published"
	// ModelPredicted states the the Model perform the prediction.
	ModelPredicted ModelConditionType = "Predicted"
	// ModelPredicted states the the Model perform the prediction.
	ModelMerged ModelConditionType = "Merged"
	// ModelProfiled states that the Model was profiled
	ModelProfiled ModelConditionType = "Profiled"
	// ModelReady states that the Model is ready for deployment
	ModelReady ModelConditionType = "Ready"
	// ModelSaved states that the Model artifacts were saved to a bucket
	ModelSaved ModelConditionType = "Saved"
	// ModelArchived states that the Model artifacts were archived to a bucket
	ModelArchived ModelConditionType = "Archived"
	// ModelExplained states that SHAP values were computed for the Model and diagrams were generated with them
	ModelExplained ModelConditionType = "Explained"
	// ModelReleased states that the Model has been added to a Predictor and awaiting deployment
	ModelReleased ModelConditionType = "Released"
	// ModelAborted states that training was aborted
	ModelAborted ModelConditionType = "Aborted"
	// ModelPaused states that training was paused
	ModelPaused     ModelConditionType = "Paused"
	ModelForecasted ModelConditionType = "Forecasted"
	// ModelUat states that the Model is being used within a user acceptance test
	ModelUat ModelConditionType = "UAT"
	// ModelLive states that the Model is active and serving predictions
	ModelLive                 ModelConditionType = "Live"
	ModelStale                ModelConditionType = "Stale"
	ModelMaintenance          ModelConditionType = "Maintenance"
	ModelRetired              ModelConditionType = "Retired"
	ModelTrainedDriftDetector ModelConditionType = "TrainedDriftDetector"
	ModelPruned               ModelConditionType = "Pruned"   // If the model was pruned by the optimizer
	ModelFeedback             ModelConditionType = "Feedback" // If the model feedback.
)

/ Model

type ModelGroupByStatus added in v0.5.172

type ModelGroupByStatus struct {
	// The locations of the datasets profile files. Each file is the group
	// +kubebuilder:validation:Optional
	ModelsURI string `json:"modelsURI,omitempty" protobuf:"bytes,1,opt,name=modelsURI"`
	// The locations of the datasets profiles files.
	// +kubebuilder:validation:Optional
	ProfilesURI string `json:"profilesURI,omitempty" protobuf:"bytes,2,opt,name=profilesURI"`
	// The locations of forecasts
	// +kubebuilder:validation:Optional
	ForecastsURI string `json:"forecastsURI,omitempty" protobuf:"bytes,3,opt,name=forecastsURI"`
	// Holds the worker on going result, when a worker finish, we update the location of thier result files
	// +kubebuilder:validation:Optional
	WorkerResults []catalog.WorkerRunResult `json:"workerResults,omitempty" protobuf:"bytes,4,opt,name=workerResults"`
}

func (*ModelGroupByStatus) DeepCopy added in v0.5.173

func (in *ModelGroupByStatus) DeepCopy() *ModelGroupByStatus

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

func (*ModelGroupByStatus) DeepCopyInto added in v0.5.173

func (in *ModelGroupByStatus) DeepCopyInto(out *ModelGroupByStatus)

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

func (*ModelGroupByStatus) Descriptor added in v0.5.172

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

func (*ModelGroupByStatus) Marshal added in v0.5.172

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

func (*ModelGroupByStatus) MarshalTo added in v0.5.172

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

func (*ModelGroupByStatus) MarshalToSizedBuffer added in v0.5.172

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

func (*ModelGroupByStatus) ProtoMessage added in v0.5.172

func (*ModelGroupByStatus) ProtoMessage()

func (*ModelGroupByStatus) Reset added in v0.5.172

func (m *ModelGroupByStatus) Reset()

func (*ModelGroupByStatus) Size added in v0.5.172

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

func (*ModelGroupByStatus) String added in v0.5.172

func (this *ModelGroupByStatus) String() string

func (*ModelGroupByStatus) Unmarshal added in v0.5.172

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

func (*ModelGroupByStatus) XXX_DiscardUnknown added in v0.5.172

func (m *ModelGroupByStatus) XXX_DiscardUnknown()

func (*ModelGroupByStatus) XXX_Marshal added in v0.5.172

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

func (*ModelGroupByStatus) XXX_Merge added in v0.5.172

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

func (*ModelGroupByStatus) XXX_Size added in v0.5.172

func (m *ModelGroupByStatus) XXX_Size() int

func (*ModelGroupByStatus) XXX_Unmarshal added in v0.5.172

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

type ModelImageSpec

type ModelImageSpec struct {
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:=false
	Exist *bool `json:"exist,omitempty" protobuf:"varint,1,opt,name=exist"`
	// The full name of the image to upload to
	// +kubebuilder:default:=""
	// +kubebuilder:validation:Optional
	ImageName *string `json:"imageName,omitempty" protobuf:"bytes,2,opt,name=imageName"`
	// The name of the Connection resource to an external Docker image registry
	// +kubebuilder:default:=""
	// +kubebuilder:validation:Optional
	RegistryConnection *string `json:"registryConnectionName,omitempty" protobuf:"bytes,3,opt,name=registryConnectionName"`
}

ModelImageSpec specifies the destination of Docker images produced by a ModelClass

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 specifies 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"
	ModelPhaseTuning                ModelPhase = "Tuning"
	ModelPhaseTuned                 ModelPhase = "Tuned"
	ModelPhaseUnitTesting           ModelPhase = "UnitTesting"
	ModelPhaseUnitTested            ModelPhase = "UnitTested"
	ModelPhaseComputingFeedback     ModelPhase = "ComputingFeedback"
	ModelPhaseComputedFeedback      ModelPhase = "ComputedFeedback"
	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"
	ModelPhaseMerging               ModelPhase = "Merging" // for group forecast, merged the forecast
	ModelPhaseMerged                ModelPhase = "Merged"
	ModelPhaseUat                   ModelPhase = "UAT"
	ModelPhaseDeployed              ModelPhase = "Deployed"
	ModelPhaseReleasing             ModelPhase = "Releasing"
	ModelPhasePredicting            ModelPhase = "Predicting"
	ModelPhasePredicted             ModelPhase = "Predicted"
	ModelPhaseChampion              ModelPhase = "ModelRoleLive"
	ModelPhaseCanary                ModelPhase = "Canary"
	ModelPhaseShadow                ModelPhase = "ModelRoleShadow"
	ModelPhaseMaintenance           ModelPhase = "Maintenance"
	ModelPhaseRetired               ModelPhase = "Retired"
	ModelPhaseTrainingDriftDetector ModelPhase = "TrainingDriftDetector"
	ModelPhaseTrainedDriftDetector  ModelPhase = "TrainedDriftDetector"
	ModelPhasePruned                ModelPhase = "Pruned"
)

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:storageversion +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) 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, 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"`
}

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:storageversion +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Progress",type="number",JSONPath=".status.progress",priority=1 +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) CompletionAlert added in v0.4.956

func (run *ModelPipelineRun) CompletionAlert(tenantRef *v1.ObjectReference, notifierName *string) *infra.Alert

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 (run *ModelPipelineRun) Default()

func (*ModelPipelineRun) Descriptor

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

func (*ModelPipelineRun) ErrorAlert added in v0.4.956

func (run *ModelPipelineRun) ErrorAlert(tenantRef *v1.ObjectReference, notifierName *string, err error) *infra.Alert

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) IsFailed added in v0.4.614

func (in *ModelPipelineRun) IsFailed() 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) RunStatus added in v0.4.614

func (run *ModelPipelineRun) RunStatus() *catalog.LastRunStatus

Return the state of the run as RunStatus

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) 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:"varint,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:"varint,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
	UnitTestsResult catalog.TestSuiteResult `json:"unitTestsResult,omitempty" protobuf:"bytes,9,opt,name=unitTestsResult"`
	// 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) MarkApprove added in v0.4.957

func (this *ModelPipelineRunStageStatus) MarkApprove(name string)

func (*ModelPipelineRunStageStatus) MarkCompleted added in v0.4.957

func (this *ModelPipelineRunStageStatus) MarkCompleted()

func (*ModelPipelineRunStageStatus) MarkDeny added in v0.4.957

func (this *ModelPipelineRunStageStatus) MarkDeny(name string)

func (*ModelPipelineRunStageStatus) MarkFailed added in v0.4.957

func (this *ModelPipelineRunStageStatus) MarkFailed(err error)

func (*ModelPipelineRunStageStatus) MarkRunning added in v0.4.957

func (this *ModelPipelineRunStageStatus) MarkRunning()

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) RecordFailed

func (this *ModelPipelineRunStageStatus) RecordFailed()

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
	Data ModelPipelineRunStageStatus `json:"data,omitempty" protobuf:"bytes,5,opt,name=data"`
	// TrainingStatus is the status for the training stage
	// +kubebuilder:validation:Optional
	Training ModelPipelineRunStageStatus `json:"training,omitempty" protobuf:"bytes,6,opt,name=training"`
	// UATStatus is the status of the uat stage
	//+kubebuilder:validation:Optional
	UAT ModelPipelineRunStageStatus `json:"uat,omitempty" protobuf:"bytes,7,opt,name=uat"`
	// CapacityStatus is the status for the capacity stage.
	//+kubebuilder:validation:Optional
	Capacity ModelPipelineRunStageStatus `json:"capacity,omitempty" protobuf:"bytes,8,opt,name=capacity"`
	// DeploymentStatus is the status for the prod stage
	//+kubebuilder:validation:Optional
	Deployment ModelPipelineRunStageStatus `json:"deployment,omitempty" protobuf:"bytes,9,opt,name=deployment"`
	// DeploymentStatus is the status for the prod stage
	//+kubebuilder:validation:Optional
	Release ModelPipelineRunStageStatus `json:"release,omitempty" protobuf:"bytes,10,opt,name=release"`
	// Monitoring status is the status of the monitor phase.
	//+kubebuilder:validation:Optional
	Monitor ModelPipelineRunStageStatus `json:"monitor,omitempty" protobuf:"bytes,11,opt,name=monitor"`
	// Labeling status if the status of the labeling process
	//+kubebuilder:validation:Optional
	Labeling ModelPipelineRunStageStatus `json:"labeling,omitempty" protobuf:"bytes,12,opt,name=labeling"`
	// +kubebuilder:validation:Optional
	StartTime *metav1.Time `json:"startTime,omitempty" protobuf:"bytes,13,opt,name=startTime"`
	// +kubebuilder:validation:Optional
	EndTime *metav1.Time `json:"endTime,omitempty" protobuf:"bytes,14,opt,name=endTime"`
	// 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"`

	// The log file specification that determines the location of all logs produced by the object
	Logs catalog.Logs `json:"logs" protobuf:"bytes,23,opt,name=logs"`
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +kubebuilder:validation:Optional
	Conditions []ModelPipelineRunCondition `json:"conditions,omitempty" protobuf:"bytes,24,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,2,opt,name=description"`
	// DatasetSelector is used to select dataset for training
	// +kubebuilder:validation:Optional
	DatasetSelector map[string]string `json:"datasetSelector,omitempty" protobuf:"bytes,3,opt,name=datasetSelector"`
	// Datastage build new dataset from the data sources.
	// +kubebuilder:validation:Optional
	Data *DataStageSpec `json:"data,omitempty" protobuf:"bytes,4,opt,name=data"`
	// TrainingSpec stage
	// +kubebuilder:validation:Optional
	Training TrainingStageSpec `json:"training,omitempty" protobuf:"bytes,5,opt,name=training"`
	// Acceptance stage is used for further testing
	// +kubebuilder:validation:Optional
	UAT *UATStageSpec `json:"uat,omitempty" protobuf:"bytes,6,opt,name=uat"`
	// Capacity stage for capacity
	// +kubebuilder:validation:Optional
	Capacity CapacityStageSpec `json:"capacity,omitempty" protobuf:"bytes,7,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"`
	// Schedule for running the pipeline
	// +kubebuilder:validation:Optional
	Schedule catalog.RunSchedule `json:"schedule,omitempty" protobuf:"bytes,12,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,13,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,14,opt,name=approverAccountName"`
	// Notification specification.
	//+kubebuilder:validation:Optional
	Notification catalog.NotificationSpec `json:"notification,omitempty" protobuf:"bytes,15,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,16,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,17,opt,name=priority"`
	// Pause the pipeline cron job.
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Paused *bool `json:"paused,omitempty" protobuf:"varint,18,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 model pipeline run was created
	//+kubebuilder:validation:Optional
	LastRun catalog.LastRunStatus `json:"lastRun,omitempty" protobuf:"bytes,1,opt,name=lastRun"`
	// The time of the next schedule run
	//+kubebuilder:validation:Optional
	NextRun *metav1.Time `json:"nextRun,omitempty" protobuf:"bytes,2,opt,name=nextRun"`
	// ObservedGeneration is the Last generation that was acted on
	//+kubebuilder:validation:Optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,3,opt,name=observedGeneration"`
	// Last time the object was updated
	//+kubebuilder:validation:Optional
	LastUpdated *metav1.Time `json:"lastUpdated,omitempty" protobuf:"bytes,4,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,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"`
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +kubebuilder:validation:Optional
	Conditions []ModelPipelineCondition `json:"conditions,omitempty" protobuf:"bytes,7,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 {
	// The name of the model
	// +kubebuilder:validation:Optional
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
	// The type of estimator of the model
	// +kubebuilder:validation:Optional
	Alg string `json:"alg,omitempty" protobuf:"bytes,2,opt,name=alg"`
	// The objective score of the model
	// +kubebuilder:validation:Optional
	Score float64 `json:"score,omitempty" protobuf:"bytes,3,opt,name=score"`
	// Indicates if the model experience an error whilst training
	// +kubebuilder:validation:Optional
	Error bool `json:"error,omitempty" protobuf:"varint,4,opt,name=error"`
	// The optimizer trial ID of the model
	// +kubebuilder:validation:Optional
	TrialID int32 `json:"trialID,omitempty" protobuf:"varint,5,opt,name=trialID"`
}

ModelResult contains the records of a single garbage-collected model

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 {
	// The Account which owns the the Study that created the Model
	// +kubebuilder:default:="no-one"
	// +kubebuilder:validation:Optional
	Owner *string `json:"owner,omitempty" protobuf:"bytes,1,opt,name=owner"`
	// The name of the DataProductVersion which describes the version of the resource
	// that exists in the same DataProduct namespace as the resource, derived from the parent Study
	// +kubebuilder:validation:Required
	// +kubebuilder:default:="latest"
	// +kubebuilder:validation:MaxLength=63
	// +required
	VersionName *string `json:"versionName,omitempty" protobuf:"bytes,2,opt,name=versionName"`
	// The user-assigned version of the Model, derived from the parent Study
	// +kubebuilder:default:=""
	ModelVersion *string `json:"modelVersion,omitempty" protobuf:"bytes,4,opt,name=modelVersion"`
	// The name of the Study which created the Model. If empty, the Model will be trained as a stand-alone model
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:MaxLength=63
	// +required
	StudyName *string `json:"studyName,omitempty" protobuf:"bytes,5,opt,name=studyName"`
	// The name of the Entity resource which the Model is being trained with
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:MaxLength=63
	// +required
	DatasetName *string `json:"datasetName,omitempty" protobuf:"bytes,6,opt,name=datasetName"`
	// The machine learning task type of the Model (i.e. regression, classification), derived from the parent Study
	// +kubebuilder:validation:Required
	// +required
	Task *catalog.MLTask `json:"task,omitempty" protobuf:"bytes,7,opt,name=task"`
	// The sub task
	// +kubebuilder:default:="none"
	// +kubebuilder:validation:Optional
	SubTask *catalog.MLSubtask `json:"subtask,omitempty" protobuf:"bytes,8,opt,name=subtask"`
	// The objective metric that will be used to evaluate the performance of the model
	// +kubebuilder:validation:Required
	// +required
	Objective *catalog.Metric `json:"objective,omitempty" protobuf:"bytes,9,opt,name=objective"`
	// FeatureEngineering specifies the preprocessing pipelines that will be applied to the model prior to training.
	// By default, feature engineering is generated automatically by sampling different pipelines in competition
	// +kubebuilder:validation:Optional
	FeatureEngineering FeatureEngineeringSpec `json:"featureEngineering,omitempty" protobuf:"bytes,10,opt,name=featureEngineering"`
	// Estimator specifies the machine learning algorithm and hyper-parameters of the Model
	// +kubebuilder:validation:Optional
	Estimator *ClassicalEstimatorSpec `json:"estimator,omitempty" protobuf:"bytes,11,opt,name=estimator"`
	// Dnn specifies the estimator for a neural network (currently unimplemented)
	// +kubebuilder:validation:Optional
	Dnn *DeepEstimatorSpec `json:"dnn,omitempty" protobuf:"bytes,12,opt,name=dnn"`
	// Chatbot specifies the estimator for a chatbot model (currently unimplemented)
	// +kubebuilder:validation:Optional
	Chatbot *ChatbotEstimatorSpec `json:"chatbot,omitempty" protobuf:"bytes,13,opt,name=chatbot"`
	// NLPEstimator specifies the estimator for a deep NLP model (currently unimplemented)
	// +kubebuilder:validation:Optional
	NLPEstimator *NLPEstimatorSpec `json:"nplEstimator,omitempty" protobuf:"bytes,14,opt,name=nlpEstimator"`
	// Ensemble specifies the configuration to create an ensemble model
	// +kubebuilder:validation:Optional
	Ensemble EnsembleSpec `json:"ensemble,omitempty" protobuf:"bytes,15,opt,name=ensemble"`
	// TrainingSpec specifies the configuration to prepare and train a model
	// +kubebuilder:validation:Optional
	Training TrainingSpec `json:"training,omitempty" protobuf:"bytes,16,opt,name=training"`
	// ServingSpec defines the resource requirements that will be applied to a Predictor
	// that will be created if the model is set to be released
	// +kubebuilder:validation:Optional
	Serving ServingSpec `json:"serving,omitempty" protobuf:"bytes,17,opt,name=serving"`
	// Tested indicates if a workload will be instantiated to test the model. The Study resource controller
	// will automatically set this field if the Model was found to be the highest-performing
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Tested *bool `json:"tested,omitempty" protobuf:"varint,18,opt,name=tested"`
	// Aborted indicates if any workloads associated with the Model should stop execution
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Aborted *bool `json:"aborted,omitempty" protobuf:"varint,19,opt,name=aborted"`
	// Packaged indicates if the Model should be packaged into tarbell
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Packaged *bool `json:"packaged,omitempty" protobuf:"varint,20,opt,name=packaged"`
	// Published indicates that the Model should be baked into a Docker image
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Published *bool `json:"published,omitempty" protobuf:"varint,21,opt,name=published"`
	// Pushed indicates that the Model image should be pushed to a Docker image registry
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Pushed *bool `json:"pushed,omitempty" protobuf:"varint,22,opt,name=pushed"`
	// Reported indicates that a Report will be generated for the Model
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Reported *bool `json:"reported,omitempty" protobuf:"varint,23,opt,name=reported"`
	// Paused indicates that the execution of new workloads associated with the Model should be paused
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Paused *bool `json:"paused,omitempty" protobuf:"varint,24,opt,name=paused"`
	// Profiled indicates that the Model will be profiled
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Profiled *bool `json:"profiled,omitempty" protobuf:"varint,25,opt,name=profiled"`
	// Archived indicates that the Model should be archived in long-term storage
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Archived *bool `json:"archived,omitempty" protobuf:"varint,26,opt,name=archived"`
	// Forecasted indicates that the Model should perform a forecast
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Forecasted *bool `json:"forecasted,omitempty" protobuf:"varint,27,opt,name=forecasted"`
	// Released indicates that the Model will be deployed within Predictor
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Released *bool `json:"released,omitempty" protobuf:"varint,28,opt,name=released"`
	// Registered indicate if this model is registered with the model registry.
	// A registred model cannot be garbage collected, and apper in the model registry page.
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Registered *bool `json:"registered,omitempty" protobuf:"varint,29,opt,name=registered"`
	// Perform a prediction at the end of the study. This is for example apply to forecasting.
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Predicted *bool `json:"predict,omitempty" protobuf:"varint,30,opt,name=predict"`
	// If true perform a final search after selecting the best model. to tune only this model.
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Tuned *bool `json:"tuned,omitempty" protobuf:"varint,31,opt,name=tuned"`
	// Explained indicates if a workload to compute SHAP values/diagrams should be executed
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Explained *bool `json:"explained,omitempty" protobuf:"varint,32,opt,name=explained"`
	// Not implemented. For future use. If true,generate code when model trained
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	CodeGenerated *bool `json:"codeGenerated,omitempty" protobuf:"varint,33,opt,name=codeGenerated"`
	// Baseline indicates if the Model was produced by the baseline phase of a Study
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Baseline *bool `json:"baseline,omitempty" protobuf:"varint,34,opt,name=baseline"`
	// GenDriftDetector indicates if we should generate a drift detector model for this model
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	GenDriftDetector *bool `json:"genDriftDetector,omitempty" protobuf:"varint,35,opt,name=genDriftDetector"`
	// Fast indicates if the Model should skip profiling, explaining, and reporting
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Fast *bool `json:"fast,omitempty" protobuf:"varint,36,opt,name=fast"`
	// Indicate if this model should be unit tested.
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	UnitTested *bool `json:"unitTested,omitempty" protobuf:"varint,37,opt,name=unitTested"`
	// The reference to the lated feedback dataset
	// +kubebuilder:validation:Optional
	FeedbackDatasetRef *v1.ObjectReference `json:"feedbackDatasetRef,omitempty" protobuf:"varint,38,opt,name=feedbackDatasetRef"`
	// Indicates if the model is flagged
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Flagged *bool `json:"flagged,omitempty" protobuf:"varint,39,opt,name=flagged"`
	// The data location where artifacts (metadata, reports, and estimators) generated by the Model will be stored
	// +kubebuilder:validation:Optional
	Location *data.DataLocation `json:"location,omitempty" protobuf:"bytes,40,opt,name=location"`
	// Forecasting specifies the configuration to train a forecasting model
	// +kubebuilder:validation:Optional
	Forecasting *ForecasterSpec `json:"forecasting,omitempty" protobuf:"bytes,41,opt,name=forecasting"`
	// Compilation specifies the configuration to compile a model to a binary (currently unimplemented)
	// +kubebuilder:validation:Optional
	Compilation *catalog.CompilerSpec `json:"compilation,omitempty" protobuf:"bytes,42,opt,name=compilation"`
	// The deadline for any Jobs associated with the Model to be completed in seconds
	// +kubebuilder:default:=600
	// +kubebuilder:validation:Optional
	ActiveDeadlineSeconds *int64 `json:"activeDeadlineSeconds,omitempty" protobuf:"varint,43,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,44,opt,name=estimatorType"`
	// The time-to-live of the Model, after which the Model will be archived
	// +kubebuilder:default:=0
	// +kubebuilder:validation:Optional
	TTL *int32 `json:"ttl,omitempty" protobuf:"varint,45,opt,name=ttl"`
	// The model class, which is derived from the phase of the Study that the Model was created for
	// +kubebuilder:validation:Optional
	ModelClass catalog.ModelClassType `json:"modelClass,omitempty" protobuf:"bytes,46,opt,name=modelClass"`
	// The trial ID, which is incremented for each Model produced by the data plane
	// +kubebuilder:default:=0
	// +kubebuilder:validation:Optional
	TrialID *int32 `json:"trialID,omitempty" protobuf:"varint,47,opt,name=trialID"`
	// Governance specifies the model governance requirements (currently unimplemented)
	// +kubebuilder:validation:Optional
	Governance *data.GovernanceSpec `json:"governance,omitempty" protobuf:"bytes,48,opt,name=governance"`
	// Interpretability specifies the configuration to generate model interpretability visualizations
	// +kubebuilder:validation:Optional
	Interpretability InterpretabilitySpec `json:"interpretability,omitempty" protobuf:"bytes,49,opt,name=interpretability"`
	// The set of unit tests for this model.
	// +kubebuilder:validation:Optional
	UnitTests catalog.TestSuite `json:"unitTests,omitempty" protobuf:"bytes,50,opt,name=unitTests"`
	// The set of unit tests to test this models against the feedback.
	// +kubebuilder:validation:Optional
	FeedbackTests catalog.TestSuite `json:"feedbackTests,omitempty" protobuf:"bytes,51,opt,name=feedbackTests"`
	// The set locations in case of group forecasts
	// +kubebuilder:validation:Optional
	GroupLocations GroupModelLocationsSpec `json:"groupLocations,omitempty" protobuf:"bytes,52,opt,name=groupLocations"`
}

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 the time at which the execution of the Model started
	// +kubebuilder:validation:Optional
	StartTime *metav1.Time `json:"startTime,omitempty" protobuf:"bytes,1,opt,name=startTime"`
	// TrainStartTime represents the time at which the Model started training
	// +kubebuilder:validation:Optional
	TrainingStartTime *metav1.Time `json:"trainingStartTime,omitempty" protobuf:"bytes,2,opt,name=trainingStartTime"`
	// TrainCompletionTime represents the time at which the Model completed training
	// +kubebuilder:validation:Optional
	TrainingEndTime *metav1.Time `json:"trainingEndTime,omitempty" protobuf:"bytes,3,opt,name=trainingEndTime"`
	// TestingStartTime represents the time at which the Model started testing
	// +kubebuilder:validation:Optional
	TestingStartTime *metav1.Time `json:"testingStartTime,omitempty" protobuf:"bytes,4,opt,name=testingStartTime"`
	// TestingEndTime represents the time at which the Model completed testing
	// +kubebuilder:validation:Optional
	TestingEndTime *metav1.Time `json:"testingEndTime,omitempty" protobuf:"bytes,5,opt,name=testingEndTime"`
	// TuningStartTime represents the time at which the Model started testing
	// +kubebuilder:validation:Optional
	TuningStartTime *metav1.Time `json:"tuningStartTime,omitempty" protobuf:"bytes,6,opt,name=tuningStartTime"`
	// TuningEndTime represents the time at which the Model completed testing
	// +kubebuilder:validation:Optional
	TuningEndTime *metav1.Time `json:"tuningEndTime,omitempty" protobuf:"bytes,7,opt,name=tuningEndTime"`
	// EndTime represents the time at which the Model was marked as ready, failed, or aborted
	// +kubebuilder:validation:Optional
	EndTime *metav1.Time `json:"endTime,omitempty" protobuf:"bytes,8,opt,name=endTime"`
	// The cross-validation score for the objective metric produced after training
	// +kubebuilder:validation:Optional
	CVScore float64 `json:"cvScore,omitempty" protobuf:"bytes,9,opt,name=cvScore"`
	// The score for the objective metric based on the training dataset
	// +kubebuilder:validation:Optional
	TrainingScore float64 `json:"trainingScore,omitempty" protobuf:"bytes,10,opt,name=trainingScore"`
	// The score for the objective metric based on the testing dataset
	// +kubebuilder:validation:Optional
	TestScore float64 `json:"testScore,omitempty" protobuf:"bytes,11,opt,name=testScore"`
	// Cost is the cost of training the model in the case of a deep-learning model
	// +kubebuilder:validation:Optional
	Cost float64 `json:"cost,omitempty" protobuf:"bytes,12,opt,name=cost"`
	// Best indicates if the Model was found to be the best model produced by a Study
	// +kubebuilder:validation:Optional
	Best bool `json:"best,omitempty" protobuf:"varint,13,opt,name=best"`
	// CV contains the collection of measurements produced by cross-validation
	// on the training dataset or validation on the validation dataset
	// +kubebuilder:validation:Optional
	CV []catalog.Measurement `json:"cv,omitempty" protobuf:"bytes,14,rep,name=cv"`
	// Train contains the collection of measurements produced by validation on the training dataset
	// +kubebuilder:validation:Optional
	Train []catalog.Measurement `json:"train,omitempty" protobuf:"bytes,15,rep,name=train"`
	// Train contains the collection of measurements produced by validation on the testing dataset
	// +kubebuilder:validation:Optional
	Test []catalog.Measurement `json:"test,omitempty" protobuf:"bytes,16,rep,name=test"`
	// Tune contains the collection of measurements produced by validation on the tune dataset
	// +kubebuilder:validation:Optional
	Tune []catalog.Measurement `json:"tune,omitempty" protobuf:"bytes,17,rep,name=tune"`
	// Feedback contain the collection of measurements produced by running dataset
	// +kubebuilder:validation:Optional
	Feedback []catalog.Measurement `json:"feedback,omitempty" protobuf:"bytes,18,rep,name=feedback"`
	// The last feedback dataset
	// +kubebuilder:validation:Optional
	LastFeedbackDatasetRef v1.ObjectReference `json:"lastFeedbackDatasetRef,omitempty" protobuf:"bytes,19,rep,name=lastFeedbackDatasetRef"`
	// The phase of the Model
	// +kubebuilder:default:="Pending"
	// +kubebuilder:validation:Optional
	Phase ModelPhase `json:"phase" protobuf:"bytes,20,opt,name=phase"`
	// The name of the Report resource produced by the Model
	// +kubebuilder:validation:Optional
	ReportName string `json:"reportName,omitempty" protobuf:"bytes,21,opt,name=reportName"`
	// The URI of the Report
	// +kubebuilder:validation:Optional
	ReportUri string `json:"reportUri,omitempty" protobuf:"bytes,22,opt,name=reportUri"`
	// The URI of the Model manifest
	// +kubebuilder:validation:Optional
	ManifestUri string `json:"manifestUri,omitempty" protobuf:"bytes,23,opt,name=manifestUri"`
	// The URI of the model weights binary file
	// +kubebuilder:validation:Optional
	WeightsUri string `json:"weightsUri,omitempty" protobuf:"bytes,24,opt,name=weightsUri"`
	// The URI of the label encoder binary file, if it exists
	// +kubebuilder:validation:Optional
	LabelEncoderUri string `json:"labelEncoderUri,omitempty" protobuf:"bytes,25,opt,name=labelEncoderUri"`
	// The URI of the logs file
	// +kubebuilder:validation:Optional
	LogsUri string `json:"logsUri,omitempty" protobuf:"bytes,26,opt,name=logsUri"`
	// The URI of the model profile, which contains visualizations produced during the profiling phase
	// +kubebuilder:validation:Optional
	ProfileUri string `json:"profileUri" protobuf:"bytes,27,opt,name=profileUri"`
	// The URI to the misclassification file produced during the testing phase
	// +kubebuilder:validation:Optional
	MisclassificationUri string `json:"misclassificationUri" protobuf:"bytes,28,opt,name=misclassificationUri"`
	// The URI to the model tarbell file
	// +kubebuilder:validation:Optional
	TarUri string `json:"tarUri" protobuf:"bytes,29,opt,name=tarUri"`
	// The URI to the model application file
	// +kubebuilder:validation:Optional
	AppUri string `json:"appUri" protobuf:"bytes,30,opt,name=appUri"`
	// The name of the Docker image produced by the Model
	// +kubebuilder:validation:Optional
	ImageName string `json:"imageName" protobuf:"bytes,31,opt,name=imageName"`
	// The collection of features and their importance, sorted by the greatest importance first
	// The collection is measured based on impuriry and uses the native measures by a tree algorithm
	// +kubebuilder:validation:Optional
	ImpurityImportance []FeatureImportance `json:"impurityImportance,,omitempty" protobuf:"bytes,32,rep,name=importance"`
	// The collection of features and their importance, sorted by the greatest importance first
	// The collection is measured using permutation importance
	// +kubebuilder:validation:Optional
	PermutationImportance []FeatureImportance `json:"permutationImportance,omitempty" protobuf:"bytes,33,rep,name=permutationImportance"`
	// The URI of the model forecast
	// +kubebuilder:validation:Optional
	ForecastUri string `json:"forecastUri,omitempty" protobuf:"bytes,34,opt,name=forecastUri"`
	// The runtime training details.
	// +kubebuilder:validation:Optional
	Runtime RuntimeStatus `json:"runtime,omitempty" protobuf:"bytes,35,opt,name=runtime"`
	// TrainDatasetLocation specifies the location of the training dataset
	// +kubebuilder:validation:Optional
	TrainDatasetLocation data.DataLocation `json:"trainDataset,omitempty" protobuf:"bytes,36,opt,name=trainDataset"`
	// TestDatasetLocation specifies the location of the testing dataset
	// +kubebuilder:validation:Optional
	TestDatasetLocation data.DataLocation `json:"testDataset,omitempty" protobuf:"bytes,37,opt,name=testDataset"`
	// ValidationDataset specifies the location of the validation dataset
	// +kubebuilder:validation:Optional
	ValidationDataset data.DataLocation `json:"validationDataset,omitempty" protobuf:"bytes,38,opt,name=validationDataset"`
	// ObservedGeneration is the last generation that was acted on
	//+kubebuilder:validation:Optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,39,opt,name=observedGeneration"`
	// The number of rows in the training dataset
	// +kubebuilder:validation:Optional
	TrainingRows int32 `json:"trainingRows" protobuf:"varint,40,opt,name=trainingRows"`
	// The number of rows in the testing dataset
	// +kubebuilder:validation:Optional
	TestingRows int32 `json:"testingRows" protobuf:"varint,41,opt,name=testingRows"`
	// The number of rows in the validation dataset, if applicable
	// +kubebuilder:validation:Optional
	ValidationRows int32 `json:"validationRows" protobuf:"varint,42,opt,name=validationRows"`
	// In the case of failure, the Model resource controller will set this field with a failure reason
	//+kubebuilder:validation:Optional
	FailureReason *catalog.StatusError `json:"failureReason,omitempty" protobuf:"bytes,43,opt,name=failureReason"`
	// In the case of failure, the Model resource controller will set this field with a failure message
	//+kubebuilder:validation:Optional
	FailureMessage *string `json:"failureMessage,omitempty" protobuf:"bytes,44,opt,name=failureMessage"`
	// The progress percentage of the Model, which is derived from the Model's current phase
	// +kubebuilder:validation:Optional
	Progress int32 `json:"progress,omitempty" protobuf:"varint,45,opt,name=progress"`
	// The size of the model binary in bytes
	// +kubebuilder:validation:Optional
	SizeInBytes int32 `json:"sizeInBytes,omitempty" protobuf:"varint,46,opt,name=sizeInBytes"`
	// The measured prediction latency
	// +kubebuilder:validation:Optional
	Latency float64 `json:"latency,omitempty" protobuf:"bytes,47,opt,name=latency"`
	// The URL to the released model
	// +kubebuilder:validation:Optional
	URL string `json:"url,omitempty" protobuf:"bytes,48,opt,name=url"`
	// The name of the Predictor in the case that the Model has been released and deployed
	// +kubebuilder:validation:Optional
	PredictorName string `json:"predictorName,omitempty" protobuf:"bytes,49,opt,name=predictorName"`
	// The time at which the Model was set to release
	// +kubebuilder:validation:Optional
	ReleasedAt *metav1.Time `json:"releasedAt,omitempty" protobuf:"bytes,50,opt,name=releasedAt"`
	// The time at which the Model was set to release
	// +kubebuilder:validation:Optional
	PredictedAt *metav1.Time `json:"predictedAt,omitempty" protobuf:"bytes,51,opt,name=predictedAt"`
	// Sha256 of the model tar file
	// +kubebuilder:validation:Optional
	TarFileHash string `json:"tarFileHash,omitempty" protobuf:"bytes,52,opt,name=tarFileHash"`
	// Sha256 of the model image
	// +kubebuilder:validation:Optional
	ImageHash string `json:"imageHash,omitempty" protobuf:"bytes,53,opt,name=imageHash"`
	// TrainingDataHash specifies the hashes for datasets used by the Model
	// +kubebuilder:validation:Optional
	TrainingDataHash DataHashes `json:"trainingDataHash,omitempty" protobuf:"bytes,54,opt,name=trainingDataHash"`
	// TrainingResources details the resources that were consumed by the training workload
	// +kubebuilder:validation:Optional
	TrainingResources ResourceConsumption `json:"trainingResources,omitempty" protobuf:"bytes,55,opt,name=trainingResources"`
	// TestingResources details the resources that were consumed by the testing workload
	// +kubebuilder:validation:Optional
	TestingResources ResourceConsumption `json:"testingResources,omitempty" protobuf:"bytes,56,opt,name=testingResources"`
	// The Account which trained the model, derived from the parent Study
	// +kubebuilder:validation:Optional
	TrainedBy string `json:"trainedBy,omitempty" protobuf:"bytes,57,opt,name=trainedBy"`
	// The team of the Account which trained the model, derived from the parent Study
	// +kubebuilder:validation:Optional
	Team string `json:"team,omitempty" protobuf:"bytes,58,opt,name=team"`
	// The endpoint of the Model, which is set after it is deployed to a Predictor
	// +kubebuilder:validation:Optional
	EndPoint string `json:"endpoint,omitempty" protobuf:"bytes,59,opt,name=endpoint"`
	// Logs specifies the location of logs produced by workloads associated with the Model
	//+kubebuilder:validation:Optional
	Logs catalog.Logs `json:"logs,omitempty" protobuf:"bytes,60,opt,name=logs"`
	// The Roc/Auc curve of the trained model
	// +kubebuilder:validation:Optional
	RocCurve catalog.RocAucCurve `json:"rocCurve,omitempty" protobuf:"bytes,61,opt,name=rocCurve"`
	// The Precision/Recall curve of the trained model
	// +kubebuilder:validation:Optional
	PRCurve catalog.PRCurve `json:"prCurve,omitempty" protobuf:"bytes,62,opt,name=prCurve"`
	// The confusion matrix of the train data.
	// +kubebuilder:validation:Optional
	TrainConfusionMatrix catalog.ConfusionMatrix `json:"trainConfusionMatrix,omitempty" protobuf:"bytes,63,opt,name=trainConfusionMatrix"`
	// The confusion matrix of the test data
	// +kubebuilder:validation:Optional
	TestConfusionMatrix catalog.ConfusionMatrix `json:"testConfusionMatrix,omitempty" protobuf:"bytes,64,opt,name=testConfusionMatrix"`
	// The collection of correlations of the features of the training dataset and the target feature
	// +kubebuilder:validation:Optional
	CorrelationsWithTarget []data.Correlation `json:"correlationsWithTarget,omitempty" protobuf:"bytes,65,rep,name=correlationsWithTarget"`
	// The top correlations between features of the training dataset
	// +kubebuilder:validation:Optional
	TopCorrelations []data.Correlation `json:"topCorrelations,omitempty" protobuf:"bytes,66,rep,name=topCorrelations"`
	// The last time the object was updated
	//+kubebuilder:validation:Optional
	LastUpdated *metav1.Time `json:"lastUpdated,omitempty" protobuf:"bytes,67,opt,name=lastUpdated"`
	// Governance specifies the current governance status for the Model
	// +kubebuilder:validation:Optional
	Governance data.GovernanceStatus `json:"governance,omitempty" protobuf:"bytes,68,opt,name=governanceStatus"`
	// Interpretability contains results produced during the explaining phase of the Model
	// +kubebuilder:validation:Optional
	Interpretability InterpretabilityStatus `json:"interpretability,omitempty" protobuf:"bytes,69,opt,name=interpretability"`
	// Images specifies the container images used to train the model
	// +kubebuilder:validation:Optional
	Images catalog.Images `json:"images,omitempty" protobuf:"bytes,70,opt,name=images"`
	// The result of running the unit tests
	// +kubebuilder:validation:Optional
	UnitTestsResult catalog.TestSuiteResult `json:"unitTestsResult,omitempty" protobuf:"bytes,71,opt,name="`
	// The result of running the feedback unit tests, the feedback unit tests
	// +kubebuilder:validation:Optional
	FeedbackTestsResult catalog.TestSuiteResult `json:"feedbackTestsResult,omitempty" protobuf:"bytes,72,opt,name="`
	// The sub models uri file contain the results of running the sub model
	// +kubebuilder:validation:Optional
	GroupBy ModelGroupByStatus `json:"groupby,omitempty" protobuf:"bytes,73,opt,name=groupby"`
	// +kubebuilder:validation:Optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions []ModelCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,74,rep,name=conditions"`
}

ModelStatus defines the observed state of a 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 ModelTemplate added in v0.5.140

type ModelTemplate string

+kubebuilder:validation:Enum="silverkite";"prophet";"auto-arima";"lag-based";"sk";"two-stage";"wow";"daily-1-config-1";"daily-1-config-2";"daily-1-config-3";"daily-1";"daily-90";"weekly";"monthly";"hourly-1";"hourly-24";"hourly-168";"hourly-336"

const (
	ModelTemplateSilverKite    ModelTemplate = "silverkite"
	ModelTemplateProphet       ModelTemplate = "prophet"
	ModelTemplateAutoArima     ModelTemplate = "auto-arima"
	ModelTemplateLagBased      ModelTemplate = "lag-based"
	ModelTemplateSK            ModelTemplate = "sk"
	ModelTemplateTwoStage      ModelTemplate = "two-stage"
	ModelTemplateWow           ModelTemplate = "wow"
	ModelTemplateDaily1Config1 ModelTemplate = "daily-1-config-1"
	ModelTemplateDaily1Config2 ModelTemplate = "daily-1-config-2"
	ModelTemplateDaily1Config3 ModelTemplate = "daily-1-config-3"
	ModelTemplateDaily1        ModelTemplate = "daily-1"
	ModelTemplateDaily90       ModelTemplate = "daily-90"
	ModelTemplateWeekly        ModelTemplate = "weekly"
	ModelTemplateMonthly       ModelTemplate = "monthly"
	ModelTemplateHourly1       ModelTemplate = "hourly-1"
	ModelTemplateHourly24      ModelTemplate = "hourly-24"
	ModelTemplateHourly168     ModelTemplate = "hourly-168"
	ModelTemplateHourly336     ModelTemplate = "hourly-336"
)

type ModelTestSuite added in v0.4.933

type ModelTestSuite struct {
	// Baseline Model Ref specifies a previous model to compare against
	// +kubebuilder:validation:Optional
	BaselineModelRef v1.ObjectReference `json:"baselineModelRef,omitempty" protobuf:"bytes,1,opt,name=baselineModelRef"`
	// The name of a labeled dataset used to test the model, when measuring a performance metric
	// +kubebuilder:validation:Optional
	DatasetRef v1.ObjectReference `json:"datasetRef,omitempty" protobuf:"bytes,2,opt,name=datasetRef"`
	// Define the column name for the validation role
	// +kubebuilder:validation:Optional
	UnitTests catalog.TestSuite `json:"unitTests,omitempty" protobuf:"bytes,3,opt,name=unitTests"`
}

ModelValidation defines a single validation to be run against a model

func (*ModelTestSuite) DeepCopy added in v0.4.933

func (in *ModelTestSuite) DeepCopy() *ModelTestSuite

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

func (*ModelTestSuite) DeepCopyInto added in v0.4.933

func (in *ModelTestSuite) DeepCopyInto(out *ModelTestSuite)

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

func (*ModelTestSuite) Descriptor added in v0.4.933

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

func (*ModelTestSuite) Marshal added in v0.4.933

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

func (*ModelTestSuite) MarshalTo added in v0.4.933

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

func (*ModelTestSuite) MarshalToSizedBuffer added in v0.4.933

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

func (*ModelTestSuite) ProtoMessage added in v0.4.933

func (*ModelTestSuite) ProtoMessage()

func (*ModelTestSuite) Reset added in v0.4.933

func (m *ModelTestSuite) Reset()

func (*ModelTestSuite) Size added in v0.4.933

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

func (*ModelTestSuite) String added in v0.4.933

func (this *ModelTestSuite) String() string

func (*ModelTestSuite) Unmarshal added in v0.4.933

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

func (*ModelTestSuite) XXX_DiscardUnknown added in v0.4.933

func (m *ModelTestSuite) XXX_DiscardUnknown()

func (*ModelTestSuite) XXX_Marshal added in v0.4.933

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

func (*ModelTestSuite) XXX_Merge added in v0.4.933

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

func (*ModelTestSuite) XXX_Size added in v0.4.933

func (m *ModelTestSuite) XXX_Size() int

func (*ModelTestSuite) XXX_Unmarshal added in v0.4.933

func (m *ModelTestSuite) 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"`
}

NLPEstimatorSpec specifies the configuration for an NLP model

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:storageversion +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) Unmarshal

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

func (*Notebook) UpdateRunStatus added in v0.4.612

func (in *Notebook) UpdateRunStatus(run NotebookRun)

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:storageversion +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) CompletionAlert added in v0.4.601

func (run *NotebookRun) CompletionAlert(tenantRef *v1.ObjectReference, notifierName *string) *infra.Alert

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) ErrorAlert added in v0.4.601

func (run *NotebookRun) ErrorAlert(tenantRef *v1.ObjectReference, notifierName *string, err error) *infra.Alert

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) IsFailed added in v0.4.614

func (in *NotebookRun) IsFailed() 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) RunStatus added in v0.4.614

func (run *NotebookRun) RunStatus() *catalog.LastRunStatus

Return the state of the run as RunStatus

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) 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 (
	NotebookRunUnitTested NotebookRunConditionType = "UnitTested"
	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"
	NotebookRunPhaseUnitTesting NotebookRunPhase = "UnitTesting"
	NotebookRunPhaseUnitTested  NotebookRunPhase = "UnitTested"
	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"`
	// 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,7,opt,name=labRef"`
}

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:"varint,14,opt,name=paused"`
	// The set of unit tests for this notebook
	// +kubebuilder:validation:Optional
	UnitTests catalog.TestSuite `json:"unitTests,omitempty" protobuf:"bytes,15,opt,name=unitTests"`
}

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 data pipeline run was created
	//+kubebuilder:validation:Optional
	LastRun catalog.LastRunStatus `json:"lastRun,omitempty" protobuf:"bytes,4,opt,name=lastRun"`
	// The time of the next schedule run
	//+kubebuilder:validation:Optional
	NextRun *metav1.Time `json:"nextRun,omitempty" protobuf:"bytes,5,opt,name=nextRun"`

	// Last time the object was updated
	//+kubebuilder:validation:Optional
	LastUpdated *metav1.Time `json:"lastUpdated,omitempty" protobuf:"bytes,6,opt,name=lastUpdated"`

	// The result of running the unit tests
	// +kubebuilder:validation:Optional
	UnitTestsResult catalog.TestSuiteResult `json:"unitTestsResult,omitempty" protobuf:"bytes,7,opt,name="`

	// +patchMergeKey=type
	// +patchStrategy=merge
	// +kubebuilder:validation:Optional
	Conditions []NotebookCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,9,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 PercentilePrunerOptions added in v0.4.767

type PercentilePrunerOptions struct {
	// Percentile which must be between 0 and 100 inclusive
	// +kubebuilder:default:=25
	// +kubebuilder:validation:Minimum=0
	// +kubebuilder:validation:Maximum=100
	// +kubebuilder:validation:Optional
	Percentile *int32 `json:"percentile,omitempty" protobuf:"varint,1,opt,name=percentile"`
	// Pruning is disabled until the given number of trials finish in the same ModelClass.
	// +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
	WarmupSteps *int32 `json:"warmupSteps,omitempty" protobuf:"varint,3,opt,name=warmupSteps"`
	// Interval in number of steps between the pruning checks
	// +kubebuilder:default:=1
	// +kubebuilder:validation:Optional
	IntervalSteps *int32 `json:"intervalTrials,omitempty" protobuf:"varint,4,opt,name=intervalTrials"`
	// Minimum number of reported trials.
	// +kubebuilder:default:=1
	// +kubebuilder:validation:Optional
	MinTrials *int32 `json:"minTrials,omitempty" protobuf:"varint,5,opt,name=minTrials"`
}

func (*PercentilePrunerOptions) DeepCopy added in v0.4.767

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

func (*PercentilePrunerOptions) DeepCopyInto added in v0.4.767

func (in *PercentilePrunerOptions) DeepCopyInto(out *PercentilePrunerOptions)

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

func (*PercentilePrunerOptions) Descriptor added in v0.4.767

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

func (*PercentilePrunerOptions) Marshal added in v0.4.767

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

func (*PercentilePrunerOptions) MarshalTo added in v0.4.767

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

func (*PercentilePrunerOptions) MarshalToSizedBuffer added in v0.4.767

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

func (*PercentilePrunerOptions) ProtoMessage added in v0.4.767

func (*PercentilePrunerOptions) ProtoMessage()

func (*PercentilePrunerOptions) Reset added in v0.4.767

func (m *PercentilePrunerOptions) Reset()

func (*PercentilePrunerOptions) Size added in v0.4.767

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

func (*PercentilePrunerOptions) String added in v0.4.767

func (this *PercentilePrunerOptions) String() string

func (*PercentilePrunerOptions) Unmarshal added in v0.4.767

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

func (*PercentilePrunerOptions) XXX_DiscardUnknown added in v0.4.767

func (m *PercentilePrunerOptions) XXX_DiscardUnknown()

func (*PercentilePrunerOptions) XXX_Marshal added in v0.4.767

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

func (*PercentilePrunerOptions) XXX_Merge added in v0.4.767

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

func (*PercentilePrunerOptions) XXX_Size added in v0.4.767

func (m *PercentilePrunerOptions) XXX_Size() int

func (*PercentilePrunerOptions) XXX_Unmarshal added in v0.4.767

func (m *PercentilePrunerOptions) 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"
	PipelinePhaseUnitTesting        PipelinePhase = "UnitTesting"
	PipelinePhaseUnitTested         PipelinePhase = "UnitTested"
	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="patient-pruner";"median-pruner";"percentile-pruner";"successive-halving-pruner";"hyperband-pruner";"threshold-pruner"

const (
	NonePruner              PrunerName = "none"
	PatientPruner           PrunerName = "patient-pruner"
	MedianPruner            PrunerName = "median-pruner"
	PercentilePruner        PrunerName = "percentile-pruner"
	SuccessiveHalvingPruner PrunerName = "successive-halving-pruner"
	HyperbandPruner         PrunerName = "hyperband-pruner"
	ThresholdPruner         PrunerName = "threshold-pruner"
)

type PrunerSpec

type PrunerSpec struct {
	// The type of pruner to use during model search
	// +kubebuilder:default:=median-pruner
	// +kubebuilder:validation:Optional
	Type *PrunerName `json:"type,omitempty" protobuf:"bytes,1,opt,name=type"`
	// +kubebuilder:validation:Optional
	Median *MedianPrunerOptions `json:"median,omitempty" protobuf:"bytes,2,opt,name=median"`
	// +kubebuilder:validation:Optional
	Percentile *PercentilePrunerOptions `json:"percentile,omitempty" protobuf:"bytes,3,opt,name=percentile"`
	// +kubebuilder:validation:Optional
	Successive *SuccessiveHalvingOptions `json:"successiveHalving,omitempty" protobuf:"bytes,4,opt,name=successiveHalving"`
	// +kubebuilder:validation:Optional
	Hyperband *HyperbandOptions `json:"hyperband,omitempty" protobuf:"bytes,5,opt,name=hyperband"`
	// +kubebuilder:validation:Optional
	Threshold *ThresholdPrunerOptions `json:"threshold,omitempty" protobuf:"bytes,6,opt,name=threshold"`
}

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) 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 RegressionForecasterSpec added in v0.5.140

type RegressionForecasterSpec struct {
	// If true this is an ensemble pipeline
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Ensemble *bool `json:"ensemble,omitempty" protobuf:"bytes,1,opt,name=ensemble"`
	// +kubebuilder:default:=none
	// +kubebuilder:validation:Optional
	Imputation *catalog.Imputation `json:"imputation,omitempty" protobuf:"bytes,2,opt,name=imputation"`
	// The encoding method to use for categorical data types
	// +kubebuilder:default:=none
	// +kubebuilder:validation:Optional
	Encoding *catalog.CategoricalEncoding `json:"encoding,omitempty" protobuf:"bytes,3,opt,name=encoding"`
	// The scaling method to use for numerical data types
	// +kubebuilder:default:=none
	// +kubebuilder:validation:Optional
	Scaling *catalog.Scaling `json:"scaling,omitempty" protobuf:"bytes,4,opt,name=scaling"`
	// If true apply the data transofmer to
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Date *bool `json:"date,omitempty" protobuf:"bytes,5,opt,name=date"`
	// The list of windows to use when generating features.
	// +kubebuilder:validation:Optional
	Windows []int32 `json:"windows,omitempty" protobuf:"bytes,6,opt,name=windows"`
	// The list of lags to use when generating features
	// +kubebuilder:validation:Optional
	Lags []int32 `json:"lags,omitempty" protobuf:"bytes,7,opt,name=lags"`
	// The list of metrics to generate for each combination of lag and windows.
	// The default list is min,max,median,stddev
	// +kubebuilder:validation:Optional
	Functions []catalog.Metric `json:"functions,omitempty" protobuf:"bytes,8,opt,name=functions"`
	// when computing moving avg, use exponential moving avg, other use regular moving avg
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	EMA *bool `json:"ema,omitempty" protobuf:"varint,9,opt,name=ema"` // should we use the target log.
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	Log *bool `json:"log,omitempty" protobuf:"varint,10,opt,name=log"` // should we use the target log.
	// If we are using reduced model, this is the way the reduced model will make prediction
	// Default to none
	// +kubebuilder:validation:Optional
	Reduction ForecastStrategy `json:"reduction,omitempty" protobuf:"bytes,11,opt,name=reduction"`
}

Define how to build a regression model for forecasting (including feature engineering) This is not implemented today

func (*RegressionForecasterSpec) DeepCopy added in v0.5.140

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

func (*RegressionForecasterSpec) DeepCopyInto added in v0.5.140

func (in *RegressionForecasterSpec) DeepCopyInto(out *RegressionForecasterSpec)

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

func (*RegressionForecasterSpec) Descriptor added in v0.5.140

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

func (*RegressionForecasterSpec) Marshal added in v0.5.140

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

func (*RegressionForecasterSpec) MarshalTo added in v0.5.140

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

func (*RegressionForecasterSpec) MarshalToSizedBuffer added in v0.5.140

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

func (*RegressionForecasterSpec) ProtoMessage added in v0.5.140

func (*RegressionForecasterSpec) ProtoMessage()

func (*RegressionForecasterSpec) Reset added in v0.5.140

func (m *RegressionForecasterSpec) Reset()

func (*RegressionForecasterSpec) Size added in v0.5.140

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

func (*RegressionForecasterSpec) String added in v0.5.140

func (this *RegressionForecasterSpec) String() string

func (*RegressionForecasterSpec) Unmarshal added in v0.5.140

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

func (*RegressionForecasterSpec) XXX_DiscardUnknown added in v0.5.140

func (m *RegressionForecasterSpec) XXX_DiscardUnknown()

func (*RegressionForecasterSpec) XXX_Marshal added in v0.5.140

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

func (*RegressionForecasterSpec) XXX_Merge added in v0.5.140

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

func (*RegressionForecasterSpec) XXX_Size added in v0.5.140

func (m *RegressionForecasterSpec) XXX_Size() int

func (*RegressionForecasterSpec) XXX_Unmarshal added in v0.5.140

func (m *RegressionForecasterSpec) 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"`
	// 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"`
}

Report represents a PDF file containing information compiled about another resource +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:storageversion +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="Age",type="date",JSONPath=".metadata.creationTimestamp",description="" +kubebuilder:resource:path=reports,singular=report,categories={training,modela,all}

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) CompletionAlert added in v0.4.601

func (report *Report) CompletionAlert(tenantRef *v1.ObjectReference, notifierName *string) *infra.Alert

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) ErrorAlert added in v0.4.601

func (report *Report) ErrorAlert(tenantRef *v1.ObjectReference, notifierName *string, err error) *infra.Alert

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) IndexFileKey added in v0.5.201

func (report *Report) IndexFileKey() string

func (*Report) IsDatasetReport

func (report *Report) IsDatasetReport() bool

func (*Report) IsFailed added in v0.4.614

func (in *Report) IsFailed() bool

func (*Report) IsForecastReport

func (report *Report) IsForecastReport() bool

func (*Report) IsGroup added in v0.5.155

func (report *Report) IsGroup() 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) RunStatus added in v0.4.614

func (run *Report) RunStatus() *catalog.LastRunStatus

Return the state of the run as RunStatus

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) TaskIndexFileKey added in v0.5.201

func (report *Report) TaskIndexFileKey(task string) string

This is the index file for task

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) WorkerIndexFileKey added in v0.5.201

func (report *Report) WorkerIndexFileKey(workerIndex int, task string) string

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 Report 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 Report 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 ReportGroupByStatus added in v0.5.200

type ReportGroupByStatus struct {
	// The locations of the datasets profile files. Each file is the group
	// +kubebuilder:validation:Optional
	ReportsURI string `json:"reportsURI,omitempty" protobuf:"bytes,1,opt,name=reportsURI"`
	// Holds the worker on going result, when a worker finish, we update the location of thier result files
	// +kubebuilder:validation:Optional
	WorkerResults []catalog.WorkerRunResult `json:"workerResults,omitempty" protobuf:"bytes,4,opt,name=workerResults"`
}

func (*ReportGroupByStatus) DeepCopy added in v0.5.200

func (in *ReportGroupByStatus) DeepCopy() *ReportGroupByStatus

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

func (*ReportGroupByStatus) DeepCopyInto added in v0.5.200

func (in *ReportGroupByStatus) DeepCopyInto(out *ReportGroupByStatus)

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

func (*ReportGroupByStatus) Descriptor added in v0.5.200

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

func (*ReportGroupByStatus) Marshal added in v0.5.200

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

func (*ReportGroupByStatus) MarshalTo added in v0.5.200

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

func (*ReportGroupByStatus) MarshalToSizedBuffer added in v0.5.200

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

func (*ReportGroupByStatus) ProtoMessage added in v0.5.200

func (*ReportGroupByStatus) ProtoMessage()

func (*ReportGroupByStatus) Reset added in v0.5.200

func (m *ReportGroupByStatus) Reset()

func (*ReportGroupByStatus) Size added in v0.5.200

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

func (*ReportGroupByStatus) String added in v0.5.200

func (this *ReportGroupByStatus) String() string

func (*ReportGroupByStatus) Unmarshal added in v0.5.200

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

func (*ReportGroupByStatus) XXX_DiscardUnknown added in v0.5.200

func (m *ReportGroupByStatus) XXX_DiscardUnknown()

func (*ReportGroupByStatus) XXX_Marshal added in v0.5.200

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

func (*ReportGroupByStatus) XXX_Merge added in v0.5.200

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

func (*ReportGroupByStatus) XXX_Size added in v0.5.200

func (m *ReportGroupByStatus) XXX_Size() int

func (*ReportGroupByStatus) XXX_Unmarshal added in v0.5.200

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

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"`
}

ReportList contains a list of Reports +kubebuilder:object:root=true

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 a Report

const (
	ReportPhasePending   ReportPhase = "Pending"
	ReportPhaseRunning   ReportPhase = "Running"
	ReportPhaseCompleted ReportPhase = "Completed"
	ReportPhaseFailed    ReportPhase = "Failed"
)

/ Entity 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 {
	// The name of the DataProductVersion which describes the version of the resource
	// that exists in the same DataProduct namespace as the resource
	// +kubebuilder:default:="latest"
	// +kubebuilder:validation:Optional
	VersionName *string `json:"versionName,omitempty" protobuf:"bytes,1,opt,name=versionName"`
	// EntityRef specifies the entity which the Report references. The supported entities consist of Entity, Model, and Study resources
	EntityRef v1.ObjectReference `json:"entityRef,omitempty" protobuf:"bytes,2,opt,name=entityRef"`
	// The location of the flat-file containing the PDF report
	// +kubebuilder:validation:Optional
	Location data.DataLocation `json:"location,omitempty" protobuf:"bytes,4,opt,name=location"`
	// The type of report (e.g. classification model report, study report)
	// +kubebuilder:validation:Required
	// +required
	ReportType *ReportType `json:"reportType,omitempty" protobuf:"bytes,5,opt,name=reportType"`
	// The format of the Report. `pdf` is the only supported type as of the current release
	// +kubebuilder:default:=pdf
	// +kubebuilder:validation:Optional
	Format *ReportFormat `json:"format,omitempty" protobuf:"bytes,6,opt,name=format"`
	// The name of the Notifier resource which Alerts created by the Report will be forwarded to
	// +kubebuilder:validation:Optional
	NotifierName *string `json:"notifierName,omitempty" protobuf:"bytes,7,opt,name=notifierName"`
	// The name of the Account which created the object, which exists in the same tenant as the object
	// +kubebuilder:default:="no-one"
	// +kubebuilder:validation:Optional
	Owner *string `json:"owner,omitempty" protobuf:"bytes,8,opt,name=owner"`
	// Resources specifies the resource requirements that will be allocated to the report generation workload
	// +kubebuilder:validation:Optional
	Resources catalog.ResourceSpec `json:"resources,omitempty" protobuf:"bytes,9,opt,name=resources"`
	// The deadline for any Jobs associated with the Report to be completed in seconds
	// +kubebuilder:default:=600
	// +kubebuilder:validation:Optional
	ActiveDeadlineSeconds *int64 `json:"activeDeadlineSeconds,omitempty" protobuf:"varint,10,opt,name=activeDeadlineSeconds"`
	// Custom contains the specification to generate a custom report (currently unimplemented)
	// +kubebuilder:validation:Optional
	Custom CustomReportSpec `json:"custom,omitempty" protobuf:"bytes,11,opt,name=custom"`
	// The name of the CronReport resource that generated the Report
	// +kubebuilder:default:=""
	// +kubebuilder:validation:Optional
	CronReportName *string `json:"cronReportName,omitempty" protobuf:"bytes,12,opt,name=cronReportName"`
	// The reference to the Lab namespace under which the report generation Job will be executed under.
	// If unspecified, the default Lab from the parent DataProduct will be used
	// +kubebuilder:validation:Optional
	LabRef v1.ObjectReference `json:"labRef,omitempty" protobuf:"bytes,13,opt,name=labRef"`
	// For group forecasting, this is the key of the group
	// +kubebuilder:validation:Optional
	Key []string `json:"key,omitempty" protobuf:"bytes,14,opt,name=key"`
}

ReportSpec specifies the desired state of a Report

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 represents the time at which the execution of the Report started
	// +kubebuilder:validation:Optional
	StartTime *metav1.Time `json:"startTime,omitempty" protobuf:"bytes,2,opt,name=startTime"`
	// EndTime represents the time at which the Report was marked as completed, failed, or aborted
	// +kubebuilder:validation:Optional
	EndTime *metav1.Time `json:"endTime,omitempty" protobuf:"bytes,3,opt,name=endTime"`
	// The phase of the Report
	// +kubebuilder:default:="Pending"
	// +kubebuilder:validation:Optional
	Phase ReportPhase `json:"phase,omitempty" protobuf:"bytes,4,opt,name=phase"`
	// The URI to the flat-file report within the VirtualBucket specified by the Report
	// +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"`
	// In the case of failure, the Report resource controller will set this field with a failure reason
	//+kubebuilder:validation:Optional
	FailureReason *catalog.StatusError `json:"failureReason,omitempty" protobuf:"bytes,7,opt,name=failureReason"`
	// In the case of failure, the Report resource controller will set this field with a failure message
	//+kubebuilder:validation:Optional
	FailureMessage *string `json:"failureMessage,omitempty" protobuf:"bytes,8,opt,name=failureMessage"`
	// Logs specifies the location of logs produced by workloads associated with the Report
	//+kubebuilder:validation:Optional
	Logs catalog.Logs `json:"logs,omitempty" protobuf:"bytes,9,opt,name=logs"`
	// The last time the object was updated
	//+kubebuilder:validation:Optional
	LastUpdated *metav1.Time `json:"lastUpdated,omitempty" protobuf:"bytes,10,opt,name=lastUpdated"`
	// The sub models uri file contain the results of running the sub model
	// +kubebuilder:validation:Optional
	GroupBy ReportGroupByStatus `json:"groupby,omitempty" protobuf:"bytes,11,opt,name=groupby"`
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +kubebuilder:validation:Optional
	Conditions []ReportCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,12,rep,name=conditions"`
}

ReportStatus defines the observed state of a 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 a 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";"group-timeseries-dataset-report";"group-timeseries-model-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"
	GroupTimeSeriesModelReport      ReportType = "group-timeseries-model-report"
	GroupTimeSeriesDatasetReport    ReportType = "group-timeseries-dataset-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"`
}

ResourceConsumption represents the total resources consumed by a workload

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 RuntimeStatus added in v0.4.805

type RuntimeStatus struct {
	// The Python version of the data plane used during training
	// +kubebuilder:validation:Optional
	PythonVersion string `json:"pythonVersion,omitempty" protobuf:"bytes,1,opt,name=pythonVersion"`

	// The python command line
	// +kubebuilder:validation:Optional
	PythonCMD string `json:"pythonCmd,omitempty" protobuf:"bytes,2,opt,name=pythonCmd"`

	// The OS
	// +kubebuilder:validation:Optional
	OS string `json:"os,omitempty" protobuf:"bytes,3,opt,name=os"`

	// The Python packages used during training (which is the result of running pip freeze)
	// +kubebuilder:validation:Optional
	PythonPackages map[string]string `json:"pythonPackages,omitempty" protobuf:"bytes,4,opt,name=pythonPackages"`
}

Holds the information about the execution environment.

func (*RuntimeStatus) DeepCopy added in v0.4.805

func (in *RuntimeStatus) DeepCopy() *RuntimeStatus

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

func (*RuntimeStatus) DeepCopyInto added in v0.4.805

func (in *RuntimeStatus) DeepCopyInto(out *RuntimeStatus)

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

func (*RuntimeStatus) Descriptor added in v0.4.805

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

func (*RuntimeStatus) Marshal added in v0.4.805

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

func (*RuntimeStatus) MarshalTo added in v0.4.805

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

func (*RuntimeStatus) MarshalToSizedBuffer added in v0.4.805

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

func (*RuntimeStatus) ProtoMessage added in v0.4.805

func (*RuntimeStatus) ProtoMessage()

func (*RuntimeStatus) Reset added in v0.4.805

func (m *RuntimeStatus) Reset()

func (*RuntimeStatus) Size added in v0.4.805

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

func (*RuntimeStatus) String added in v0.4.805

func (this *RuntimeStatus) String() string

func (*RuntimeStatus) Unmarshal added in v0.4.805

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

func (*RuntimeStatus) XXX_DiscardUnknown added in v0.4.805

func (m *RuntimeStatus) XXX_DiscardUnknown()

func (*RuntimeStatus) XXX_Marshal added in v0.4.805

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

func (*RuntimeStatus) XXX_Merge added in v0.4.805

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

func (*RuntimeStatus) XXX_Size added in v0.4.805

func (m *RuntimeStatus) XXX_Size() int

func (*RuntimeStatus) XXX_Unmarshal added in v0.4.805

func (m *RuntimeStatus) 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 {
	// The hyper-parameter optimization search method
	// +kubebuilder:default:=tpe
	// +kubebuilder:validation:Optional
	Sampler *SamplerName `json:"sampler,omitempty" protobuf:"bytes,1,opt,name=sampler"`
	// Pruner specifies the configuration to run a model search using a pruning algorithm. Using a pruning
	// algorithm allows you to train a large number of candidate models with a subset of the dataset
	// +kubebuilder:validation:Optional
	Pruner PrunerSpec `json:"pruner,omitempty" protobuf:"bytes,2,opt,name=pruner"`
	// The maximum cost that can be incurred before stopping the model search (applicable for deep learning models)
	// +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"`
	// The maximum number of minutes, that the model search can run for
	// +kubebuilder:default:=60
	// +kubebuilder:validation:Minimum=1
	// +kubebuilder:validation:Maximum=10000
	// +kubebuilder:validation:Optional
	MaxTime *int32 `json:"maxTime,omitempty" protobuf:"varint,4,opt,name=maxTime"`
	// The maximum number of candidate models that will be sampled and trained
	// +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 best score needed to finish the search. The system will finish the search when the minimum is reached.
	// Note that this number can be negative for a regression.
	// +kubebuilder:default:=9999999999
	// +kubebuilder:validation:Optional
	MinBestScore *float64 `json:"minBestScore,omitempty" protobuf:"bytes,6,opt,name=minBestScore"`
	// The desired number of trainers that will train candidate models in parallel. The number
	// of trainers is restricted based on the allowance provided by the active License
	// +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"`
	// The number of top candidate models that will be moved to the testing phase once the model search is complete.
	// By default, only the best model will be retained
	// +kubebuilder:default:=1
	// +kubebuilder:validation:Minimum=1
	// +kubebuilder:validation:Maximum=5
	Test *int32 `json:"test,omitempty" protobuf:"varint,8,opt,name=test"`
	// The number of top candidate models, sorted by their objective score, that will be retained in
	// the case that garbage collection is enabled. All other models will be archived
	// +kubebuilder:default:=1
	// +kubebuilder:validation:Minimum=0
	// +kubebuilder:validation:Maximum=100
	RetainTop *int32 `json:"retainTop,omitempty" protobuf:"varint,9,opt,name=retainTop"`
	// The time, in minutes, for which candidate models (excluding the best model) will be
	// retained, after which they will be archived
	// +kubebuilder:default:=60
	// +kubebuilder:validation:Minimum=0
	// +kubebuilder:validation:Maximum=2400
	RetainFor *int32 `json:"retainedFor,omitempty" protobuf:"varint,10,opt,name=retainedFor"`
	// SearchSpace specifies the algorithms available to candidate models
	// +kubebuilder:validation:Optional
	SearchSpace AlgorithmSearchSpaceSpec `json:"searchSpace,omitempty" protobuf:"bytes,11,opt,name=searchSpace"`
	// The number of new models produced by the search which, if there is no improvement
	// in score, the model search will conclude
	// +kubebuilder:validation:Optional
	EarlyStop EarlyStopSpec `json:"earlyStop,omitempty" protobuf:"bytes,12,opt,name=earlyStop"`
	// The objective metric that will be measured against all models to evaluate their performance
	// +kubebuilder:validation:Optional
	Objective *catalog.Metric `json:"objective,omitempty" protobuf:"bytes,14,opt,name=objective"`
	// The second objective metric that will be measured and evaluated in tandem with the primary objective.
	// The model search optimizer will attempt to optimize both metrics
	// +kubebuilder:default:="none"
	// +kubebuilder:validation:Optional
	Objective2 *catalog.Metric `json:"objective2,omitempty" protobuf:"bytes,15,opt,name=objective2"`
	// Tune best model
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Tune *bool `json:"tune,omitempty" protobuf:"varint,16,opt,name=tune"`
}

SearchSpec specifies the configuration for a distributed model search

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 SeasonalityPeriodSpec added in v0.5.151

type SeasonalityPeriodSpec struct {
	// Is the seasonality exist
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" protobuf:"varint,1,opt,name=enabled"`
	// Infer the seasonality
	// +kubebuilder:validation:Optional
	Auto *bool `json:"auto,omitempty" protobuf:"varint,2,opt,name=auto"`
	// If enabled, the number of data points in the interval
	// +kubebuilder:default:=0
	// +kubebuilder:validation:Optional
	FourierOrder *int32 `json:"fourierOrder,omitempty" protobuf:"varint,3,opt,name=fourierOrder"`
}

Define the seasonality for a period (yearly / monthly / daily)

func (*SeasonalityPeriodSpec) DeepCopy added in v0.5.151

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

func (*SeasonalityPeriodSpec) DeepCopyInto added in v0.5.151

func (in *SeasonalityPeriodSpec) DeepCopyInto(out *SeasonalityPeriodSpec)

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

func (*SeasonalityPeriodSpec) Descriptor added in v0.5.151

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

func (*SeasonalityPeriodSpec) Marshal added in v0.5.151

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

func (*SeasonalityPeriodSpec) MarshalTo added in v0.5.151

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

func (*SeasonalityPeriodSpec) MarshalToSizedBuffer added in v0.5.151

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

func (*SeasonalityPeriodSpec) ProtoMessage added in v0.5.151

func (*SeasonalityPeriodSpec) ProtoMessage()

func (*SeasonalityPeriodSpec) Reset added in v0.5.151

func (m *SeasonalityPeriodSpec) Reset()

func (*SeasonalityPeriodSpec) Size added in v0.5.151

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

func (*SeasonalityPeriodSpec) String added in v0.5.151

func (this *SeasonalityPeriodSpec) String() string

func (*SeasonalityPeriodSpec) Unmarshal added in v0.5.151

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

func (*SeasonalityPeriodSpec) XXX_DiscardUnknown added in v0.5.151

func (m *SeasonalityPeriodSpec) XXX_DiscardUnknown()

func (*SeasonalityPeriodSpec) XXX_Marshal added in v0.5.151

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

func (*SeasonalityPeriodSpec) XXX_Merge added in v0.5.151

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

func (*SeasonalityPeriodSpec) XXX_Size added in v0.5.151

func (m *SeasonalityPeriodSpec) XXX_Size() int

func (*SeasonalityPeriodSpec) XXX_Unmarshal added in v0.5.151

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

type SeasonalitySpec added in v0.4.150

type SeasonalitySpec struct {
	// If true infer the seasonality
	// +kubebuilder:validation:Optional
	Auto *bool `json:"auto,omitempty" protobuf:"varint,1,opt,name=auto"`
	// +kubebuilder:validation:Optional
	Yearly *SeasonalityPeriodSpec `json:"yearly,omitempty" protobuf:"bytes,2,opt,name=yearly"`
	// +kubebuilder:validation:Optional
	Quarterly *SeasonalityPeriodSpec `json:"quarterly,omitempty" protobuf:"bytes,3,opt,name="`
	// +kubebuilder:validation:Optional
	Monthly *SeasonalityPeriodSpec `json:"monthly,omitempty" protobuf:"bytes,4,opt,name=monthly"`
	// +kubebuilder:validation:Optional
	Weekly *SeasonalityPeriodSpec `json:"weekly,omitempty" protobuf:"bytes,5,opt,name=weekly"`
	// +kubebuilder:validation:Optional
	Daily *SeasonalityPeriodSpec `json:"daily,omitempty" protobuf:"bytes,6,opt,name=daily"`
}

func (*SeasonalitySpec) DeepCopy added in v0.4.150

func (in *SeasonalitySpec) DeepCopy() *SeasonalitySpec

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

func (*SeasonalitySpec) DeepCopyInto added in v0.4.150

func (in *SeasonalitySpec) DeepCopyInto(out *SeasonalitySpec)

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

func (*SeasonalitySpec) Descriptor added in v0.4.150

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

func (*SeasonalitySpec) Marshal added in v0.4.150

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

func (*SeasonalitySpec) MarshalTo added in v0.4.150

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

func (*SeasonalitySpec) MarshalToSizedBuffer added in v0.4.150

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

func (*SeasonalitySpec) ProtoMessage added in v0.4.150

func (*SeasonalitySpec) ProtoMessage()

func (*SeasonalitySpec) Reset added in v0.4.150

func (m *SeasonalitySpec) Reset()

func (*SeasonalitySpec) Size added in v0.4.150

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

func (*SeasonalitySpec) String added in v0.4.150

func (this *SeasonalitySpec) String() string

func (*SeasonalitySpec) Unmarshal added in v0.4.150

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

func (*SeasonalitySpec) XXX_DiscardUnknown added in v0.4.150

func (m *SeasonalitySpec) XXX_DiscardUnknown()

func (*SeasonalitySpec) XXX_Marshal added in v0.4.150

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

func (*SeasonalitySpec) XXX_Merge added in v0.4.150

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

func (*SeasonalitySpec) XXX_Size added in v0.4.150

func (m *SeasonalitySpec) XXX_Size() int

func (*SeasonalitySpec) XXX_Unmarshal added in v0.4.150

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

type SeasonalityType added in v0.5.140

type SeasonalityType string
const (
	SeasonalityTypeHourly  SeasonalityType = "hourly"
	SeasonalityTypeDaily   SeasonalityType = "daily"
	SeasonalityTypeWeekly  SeasonalityType = "weekly"
	SeasonalityTypeMonthly SeasonalityType = "monthly"
	SeasonalityTypeYearly  SeasonalityType = "yearly"
)

type SegmentSpec

type SegmentSpec struct {
	// The name of the column
	// +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 {
	// +kubebuilder:validation:Optional
	Resources catalog.ResourceSpec `json:"resources,omitempty" protobuf:"bytes,1,opt,name=resources"`
	// +kubebuilder:default:="cloudpickle"
	// +kubebuilder:validation:Optional
	Format *catalog.ModelServingFormat `json:"format,omitempty" protobuf:"bytes,2,opt,name=format"`
}

ServingSpec specifies the requirements to serve a 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 represents an automatic search for the best machine learning model for a given dataset +kubebuilder:subresource:status +kubebuilder:object:root=true +kubebuilder:storageversion +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Progress",type="number",JSONPath=".status.progress",priority=1 +kubebuilder:printcolumn:name="Owner",type="string",JSONPath=".spec.owner",priority=1 +kubebuilder:printcolumn:name="Version",type="string",JSONPath=".spec.versionName",priority=1 +kubebuilder:printcolumn:name="Entity",type="string",JSONPath=".spec.datasetName" +kubebuilder:printcolumn:name="Task",type="string",JSONPath=".spec.task" +kubebuilder:printcolumn:name="Objective",type="string",JSONPath=".spec.search.objective" +kubebuilder:printcolumn:name="Score",type="number",JSONPath=".status.bestModelScore" +kubebuilder:printcolumn:name="Best model",type="string",JSONPath=".status.bestModel" +kubebuilder:printcolumn:name="Trained",type="number",JSONPath=".status.search.completed" +kubebuilder:printcolumn:name="Tested",type="number",JSONPath=".status.test.completed" +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.lastFailure" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:path=studies,singular=study,shortName=sd,categories={training,modela}

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) ArchiveKey added in v0.4.515

func (study *Study) ArchiveKey() string

func (*Study) AutoGenTSFeatures added in v0.5.118

func (study *Study) AutoGenTSFeatures()

func (*Study) AutoSplit added in v0.4.514

func (study *Study) AutoSplit(rows int32)

use to sort the model by score

func (*Study) Baselined

func (study *Study) Baselined() bool

func (*Study) CanStart

func (study *Study) CanStart() bool

func (*Study) CompletionAlert added in v0.4.601

func (study *Study) CompletionAlert(tenantRef *v1.ObjectReference, notifierName *string) *infra.Alert

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) DefaultObjective added in v0.5.246

func (study *Study) DefaultObjective(task catalog.MLTask) catalog.Metric

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) ErrorAlert added in v0.4.601

func (study *Study) ErrorAlert(tenantRef *v1.ObjectReference, notifierName *string, err error) *infra.Alert

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) GroupDataFolder added in v0.5.209

func (study *Study) GroupDataFolder(key []string) string

func (*Study) GroupFolder added in v0.5.209

func (study *Study) GroupFolder(key []string) string

func (*Study) GroupTestFile added in v0.5.210

func (study *Study) GroupTestFile(key []string) string

func (*Study) GroupTrainFile added in v0.5.210

func (study *Study) GroupTrainFile(key []string) string

func (*Study) HasFinalizer

func (study *Study) HasFinalizer() bool

func (*Study) IsFailed

func (study *Study) IsFailed() bool

func (*Study) IsFeatureEngineering added in v0.4.819

func (r *Study) IsFeatureEngineering() bool

func (*Study) IsForecast

func (r *Study) IsForecast() bool

func (*Study) IsGroup added in v0.5.155

func (study *Study) IsGroup() 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) LiveKey added in v0.4.515

func (study *Study) LiveKey() string

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) MarkGCFailed added in v0.4.506

func (study *Study) MarkGCFailed(err string)

func (*Study) MarkModelFailed added in v0.4.820

func (study *Study) MarkModelFailed(model *Model, err error)

///////////////////////////////////////////////// Mark study failed due to model failure ////////////////////////////////////////////////

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) MarkReadyFailed added in v0.4.506

func (study *Study) MarkReadyFailed(err string)

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) MarkTransformFailed added in v0.5.135

func (study *Study) MarkTransformFailed(err string)

func (*Study) MarkTransformed added in v0.5.135

func (study *Study) MarkTransformed()

func (*Study) MarkTuned added in v0.5.139

func (study *Study) MarkTuned()

func (*Study) MarkTuning added in v0.5.139

func (study *Study) MarkTuning()

func (*Study) MarkTuningFailed added in v0.5.139

func (study *Study) MarkTuningFailed(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) ModelTuned added in v0.5.139

func (study *Study) ModelTuned() 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) SelectSplitMethod added in v0.4.905

func (study *Study) SelectSplitMethod()

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) SetupWebhookWithManager

func (study *Study) SetupWebhookWithManager(mgr ctrl.Manager) error

Set up the webhook with the manager.

func (*Study) ShouldEarlyStopFE added in v0.4.759

func (study *Study) ShouldEarlyStopFE() bool

func (*Study) ShouldEarlyStopTraining added in v0.4.759

func (study *Study) ShouldEarlyStopTraining() bool

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) TaskIndexFileKey added in v0.5.196

func (study *Study) TaskIndexFileKey(task string) string

func (*Study) Tested

func (study *Study) Tested() bool

func (*Study) Transformed added in v0.5.135

func (study *Study) Transformed() bool

func (*Study) Tuned added in v0.5.139

func (study *Study) Tuned() bool

func (*Study) Unmarshal

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

func (*Study) UpdateEndTime added in v0.4.607

func (study *Study) UpdateEndTime()

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) WorkerIndexFileKey added in v0.5.193

func (study *Study) WorkerIndexFileKey(workerIndex int, task string) string

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, Unknown
	// +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 Study at a certain point

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 of a Study

const (
	// StudyInitialized states that the resources needed for training are allocated and ready
	StudyInitialized StudyConditionType = "Initialized"
	// StudySplit states that the training dataset has been split and is ready for use
	StudySplit StudyConditionType = "StudySplit"
	// Study Transformed states that the training dataset has been split and is ready for use
	StudyTransformed StudyConditionType = "StudyTransformed"
	// StudyFeatureEngineered states that the search for the best feature engineering pipeline is complete
	StudyFeatureEngineered StudyConditionType = "StudyFeaturesEngineered"
	// StudyBaselined states that baseline models for each algorithm have been trained
	StudyBaselined StudyConditionType = "StudyBaselined"
	// StudySearched states that the primary model search for algorithm and hyper-parameters is complete
	StudySearched StudyConditionType = "StudySearched"
	// StudyEnsembleCreated states that ensemble models were trained
	StudyEnsembleCreated StudyConditionType = "ModelsEnsembleCreated"
	// StudyTested states that the best model has been tested against training and testing datasets
	StudyTested StudyConditionType = "ModelTested"
	// StudyTested states that the best model has been tested against training and testing datasets
	StudyTuned StudyConditionType = "ModelTuned"

	// StudyReported states that a Report resource has been generated for the Study
	StudyReported  StudyConditionType = "Reported"
	StudyProfiled  StudyConditionType = "Profiled"
	StudyExplained StudyConditionType = "Explained"
	StudyAborted   StudyConditionType = "Aborted"
	// StudyPaused states that the execution of the Study is paused
	StudyPaused StudyConditionType = "Paused"
	// StudySaved states that the Study has been archived in a database
	StudySaved StudyConditionType = "Saved"
	// StudyCompleted states that the Study has completed execution
	StudyCompleted   StudyConditionType = "Completed"
	StudyPartitioned StudyConditionType = "Partitioned"
	StudyArchived    StudyConditionType = "Archived"
	StudyUnitTested  StudyConditionType = "UnitTested"
)

/ Study Condition

type StudyGroupByStatus added in v0.5.182

type StudyGroupByStatus struct {
	// The locations of the datasets profile files. Each file is the group
	// +kubebuilder:validation:Optional
	StudiesURI string `json:"studiesURI,omitempty" protobuf:"bytes,1,opt,name=studiesURI"`
	// Holds the worker on going result, when a worker finish, we update the location of thier result files
	// +kubebuilder:validation:Optional
	WorkerResults []catalog.WorkerRunResult `json:"workerResults,omitempty" protobuf:"bytes,2,opt,name=workerResults"`
}

func (*StudyGroupByStatus) DeepCopy added in v0.5.183

func (in *StudyGroupByStatus) DeepCopy() *StudyGroupByStatus

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

func (*StudyGroupByStatus) DeepCopyInto added in v0.5.183

func (in *StudyGroupByStatus) DeepCopyInto(out *StudyGroupByStatus)

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

func (*StudyGroupByStatus) Descriptor added in v0.5.182

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

func (*StudyGroupByStatus) Marshal added in v0.5.182

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

func (*StudyGroupByStatus) MarshalTo added in v0.5.182

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

func (*StudyGroupByStatus) MarshalToSizedBuffer added in v0.5.182

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

func (*StudyGroupByStatus) ProtoMessage added in v0.5.182

func (*StudyGroupByStatus) ProtoMessage()

func (*StudyGroupByStatus) Reset added in v0.5.182

func (m *StudyGroupByStatus) Reset()

func (*StudyGroupByStatus) Size added in v0.5.182

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

func (*StudyGroupByStatus) String added in v0.5.182

func (this *StudyGroupByStatus) String() string

func (*StudyGroupByStatus) Unmarshal added in v0.5.182

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

func (*StudyGroupByStatus) XXX_DiscardUnknown added in v0.5.182

func (m *StudyGroupByStatus) XXX_DiscardUnknown()

func (*StudyGroupByStatus) XXX_Marshal added in v0.5.182

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

func (*StudyGroupByStatus) XXX_Merge added in v0.5.182

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

func (*StudyGroupByStatus) XXX_Size added in v0.5.182

func (m *StudyGroupByStatus) XXX_Size() int

func (*StudyGroupByStatus) XXX_Unmarshal added in v0.5.182

func (m *StudyGroupByStatus) 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"`
}

StudyList contains a list of Studies +kubebuilder:object:root=true

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 a Study

const (
	StudyPhaseModelPending       StudyPhase = "Pending"
	StudyPhaseSplitting          StudyPhase = "Splitting"
	StudyPhaseSplit              StudyPhase = "Split"
	StudyPhaseTransforming       StudyPhase = "Transforming"
	StudyPhaseTransformed        StudyPhase = "Transformed"
	StudyPhaseEngineeringFeature StudyPhase = "EngineeringFeatures"
	StudyPhaseFeatureEngineered  StudyPhase = "FeaturesEngineered"
	StudyPhaseBaseline           StudyPhase = "Baselining"
	StudyPhaseBaselined          StudyPhase = "Baselined"
	StudyPhaseSearching          StudyPhase = "Searching"
	StudyPhaseSearched           StudyPhase = "Searched"
	StudyPhaseCreatingEnsembles  StudyPhase = "CreatingEnsembles"
	StudyPhaseCreatedEnsembles   StudyPhase = "CreatedEnsembles"
	StudyPhaseTuning             StudyPhase = "Tuning"
	StudyPhaseTuned              StudyPhase = "Tuned"
	StudyPhaseTesting            StudyPhase = "Testing"
	StudyPhaseTested             StudyPhase = "Tested"
	StudyPhaseUnitTesting        StudyPhase = "UnitTesting"
	StudyPhaseUnitTested         StudyPhase = "UnitTested"
	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 {
	// The time at which the phase started
	// +kubebuilder:validation:Optional
	StartTime *metav1.Time `json:"startTime,omitempty" protobuf:"bytes,1,opt,name=startTime"`
	// The time at which the phase concluded
	// +kubebuilder:validation:Optional
	EndTime *metav1.Time `json:"endTime,omitempty" protobuf:"bytes,2,opt,name=endTime"`
	// The number of models pending training
	// +kubebuilder:validation:Optional
	Waiting int32 `json:"waiting,omitempty" protobuf:"varint,3,opt,name=waiting"`
	// The number of models currently being trained
	// +kubebuilder:validation:Optional
	Running int32 `json:"running,omitempty" protobuf:"varint,4,opt,name=running"`
	// The number of models that experienced an error whilst training
	// +kubebuilder:validation:Optional
	Failed int32 `json:"failed,omitempty" protobuf:"varint,5,opt,name=failed"`
	// The number of models that have been successfully trained
	// +kubebuilder:validation:Optional
	Completed int32 `json:"completed,omitempty" protobuf:"varint,6,opt,name=completed"`
	// Best score so far in this phase. The best score is the value of the objective.
	// +kubebuilder:validation:Optional
	BestScore float64 `json:"bestScore,omitempty" protobuf:"varint,7,opt,name=bestScore"`
	// Actual number of models where no progress was made. This used to decide on early stop.
	// +kubebuilder:validation:Optional
	ModelsWithNoProgress int32 `json:"modelsWithNoProgress,omitempty" protobuf:"varint,8,opt,name=modelsWithNoProgress"`
}

StudyPhaseStatus contains the statistics for a single phase of a Study

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 {
	// Indicates if the schedule is enabled
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" protobuf:"varint,1,opt,name=enabled"`
	// The time at which the ModelClass will begin execution
	// +kubebuilder:validation:Optional
	StartAt *metav1.Time `json:"startAt,omitempty" protobuf:"bytes,2,opt,name=startAt"`
}

ModelClassScheduleSpec specifies the parameters for a ModelClass to be executed at a certain 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 {
	// The name of the DataProductVersion which describes the version of the resource
	// that exists in the same DataProduct namespace as the resource
	// +kubebuilder:validation:MaxLength=63
	// +kubebuilder:default:=""
	// +kubebuilder:validation:Optional
	VersionName *string `json:"versionName" protobuf:"bytes,1,opt,name=versionName"`
	// The user-provided description of the Study
	// +kubebuilder:default:=""
	// +kubebuilder:validation:MaxLength=512
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" protobuf:"bytes,2,opt,name=description"`
	// The reference to the Lab under which the Model resources created by the Study will be trained.
	// If unspecified, the default Lab from the parent DataProduct will be used
	// +kubebuilder:validation:Optional
	LabRef v1.ObjectReference `json:"labRef,omitempty" protobuf:"bytes,3,opt,name=labRef"`
	// The name of the Entity resource that will be used to train models with.
	// The dataset will be split into individual training, testing, and validation datasets
	// +kubebuilder:validation:Required
	// +required
	DatasetName *string `json:"datasetName" protobuf:"bytes,4,opt,name=datasetName"`
	// The machine learning task type (i.e. regression, classification)
	// +kubebuilder:validation:Required
	// +required
	Task *catalog.MLTask `json:"task" protobuf:"bytes,5,opt,name=task"`
	// The machine learning subtask relevant to the primary task (text classification, image object detection, etc.)
	// +kubebuilder:default:=none
	// +kubebuilder:validation:Optional
	SubTask *catalog.MLSubtask `json:"subtask" protobuf:"bytes,6,opt,name=subtask"`
	// FeatureEngineeringSearch specifies the parameters to perform a feature engineering search
	// +kubebuilder:validation:Optional
	FeatureEngineeringSearch FeatureEngineeringSearchSpec `json:"feSearch,omitempty" protobuf:"bytes,7,opt,name=feSearch"`
	// Set the imbalance dataset handling.
	// +kubebuilder:validation:Optional
	ImbalanceHandler ImbalanceHandlingSpec `json:"imbalanceHandler,omitempty" protobuf:"bytes,8,opt,name=imbalanceHandler"`
	// Baseline specifies the parameters to generate baseline (default hyper-parameters) models
	// +kubebuilder:validation:Optional
	Baseline BaselineSpec `json:"baseline,omitempty" protobuf:"bytes,9,opt,name=baseline"`
	// Search specifies the configuration to perform the model search for the best algorithm and hyper-parameters
	// +kubebuilder:validation:Optional
	Search SearchSpec `json:"search,omitempty" protobuf:"bytes,10,opt,name=search"`
	// Ensembles specifies to parameters to generate ensemble models
	// +kubebuilder:validation:Optional
	Ensembles EnsemblesSpec `json:"ensembles,omitempty" protobuf:"bytes,11,opt,name=ensembles"`
	// TrainingTemplate specifies the configuration to train and evaluate models
	// +kubebuilder:validation:Optional
	TrainingTemplate TrainingSpec `json:"trainingTemplate,omitempty" protobuf:"bytes,12,opt,name=trainingTemplate"`
	// ServingTemplate specifies the model format and resource requirements that will be applied to
	// the Predictor created for the Model that will be selected by the Study
	// +kubebuilder:validation:Optional
	ServingTemplate ServingSpec `json:"servingTemplate,omitempty" protobuf:"bytes,13,opt,name=servingTemplate"`
	// ForecastSpec specifies the parameters required when generating a forecasting model
	// +kubebuilder:validation:Optional
	FctTemplate ForecasterSpec `json:"fctTemplate,omitempty" protobuf:"bytes,14,opt,name=fctTemplate"`
	// Schedule specifies the configuration to execute the Study at a later date
	// +kubebuilder:validation:Optional
	Schedule StudyScheduleSpec `json:"schedule,omitempty" protobuf:"bytes,15,opt,name=schedule"`
	// Interpretability specifies the parameters to create interpretability visualizations for the final model
	// +kubebuilder:validation:Optional
	Interpretability InterpretabilitySpec `json:"interpretability,omitempty" protobuf:"bytes,16,opt,name=interpretability"`
	// +kubebuilder:validation:Optional
	DriftDetector DriftModelSpec `json:"driftDetection,omitempty" protobuf:"bytes,17,opt,name=driftDetection"`
	// Aborted indicates that the execution of the Study and associated Models should be permanently stopped
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Aborted *bool `json:"aborted,omitempty" protobuf:"varint,18,opt,name=aborted"`
	// Reported indicates that a report will be generated for the Study
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	Reported *bool `json:"reported,omitempty" protobuf:"varint,19,opt,name=reported"`
	// Paused indicates that the execution of new workloads associated with the Study should be paused
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Paused *bool `json:"paused,omitempty" protobuf:"varint,20,opt,name=paused"`
	// Profiled indicates that the Study will be profiled after the conclusion of it's model search
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	Profiled *bool `json:"profiled,omitempty" protobuf:"varint,21,opt,name=profiled"`
	// ModelPublished indicates that a Docker image will be created containing the best model produced by the Study
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	ModelPublished *bool `json:"modelPublished,omitempty" protobuf:"varint,22,opt,name=modelPublished"`
	// ModelImagePushed indicates that if a Docker image of the best model will be pushed to a Docker image registry
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	ModelImagePushed *bool `json:"modelImagePushed,omitempty" protobuf:"varint,23,opt,name=modelImagePushed"`
	// ModelExplained indicates if interpretability diagrams, as specified
	// by the Interpretability field, will be produced for the final model
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	ModelExplained *bool `json:"modelExplained,omitempty" protobuf:"varint,24,opt,name=modelExplained"`
	// Fast indicates if Models associated with the Study should skip profiling, explaining, and reporting
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Fast *bool `json:"fast,omitempty" protobuf:"varint,25,opt,name=fast"`
	// The data location where Study artifacts (metadata, reports, and model artifacts) generated by the Study will be stored
	// +kubebuilder:validation:Optional
	Location data.DataLocation `json:"location,omitempty" protobuf:"bytes,26,opt,name=location"`
	// The name of the Account which created the object, which exists in the same tenant as the object
	// +kubebuilder:default:="no-one"
	// +kubebuilder:validation:Optional
	Owner *string `json:"owner,omitempty" protobuf:"bytes,27,opt,name=owner"`
	// CompilerSpec specifies the configuration to compile the best-selected model to a binary (currently unimplemented)
	//+kubebuilder:validation:Optional
	Compilation catalog.CompilerSpec `json:"compilation,omitempty" protobuf:"bytes,28,opt,name=compilation"`
	// Indicates if the Study is a template, in which case it will not be executed
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Template *bool `json:"template,omitempty" protobuf:"varint,29,opt,name=template"`
	// Indicates if the Study is flagged
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Flagged *bool `json:"flagged,omitempty" protobuf:"varint,30,opt,name=flagged"`
	// The notification specification that determines which notifiers will receive Alerts generated by the object
	//+kubebuilder:validation:Optional
	Notification catalog.NotificationSpec `json:"notification,omitempty" protobuf:"bytes,31,opt,name=notification"`
	// ModelImage specifies the configuration to upload Docker images of models to an image registry
	//+kubebuilder:validation:Optional
	ModelImage ModelImageSpec `json:"modelImage,omitempty" protobuf:"bytes,32,opt,name=modelImage"`
	// GarbageCollectionSpec specifies the configuration to automatically clean-up unused models
	//+kubebuilder:validation:Optional
	GC GarbageCollectionSpec `json:"gc,omitempty" protobuf:"bytes,33,opt,name=gc"`
	// The time-to-live, in seconds, for Model resources produced by the Study
	// +kubebuilder:default:=0
	// +kubebuilder:validation:Optional
	TTL *int32 `json:"ttl,omitempty" protobuf:"varint,34,opt,name=ttl"`
	// ModelVersion specifies the version assigned to all the Model resources produced by the Study
	// +kubebuilder:default:=""
	// +kubebuilder:validation:Optional
	ModelVersion *string `json:"modelVersion,omitempty" protobuf:"bytes,35,opt,name=modelVersion"`
	// The time, in seconds, after which the execution of the Study will be forcefully aborted (4 hours, by default)
	// +kubebuilder:default:= 14400
	// +kubebuilder:validation:Optional
	TimeoutInSecs *int32 `json:"timeoutInSecs,omitempty" protobuf:"varint,36,opt,name=timeoutInSecs"`
	// Not implemented. For future use. If true,generate code when the best model
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	CodeGenerated *bool `json:"codeGenerated,omitempty" protobuf:"varint,37,opt,name=codeGenerated"`
	// A template for models unit tests
	// +kubebuilder:validation:Optional
	UnitTestsTemplate catalog.TestSuite `json:"unitTestsTemplate,omitempty" protobuf:"bytes,38,opt,name=unitTestsTemplate"`
	// In case of a group by, those are the group locations
	// +kubebuilder:validation:Optional
	GroupLocations GroupSplitLocationsSpec `json:"groupLocations,omitempty" protobuf:"bytes,39,opt,name=groupLocations"`
}

StudySpec defines the desired state of a Study and the parameters for a model search

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"`
	// StartTime represents the time at which the execution of the Study started
	// +kubebuilder:validation:Optional
	StartTime *metav1.Time `json:"startTime,omitempty" protobuf:"bytes,2,opt,name=startTime"`
	// EndTime represents the time at which the Study was marked as completed, failed, or aborted
	// +kubebuilder:validation:Optional
	EndTime *metav1.Time `json:"endTime,omitempty" protobuf:"bytes,3,opt,name=endTime"`
	// The name of the Model resource which was determined to be the highest-performing
	// +kubebuilder:validation:Optional
	BestModel string `json:"bestModel,omitempty" protobuf:"bytes,4,opt,name=bestModel"`
	// The score of the Model resource which was determined to be the highest-performing
	// +kubebuilder:validation:Optional
	BestModelScore float64 `json:"bestModelScore,omitempty" protobuf:"bytes,5,opt,name=bestModelScore"`
	// The URI of the raw profile data produced by the Study
	// +kubebuilder:validation:Optional
	ProfileUri string `json:"profileUri" protobuf:"bytes,6,opt,name=profileUri"`
	// The name of the Report resource produced by the Study
	// +kubebuilder:validation:Optional
	ReportUri string `json:"reportUri,omitempty" protobuf:"bytes,7,opt,name=reportUri"`
	// Reference to the report object that was generated for the dataset, which exists in the same Data Product namespace
	// as the object
	// +kubebuilder:validation:Optional
	ReportName string `json:"reportName,omitempty" protobuf:"bytes,8,opt,name=reportName"`
	// The phase of the Study
	// +kubebuilder:default:="Pending"
	// +kubebuilder:validation:Optional
	Phase StudyPhase `json:"phase" protobuf:"bytes,9,opt,name=phase"`
	// ObservedGeneration is the last generation that was acted on
	//+kubebuilder:validation:Optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,10,opt,name=observedGeneration"`
	// TrainDatasetLocation specifies the location of the training dataset
	// +kubebuilder:validation:Optional
	TrainDatasetLocation data.DataLocation `json:"trainDataset,omitempty" protobuf:"bytes,11,opt,name=trainDataset"`
	// TestDatasetLocation specifies the location of the testing dataset
	// +kubebuilder:validation:Optional
	TestDatasetLocation data.DataLocation `json:"testDataset,omitempty" protobuf:"bytes,12,opt,name=testDataset"`
	// ValidationDataset specifies the location of the validation dataset
	// +kubebuilder:validation:Optional
	ValidationDataset data.DataLocation `json:"validationDataset,omitempty" protobuf:"bytes,13,opt,name=validationDataset"`
	// The Kubernetes-internal ID of the last Model resource generated by the Study
	LastModelID *int64 `json:"lastModelID,omitempty" protobuf:"varint,14,opt,name=lastModelID"`
	// In the case of failure, the Study resource controller will set this field with a failure reason
	//+kubebuilder:validation:Optional
	FailureReason *catalog.StatusError `json:"failureReason,omitempty" protobuf:"bytes,15,opt,name=failureReason"`
	// In the case of failure, the Study resource controller will set this field with a failure message
	//+kubebuilder:validation:Optional
	FailureMessage *string `json:"failureMessage,omitempty" protobuf:"bytes,16,opt,name=failureMessage"`
	// The number of rows in the training dataset
	// +kubebuilder:validation:Optional
	TrainingRows int32 `json:"trainingRows" protobuf:"varint,17,opt,name=trainingRows"`
	// The number of rows in the testing dataset
	// +kubebuilder:validation:Optional
	TestingRows int32 `json:"testingRows" protobuf:"varint,18,opt,name=testingRows"`
	// The number of rows in the validation dataset
	// +kubebuilder:validation:Optional
	ValidationRows int32 `json:"validationRows" protobuf:"varint,19,opt,name=validationRows"`
	// The progress percentage of the Study, which is derived from the Study's current phase
	// +kubebuilder:validation:Optional
	Progress int32 `json:"progress" protobuf:"varint,20,opt,name=progress"`
	// Sha 256 of the data sig
	// +kubebuilder:validation:Optional
	// TrainingDataHash specifies the hashes for datasets used by the Study
	//+kubebuilder:validation:Optional
	TrainingDataHash DataHashes `json:"trainingDataHash,omitempty" protobuf:"bytes,22,opt,name=trainingDataHash"`
	// The type of trigger which started the Study
	//+kubebuilder:validation:Optional
	TriggeredBy catalog.TriggerType `json:"triggeredBy,omitempty" protobuf:"bytes,23,opt,name=triggeredBy"`
	// Logs specifies the location of logs produced by workloads associated with the Study
	//+kubebuilder:validation:Optional
	Logs catalog.Logs `json:"logs,,omitempty" protobuf:"bytes,24,opt,name=logs"`
	// FeatureEngineeringStatus contains the status of the feature engineering phase
	//+kubebuilder:validation:Optional
	FeatureEngineeringStatus StudyPhaseStatus `json:"featureEngineering,,omitempty" protobuf:"bytes,25,opt,name=featureEngineering"`
	// BaselineStatus contains the status of the baseline phase
	//+kubebuilder:validation:Optional
	BaselineStatus StudyPhaseStatus `json:"baseline,omitempty" protobuf:"bytes,26,opt,name=baseline"`
	// SearchStatus contains the status of the model search phase
	//+kubebuilder:validation:Optional
	SearchStatus StudyPhaseStatus `json:"search,omitempty" protobuf:"bytes,27,opt,name=search"`
	// EnsembleStatus contains the status of the ensemble phase
	//+kubebuilder:validation:Optional
	EnsembleStatus StudyPhaseStatus `json:"ensemble,omitempty" protobuf:"bytes,28,opt,name=ensemble"`
	// TestStatus contains the status of the testing phase
	//+kubebuilder:validation:Optional
	TestStatus StudyPhaseStatus `json:"test,omitempty" protobuf:"bytes,29,opt,name=test"`
	// ExplainStatus contains the status of the explaining phase
	//+kubebuilder:validation:Optional
	ExplainStatus StudyPhaseStatus `json:"explain,omitempty" protobuf:"bytes,30,opt,name=explain"`
	// OutlierDetection is the status for outlier detection
	//+kubebuilder:validation:Optional
	DriftDetection DriftDetectorStatus `json:"driftDetection,omitempty" protobuf:"bytes,31,opt,name=driftDetection"`
	// The last time the object was updated
	//+kubebuilder:validation:Optional
	LastUpdated *metav1.Time `json:"lastUpdated,omitempty" protobuf:"bytes,32,opt,name=lastUpdated"`
	// BestFE specifies the best feature engineering pipeline produced by the Study
	//+kubebuilder:validation:Optional
	BestFE *FeatureEngineeringSpec `json:"bestFE,omitempty" protobuf:"bytes,33,opt,name=bestFE"`
	// GC specifies the status of garbage collection relevant to the Study
	GC GarbageCollectionStatus `json:"gc,omitempty" protobuf:"bytes,34,opt,name=gc"`
	// Study group by
	Groupby StudyGroupByStatus `json:"groupby,omitempty" protobuf:"bytes,35,opt,name=groupby"`
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions []StudyCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,36,rep,name=conditions"`
}

StudyStatus defines the observed state of a 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 {
	// Minimum number of reported trials.
	// +kubebuilder:default:=1
	// +kubebuilder:validation:Optional
	MinResources *int32 `json:"minResources,omitempty" protobuf:"varint,1,opt,name=minResources"`
	// A parameter for specifying reduction factor of promotable trials
	// +kubebuilder:default:=4
	// +kubebuilder:validation:Optional
	ReductionFactor *int32 `json:"reductionFactor,omitempty" protobuf:"varint,2,opt,name=reductionFactor"`
	// A parameter for specifying the minimum early-stopping rate
	// +kubebuilder:default:=0
	// +kubebuilder:validation:Optional
	MinEarlyStoppingRate *int32 `json:"minEarlyStoppingRate,omitempty" protobuf:"varint,3,opt,name=minEarlyStoppingRate"`
	// Minimum number of trials that need to complete a rung before any trial is considered for promotion into the next rung.
	// +kubebuilder:default:=0
	// +kubebuilder:validation:Optional
	BootstrapCount *int32 `json:"bootstrapCount,omitempty" protobuf:"varint,4,opt,name=bootstrapCount"`
}

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 to be used in a multi-fidelity search, for example the number of epochs
	// or the percentage of data to train the model with
	// +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
	// +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 the model
	// +kubebuilder:validation:Optional
	ConfID *int32 `json:"confID,omitempty" protobuf:"varint,4,opt,name=confID"`
	// The type of modality, based on the type of model
	// For classical models, it should be based on data percentage
	// For deep models, it should be based on epochs
	// +kubebuilder:validation:Optional
	Modality *catalog.ModalityType `json:"modality,omitempty" protobuf:"bytes,26,opt,name=modality"`
}

SuccessiveHalvingSpec records the position of a single model in a successive halving search

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"`
	// The text tokenizer character
	// +kubebuilder:validation:Optional
	Tokenizer *string `json:"tokenizer,omitempty" protobuf:"bytes,2,opt,name=tokenizer"`
	// Indicates if the pipeline will add stop word handling
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	StopWords *bool `json:"stopwords,omitempty" protobuf:"varint,3,opt,name=stopwords"`
	// Indicates if the pipeline will add part-of-speech handling
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	Pos *bool `json:"pos,omitempty" protobuf:"varint,4,opt,name=pos"`
	// Indicates if the pipeline will implement lemmatization
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	Lemma *bool `json:"lemma,omitempty" protobuf:"varint,5,opt,name=lemma"`
	// Indicates if the pipeline will implement word stemming
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	Stem *bool `json:"stem,omitempty" protobuf:"varint,6,opt,name=stem"`
	// Indicates if the pipeline will generate a word embedding
	// +kubebuilder:validation:Optional
	Embedding *string `json:"embedding,omitempty" protobuf:"bytes,7,opt,name=embedding"`
	// Indicates if the pipeline will add singular value decomposition
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	Svd *bool `json:"svd,omitempty" protobuf:"varint,8,opt,name=svd"`
	// The maximum number of SVD components to use, if applicable
	// +kubebuilder:default:=0
	// +kubebuilder:validation:Optional
	MaxSvdComponents *int32 `json:"maxSvdComponents,omitempty" protobuf:"varint,9,opt,name=maxSvdComponents"`
}

TextPipelineSpec represents a single pipeline for transforming text data

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 ThresholdPrunerOptions added in v0.4.773

type ThresholdPrunerOptions struct {
	// A minimum value which determines whether pruner prunes or not. If an intermediate value is smaller than lower, it prunes.
	// +kubebuilder:default:=0
	// +kubebuilder:validation:Optional
	Lower *float64 `json:"lower,omitempty" protobuf:"bytes,1,opt,name=lower"`
	// A maximum value which determines whether pruner prunes or not. If an intermediate value is larger than upper, it prunes.
	// +kubebuilder:default:=0
	// +kubebuilder:validation:Optional
	Upper *float64 `json:"upper,omitempty" protobuf:"bytes,2,opt,name=upper"`
	//  Pruning is disabled until the trial exceeds the given number of step
	// +kubebuilder:default:=0
	// +kubebuilder:validation:Optional
	WarmupSteps *int32 `json:"warmupSteps,omitempty" protobuf:"varint,3,opt,name=warmupSteps"`
	// Interval in number of steps between the pruning checks
	// +kubebuilder:default:=1
	// +kubebuilder:validation:Optional
	IntervalSteps *int32 `json:"intervalSteps,omitempty" protobuf:"varint,4,opt,name=intervalSteps"`
}

func (*ThresholdPrunerOptions) DeepCopy added in v0.4.773

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

func (*ThresholdPrunerOptions) DeepCopyInto added in v0.4.773

func (in *ThresholdPrunerOptions) DeepCopyInto(out *ThresholdPrunerOptions)

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

func (*ThresholdPrunerOptions) Descriptor added in v0.4.773

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

func (*ThresholdPrunerOptions) Marshal added in v0.4.773

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

func (*ThresholdPrunerOptions) MarshalTo added in v0.4.773

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

func (*ThresholdPrunerOptions) MarshalToSizedBuffer added in v0.4.773

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

func (*ThresholdPrunerOptions) ProtoMessage added in v0.4.773

func (*ThresholdPrunerOptions) ProtoMessage()

func (*ThresholdPrunerOptions) Reset added in v0.4.773

func (m *ThresholdPrunerOptions) Reset()

func (*ThresholdPrunerOptions) Size added in v0.4.773

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

func (*ThresholdPrunerOptions) String added in v0.4.773

func (this *ThresholdPrunerOptions) String() string

func (*ThresholdPrunerOptions) Unmarshal added in v0.4.773

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

func (*ThresholdPrunerOptions) XXX_DiscardUnknown added in v0.4.773

func (m *ThresholdPrunerOptions) XXX_DiscardUnknown()

func (*ThresholdPrunerOptions) XXX_Marshal added in v0.4.773

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

func (*ThresholdPrunerOptions) XXX_Merge added in v0.4.773

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

func (*ThresholdPrunerOptions) XXX_Size added in v0.4.773

func (m *ThresholdPrunerOptions) XXX_Size() int

func (*ThresholdPrunerOptions) XXX_Unmarshal added in v0.4.773

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

type TimeSeriesEvent added in v0.5.140

type TimeSeriesEvent struct {
	// Set to true if this event is an holiday
	// +kubebuilder:validation:Optional
	Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`
	// Set to true if this event is an holiday
	// +kubebuilder:validation:Optional
	Method string `json:"method,omitempty" protobuf:"bytes,2,opt,name=method"`
	// Set to true if this event is an holiday
	// +kubebuilder:validation:Optional
	Holiday *bool `json:"holiday,omitempty" protobuf:"bytes,3,opt,name=holiday"`
	// If this event is an holiday, this is the holiday country
	// +kubebuilder:validation:Optional
	Country catalog.HolidayCountry `json:"country,omitempty" protobuf:"bytes,4,opt,name=country"`
	// Pre event window, that might have event effects
	// +kubebuilder:validation:Optional
	PreEvent *int32 `json:"preEvent,omitempty" protobuf:"bytes,5,opt,name=preEvent"`
	// Post event windows the might have event effects.
	// +kubebuilder:validation:Optional
	PostEvent *int32 `json:"postEvent,omitempty" protobuf:"bytes,6,opt,name=postEvent"`
	// The time points to mark the events
	// +kubebuilder:validation:Optional
	TimePoints []string `json:"timePoints,omitempty" protobuf:"bytes,7,opt,name=timePoints"`
}

func (*TimeSeriesEvent) DeepCopy added in v0.5.140

func (in *TimeSeriesEvent) DeepCopy() *TimeSeriesEvent

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

func (*TimeSeriesEvent) DeepCopyInto added in v0.5.140

func (in *TimeSeriesEvent) DeepCopyInto(out *TimeSeriesEvent)

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

func (*TimeSeriesEvent) Descriptor added in v0.5.140

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

func (*TimeSeriesEvent) Marshal added in v0.5.140

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

func (*TimeSeriesEvent) MarshalTo added in v0.5.140

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

func (*TimeSeriesEvent) MarshalToSizedBuffer added in v0.5.140

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

func (*TimeSeriesEvent) ProtoMessage added in v0.5.140

func (*TimeSeriesEvent) ProtoMessage()

func (*TimeSeriesEvent) Reset added in v0.5.140

func (m *TimeSeriesEvent) Reset()

func (*TimeSeriesEvent) Size added in v0.5.140

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

func (*TimeSeriesEvent) String added in v0.5.140

func (this *TimeSeriesEvent) String() string

func (*TimeSeriesEvent) Unmarshal added in v0.5.140

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

func (*TimeSeriesEvent) XXX_DiscardUnknown added in v0.5.140

func (m *TimeSeriesEvent) XXX_DiscardUnknown()

func (*TimeSeriesEvent) XXX_Marshal added in v0.5.140

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

func (*TimeSeriesEvent) XXX_Merge added in v0.5.140

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

func (*TimeSeriesEvent) XXX_Size added in v0.5.140

func (m *TimeSeriesEvent) XXX_Size() int

func (*TimeSeriesEvent) XXX_Unmarshal added in v0.5.140

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

type TrainingSpec

type TrainingSpec struct {
	// The reference to the Lab under which the model training Job will be created
	LabRef v1.ObjectReference `json:"labRef,omitempty" protobuf:"bytes,1,opt,name=labRef"`
	// The priority of the Kubernetes Job created by the Model (medium, by default)
	// +kubebuilder:validation:Optional
	// +kubebuilder:default:="medium"
	Priority *catalog.PriorityLevel `json:"priority,omitempty" protobuf:"bytes,2,opt,name=priority"`
	// The type of cross-validation to use, in the case that a validation dataset is not enabled
	// +kubebuilder:default:=kfold
	// +kubebuilder:validation:Optional
	CvType *catalog.CvType `json:"cvtype,omitempty" protobuf:"bytes,3,opt,name=cvtype"`
	// Indicates if cross-validation should be used to score models
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	CV *bool `json:"cv,omitempty" protobuf:"varint,4,opt,name=cV"`
	// The number of folds to use during cross-validation
	// +kubebuilder:default:=5
	// +kubebuilder:validation:Optional
	Folds *int32 `json:"folds,omitempty" protobuf:"varint,5,opt,name=folds"`
	// Split specifies the configuration to generate training, testing, and validation datasets
	// +kubebuilder:validation:Optional
	Split DataSplitSpec `json:"split,omitempty" protobuf:"bytes,6,opt,name=split"`
	// EvalMetrics specifies the collection of metrics that will be evaluated after model training is complete
	// +kubebuilder:validation:Optional
	EvalMetrics []catalog.Metric `json:"evalMetrics,omitempty" protobuf:"bytes,7,rep,name=evalMetrics"`
	// SuccessiveHalving specifies the configuration for a Study to execute a model search using successive halving
	// +kubebuilder:validation:Optional
	SH *SuccessiveHalvingSpec `json:"sh,omitempty" protobuf:"bytes,10,opt,name=sh"`
	// The random state used for the model's estimator, if applicable (for example, in RandomForestClassifier)
	// +kubebuilder:default:=42
	// +kubebuilder:validation:Optional
	Seed *float64 `json:"seed,omitempty" protobuf:"bytes,11,opt,name=seed"`
	// Resources specifies the resource requirements allocated to the model training workload
	// +kubebuilder:validation:Optional
	Resources catalog.ResourceSpec `json:"resources,omitempty" protobuf:"bytes,12,opt,name=resources"`
	// Indicates if a GPU will be allocated for model training
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Gpu *bool `json:"gpu,omitempty" protobuf:"varint,13,opt,name=gpu"`
	// Indicates if model training will be distributed across multiple nodes (currently unimplemented)
	// +kubebuilder:default:=false
	// +kubebuilder:validation:Optional
	Distributed *bool `json:"distributed,omitempty" protobuf:"varint,14,opt,name=distributed"`
	// Indicates if feature importance for the model will be computed as part of training. Some algorithms
	// (e.g. Random Forest) have built in support for feature importance
	// +kubebuilder:default:=true
	// +kubebuilder:validation:Optional
	FeatureImportance *bool `json:"featureImportance,omitempty" protobuf:"varint,15,opt,name=featureImportance"`
	// The number of nodes to use, in the case of distributed training
	// +kubebuilder:default:=1
	// +kubebuilder:validation:Optional
	NodeCount *int32 `json:"nodeCount,omitempty" protobuf:"varint,16,opt,name=nodeCount"`
	// The number percentage (0 through 100) of rows to be used during training
	// +kubebuilder:default:=100
	// +kubebuilder:validation:Optional
	SamplePct *int32 `json:"samplePct,omitempty" protobuf:"varint,17,opt,name=samplePct"`
	// Checkpoint specifies the location to store model checkpoints
	// +kubebuilder:validation:Optional
	Checkpoint CheckpointSpec `json:"checkpoint,omitempty" protobuf:"bytes,18,opt,name=checkpoint"`
	// The maximum log level for logs produced by Jobs associated with the Model
	// +kubebuilder:default:=info
	// +kubebuilder:validation:Optional
	LogLevel *catalog.LogLevel `json:"logLevel,omitempty" protobuf:"bytes,19,opt,name=logLevel"`
	// The maximum time, in seconds, that Jobs associated with the Model can run for before being forcefully cancelled.
	// +kubebuilder:default:=600
	// +kubebuilder:validation:Optional
	TimeoutInSecs *int32 `json:"timeoutInSecs,omitempty" protobuf:"varint,20,opt,name=timeoutInSecs"`
}

TrainingSpec specifies the configuration of a model training workload

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"`
}

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
	UnitTests ModelTestSuite `json:"unitTests,omitempty" protobuf:"bytes,3,opt,name=unitTests"`
	// 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 UnivariateForecastStatus added in v0.5.140

type UnivariateForecastStatus struct {
	// URI for the grid search result
	// +kubebuilder:validation:Optional
	GridSearchResultURI string `json:"gridSearchResultURI,omitempty" protobuf:"bytes,1,opt,name=gridSearchResultURI"`
	// The best estimator
	// +kubebuilder:validation:Optional
	BestEstimator ClassicalEstimatorSpec `json:"baseEstimator,omitempty" protobuf:"bytes,2,opt,name=baseEstimator"`
	// URI of the model
	// +kubebuilder:validation:Optional
	ModelURI string `json:"modelURI,omitempty" protobuf:"bytes,3,opt,name=modelURI"`
	// URI of the backtest result
	// +kubebuilder:validation:Optional
	CVResultURI string `json:"cvResultURI,omitempty" protobuf:"bytes,4,opt,name=cvResultURI"`
	// URI to the actual forecast
	// +kubebuilder:validation:Optional
	ForecastURI string `json:"forecastURI,omitempty" protobuf:"bytes,5,opt,name=forecastURI"`
}

func (*UnivariateForecastStatus) DeepCopy added in v0.5.140

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

func (*UnivariateForecastStatus) DeepCopyInto added in v0.5.140

func (in *UnivariateForecastStatus) DeepCopyInto(out *UnivariateForecastStatus)

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

func (*UnivariateForecastStatus) Descriptor added in v0.5.140

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

func (*UnivariateForecastStatus) Marshal added in v0.5.140

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

func (*UnivariateForecastStatus) MarshalTo added in v0.5.140

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

func (*UnivariateForecastStatus) MarshalToSizedBuffer added in v0.5.140

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

func (*UnivariateForecastStatus) ProtoMessage added in v0.5.140

func (*UnivariateForecastStatus) ProtoMessage()

func (*UnivariateForecastStatus) Reset added in v0.5.140

func (m *UnivariateForecastStatus) Reset()

func (*UnivariateForecastStatus) Size added in v0.5.140

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

func (*UnivariateForecastStatus) String added in v0.5.140

func (this *UnivariateForecastStatus) String() string

func (*UnivariateForecastStatus) Unmarshal added in v0.5.140

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

func (*UnivariateForecastStatus) XXX_DiscardUnknown added in v0.5.140

func (m *UnivariateForecastStatus) XXX_DiscardUnknown()

func (*UnivariateForecastStatus) XXX_Marshal added in v0.5.140

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

func (*UnivariateForecastStatus) XXX_Merge added in v0.5.140

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

func (*UnivariateForecastStatus) XXX_Size added in v0.5.140

func (m *UnivariateForecastStatus) XXX_Size() int

func (*UnivariateForecastStatus) XXX_Unmarshal added in v0.5.140

func (m *UnivariateForecastStatus) 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 represents a single pipeline 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

type WindowSpec added in v0.5.120

type WindowSpec 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. If the start is more than 0, there is a gap.
	// +kubebuilder:default:=0
	// +kubebuilder:validation:Optional
	Start *int32 `json:"start,omitempty" protobuf:"varint,2,opt,name=start"`
	// The window length
	// +kubebuilder:validation:Optional
	Length *int32 `json:"length,omitempty" protobuf:"varint,3,opt,name=length"`
}

Define a window on the time series.

func (*WindowSpec) DeepCopy added in v0.5.120

func (in *WindowSpec) DeepCopy() *WindowSpec

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

func (*WindowSpec) DeepCopyInto added in v0.5.120

func (in *WindowSpec) DeepCopyInto(out *WindowSpec)

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

func (*WindowSpec) Descriptor added in v0.5.120

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

func (*WindowSpec) Marshal added in v0.5.120

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

func (*WindowSpec) MarshalTo added in v0.5.120

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

func (*WindowSpec) MarshalToSizedBuffer added in v0.5.120

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

func (*WindowSpec) ProtoMessage added in v0.5.120

func (*WindowSpec) ProtoMessage()

func (*WindowSpec) Reset added in v0.5.120

func (m *WindowSpec) Reset()

func (*WindowSpec) Size added in v0.5.120

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

func (*WindowSpec) String added in v0.5.120

func (this *WindowSpec) String() string

func (*WindowSpec) Unmarshal added in v0.5.120

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

func (*WindowSpec) XXX_DiscardUnknown added in v0.5.120

func (m *WindowSpec) XXX_DiscardUnknown()

func (*WindowSpec) XXX_Marshal added in v0.5.120

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

func (*WindowSpec) XXX_Merge added in v0.5.120

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

func (*WindowSpec) XXX_Size added in v0.5.120

func (m *WindowSpec) XXX_Size() int

func (*WindowSpec) XXX_Unmarshal added in v0.5.120

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

Jump to

Keyboard shortcuts

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