7 instantiations of MetricSlice
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.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);
1033
new
MetricSlice
(GetRootCauseTimestamp(), GetRootCauseLocalizationPoints(rootCauseAggSymbolForNullDimValue))
1183
new
MetricSlice
(GetRootCauseTimestamp(), GetRootCauseLocalizationPointsForIntDimValue())
1217
new
MetricSlice
(GetRootCauseTimestamp(), GetRootCauseLocalizationPointsForIntDimValue())
15 references to MetricSlice
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 (5)
ExtensionsCatalog.cs (1)
432
foreach (
MetricSlice
slice in src.Slices)
RootCauseAnalyzer.cs (1)
71
MetricSlice
slice = src.Slices.Single(slice => slice.TimeStamp.Equals(src.AnomalyTimestamp));
RootCauseLocalizationType.cs (3)
49
public List<
MetricSlice
> Slices { get; set; }
61
public RootCauseLocalizationInput(DateTime anomalyTimestamp, Dictionary<string, Object> anomalyDimension, List<
MetricSlice
> slices, AggregateType aggregateType, Object aggregateSymbol)
70
public RootCauseLocalizationInput(DateTime anomalyTimestamp, Dictionary<string, Object> anomalyDimension, List<
MetricSlice
> slices, Object aggregateSymbol)
Microsoft.ML.TimeSeries.Tests (8)
TimeSeriesDirectApi.cs (8)
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);
1031
List<
MetricSlice
> slice = new List<
MetricSlice
>
1181
List<
MetricSlice
> slice = new List<
MetricSlice
>
1215
List<
MetricSlice
> slice = new List<
MetricSlice
>