7 instantiations of RootCauseLocalizationInput
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);
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);
17 references to RootCauseLocalizationInput
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 (10)
ExtensionsCatalog.cs (5)
322
/// <param name="src">Root cause's input. The data is an instance of <see cref="Microsoft.ML.TimeSeries.
RootCauseLocalizationInput
"/>.</param>
336
public static RootCause LocalizeRootCause(this AnomalyDetectionCatalog catalog,
RootCauseLocalizationInput
src, double beta = 0.3, double rootCauseThreshold = 0.95)
354
/// <param name="src">Root cause's input. The data is an instance of <see cref="Microsoft.ML.TimeSeries.
RootCauseLocalizationInput
"/>.</param>
365
public static List<RootCause> LocalizeRootCauses(this AnomalyDetectionCatalog catalog,
RootCauseLocalizationInput
src, double beta = 0.5, double rootCauseThreshold = 0.95)
427
private static void CheckRootCauseInput(IHostEnvironment host,
RootCauseLocalizationInput
src)
RootCauseAnalyzer.cs (5)
18
private readonly
RootCauseLocalizationInput
_src;
23
public RootCauseAnalyzer(
RootCauseLocalizationInput
src, double beta, double rootCauseThreshold)
45
private List<RootCause> AnalyzeOneLayer(
RootCauseLocalizationInput
src)
69
protected List<TimeSeriesPoint> GetTotalPointsForAnomalyTimestamp(
RootCauseLocalizationInput
src)
94
private Tuple<PointTree, PointTree, Dictionary<Dictionary<string, object>, TimeSeriesPoint>> GetPointsInfo(
RootCauseLocalizationInput
src, DimensionInfo dimensionInfo)
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);