Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MAPE ¶
func MAPE(measurementDataSet map[int64]*MeasurementData, granularity int64) (float64, error)
func NewMeasurementDataSet ¶
func NewMeasurementDataSet(metricSamples []*datahub_common.Sample, predictSamples []*datahub_predictions.Sample, granularity int64) map[int64]*MeasurementData
func RMSE ¶ added in v0.9.166
func RMSE(measurementDataSet map[int64]*MeasurementData, metricType datahub_common.MetricType, granularity int64) (float64, error)
Types ¶
type MeasurementData ¶
type MeasurementData struct {
// contains filtered or unexported fields
}
func (MeasurementData) GetMetricData ¶
func (mData MeasurementData) GetMetricData() float64
func (MeasurementData) GetPredictData ¶
func (mData MeasurementData) GetPredictData() float64
Click to show internal directories.
Click to hide internal directories.