You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
static void Main(string[] args)
{
var mlContext = new MLContext(0);
var rcaInputString = JsonConvert.DeserializeObject<RootCauseLocalizationInput>(jsonString);
var rcaInputLong = JsonConvert.DeserializeObject<RootCauseLocalizationInput>(jsonLong);
// one root cause item returned
var rcaString = mlContext.AnomalyDetection.LocalizeRootCause(rcaInputString).Items.OrderByDescending(e => e.Score).ToList();
// no root cause items returned
var rcaLong = mlContext.AnomalyDetection.LocalizeRootCause(rcaInputLong).Items.OrderByDescending(e => e.Score).ToList();
}
The text was updated successfully, but these errors were encountered:
… cause localization (#5354)
* fixed issues caused by equality
* revert coding style change
* add test cases for int, null dim value, add test case for different dim value type
* update coding style
ghost
locked as resolved and limited conversation to collaborators
Mar 18, 2022
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
System information
Issue
What did you do?
I called LocalizeRootCause with a RootCauseLocalizationInput that included an aggregation symbol and dimension values of type long.
What happened?
I got no root cause results. I get results when the dimension values are strings.
What did you expect?
I expected to get some results based on earlier prototypes using this dataset.
Source code / logs
Please paste or attach the code or logs or traces that would be helpful to diagnose the issue you are reporting.
Repro: RCARepro.zip
Below I have two different RootCauseLocalizationInputs as json strings
Returned no results
Returned results
The text was updated successfully, but these errors were encountered: