3 instantiations of RootCause
Microsoft.ML.TimeSeries (3)
RootCauseAnalyzer.cs (3)
56_preparedCauses.Add(new RootCause() { Items = new List<RootCauseItem>() }); 149_preparedCauses.Add(new RootCause { Items = new List<RootCauseItem>() { new RootCauseItem(anomalyDimension) } }); 155RootCause rootCause = new RootCause { Items = new List<RootCauseItem>() };
21 references to RootCause
Microsoft.ML.Samples (3)
Dynamic\Transforms\TimeSeries\LocalizeRootCause.cs (1)
23RootCause prediction = mlContext.AnomalyDetection.LocalizeRootCause(data);
Dynamic\Transforms\TimeSeries\LocalizeRootCauseMultidimension.cs (2)
24List<RootCause> prediction = mlContext.AnomalyDetection.LocalizeRootCauses(data); 28foreach (RootCause cause in prediction)
Microsoft.ML.TimeSeries (13)
ExtensionsCatalog.cs (5)
319/// Create <see cref="RootCause"/>, which localizes root causes using decision tree algorithm. 336public static RootCause LocalizeRootCause(this AnomalyDetectionCatalog catalog, RootCauseLocalizationInput src, double beta = 0.3, double rootCauseThreshold = 0.95) 338List<RootCause> causes = LocalizeRootCauses(catalog, src, beta, rootCauseThreshold); 351/// Outputs an ordered list of <see cref="RootCause"/>s. The order corresponds to which prepared cause is most likely to be the root cause. 365public static List<RootCause> LocalizeRootCauses(this AnomalyDetectionCatalog catalog, RootCauseLocalizationInput src, double beta = 0.5, double rootCauseThreshold = 0.95)
RootCauseAnalyzer.cs (8)
21private readonly List<RootCause> _preparedCauses; 28_preparedCauses = new List<RootCause>(); 31public RootCause Analyze() 36public List<RootCause> AnalyzePossibleCauses() 45private List<RootCause> AnalyzeOneLayer(RootCauseLocalizationInput src) 61foreach (var dst in _preparedCauses) 155RootCause rootCause = new RootCause { Items = new List<RootCauseItem>() }; 350private void GetRootCauseDirectionAndScore(Dictionary<Dictionary<string, Object>, TimeSeriesPoint> dimPointMapping, Dictionary<string, Object> anomalyRoot, RootCause dst, double beta, PointTree pointTree, AggregateType aggType, Object aggSymbol)
Microsoft.ML.TimeSeries.Tests (5)
TimeSeriesDirectApi.cs (5)
961RootCause rootCause = ml.AnomalyDetection.LocalizeRootCause(rootCauseLocalizationInput); 988List<RootCause> preparedCauses = ml.AnomalyDetection.LocalizeRootCauses(rootCauseLocalizationInput); 1038RootCause rootCause = ml.AnomalyDetection.LocalizeRootCause(rootCauseLocalizationInput); 1188RootCause rootCause = ml.AnomalyDetection.LocalizeRootCause(rootCauseLocalizationInput); 1222RootCause rootCause = ml.AnomalyDetection.LocalizeRootCause(rootCauseLocalizationInput);