Documentation ¶
Index ¶
Constants ¶
View Source
const TargetKindNode = "Node"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlgorithmModelConfig ¶
type Config ¶
type Config struct { InitMode *ModelInitMode DSP *v1alpha1.DSP Percentile *v1alpha1.Percentile }
type ModelInitMode ¶ added in v0.5.0
type ModelInitMode string
const ( // means recover or init the algorithm model directly from history datasource, this process may block because it is time consuming for data fetching & model gen ModelInitModeHistory ModelInitMode = "history" // means recover or init the algorithm model from real time datasource async, predictor can not do predicting before the data is accumulating to window length // this is more safe to do some data accumulating and make the prediction data is robust. ModelInitModeLazyTraining ModelInitMode = "lazytraining" // means recover or init the model from a checkpoint, it can be restored directly and immediately to do predict. ModelInitModeCheckpoint ModelInitMode = "checkpoint" )
Click to show internal directories.
Click to hide internal directories.