18 references to AggregateType
Microsoft.ML.Samples (2)
Dynamic\Transforms\TimeSeries\LocalizeRootCause.cs (1)
20
var data = new RootCauseLocalizationInput(timestamp, GetAnomalyDimension(), new List<MetricSlice>() { new MetricSlice(timestamp, GetPoints()) },
AggregateType
.Sum, AGG_SYMBOL);
Dynamic\Transforms\TimeSeries\LocalizeRootCauseMultidimension.cs (1)
21
var data = new RootCauseLocalizationInput(timestamp, GetAnomalyDimension(), new List<MetricSlice>() { new MetricSlice(timestamp, GetTimeSeriesPoints()) },
AggregateType
.Sum, AGG_SYMBOL);
Microsoft.ML.TimeSeries (11)
RootCauseAnalyzer.cs (7)
350
private void GetRootCauseDirectionAndScore(Dictionary<Dictionary<string, Object>, TimeSeriesPoint> dimPointMapping, Dictionary<string, Object> anomalyRoot, RootCause dst, double beta, PointTree pointTree,
AggregateType
aggType, Object aggSymbol)
372
if (aggType.Equals(
AggregateType
.Max) || aggType.Equals(
AggregateType
.Min))
388
if (aggType.Equals(
AggregateType
.Max) || aggType.Equals(
AggregateType
.Min))
401
private TimeSeriesPoint GetPointByDimension(Dictionary<Dictionary<string, Object>, TimeSeriesPoint> dimPointMapping, Dictionary<string, Object> dimension, PointTree pointTree,
AggregateType
aggType, Object aggSymbol)
425
if (aggType.Equals(
AggregateType
.Avg))
RootCauseLocalizationType.cs (4)
52
/// The aggregated type, the type should be <see cref="TimeSeries.
AggregateType
"/>.
54
public
AggregateType
AggregateType { get; set; }
61
public RootCauseLocalizationInput(DateTime anomalyTimestamp, Dictionary<string, Object> anomalyDimension, List<MetricSlice> slices,
AggregateType
aggregateType, Object aggregateSymbol)
75
AggregateType =
AggregateType
.Unknown;
Microsoft.ML.TimeSeries.Tests (5)
TimeSeriesDirectApi.cs (5)
958
var rootCauseLocalizationInput = new RootCauseLocalizationInput(GetRootCauseTimestamp(), GetRootCauseAnomalyDimension("UK", _rootCauseAggSymbol), new List<MetricSlice>() { new MetricSlice(GetRootCauseTimestamp(), GetRootCauseLocalizationPoints(_rootCauseAggSymbol)) },
AggregateType
.Sum, _rootCauseAggSymbol);
985
var rootCauseLocalizationInput = new RootCauseLocalizationInput(GetRootCauseTimestamp(), GetRootCauseAnomalyDimension("UK", _rootCauseAggSymbol), new List<MetricSlice>() { new MetricSlice(GetRootCauseTimestamp(), GetRootCauseLocalizationPoints(_rootCauseAggSymbol)) },
AggregateType
.Sum, _rootCauseAggSymbol);
1035
var rootCauseLocalizationInput = new RootCauseLocalizationInput(GetRootCauseTimestamp(), GetRootCauseAnomalyDimension("UK", rootCauseAggSymbolForNullDimValue), slice,
AggregateType
.Sum, rootCauseAggSymbolForNullDimValue);
1185
var rootCauseLocalizationInput = new RootCauseLocalizationInput(GetRootCauseTimestamp(), GetRootCauseAnomalyDimension(10, _rootCauseAggSymbolForIntDimValue), slice,
AggregateType
.Sum, _rootCauseAggSymbolForIntDimValue);
1219
var rootCauseLocalizationInput = new RootCauseLocalizationInput(GetRootCauseTimestamp(), expectedDim, slice,
AggregateType
.Sum, _rootCauseAggSymbolForDiffDimValueType);