-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ODSC-61571 : Add RCF Implementation #934
Conversation
|
|
@@ -55,6 +55,7 @@ def __init__(self, config: AnomalyOperatorConfig, datasets: AnomalyDatasets): | |||
def generate_report(self): | |||
"""Generates the report.""" | |||
import matplotlib.pyplot as plt | |||
plt.rcParams.update({'figure.max_open_warning': 0}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great idea
# Set tree parameters | ||
num_trees = model_kwargs.get("num_trees", 200) | ||
shingle_size = model_kwargs.get("shingle_size", None) | ||
anamoly_threshold = model_kwargs.get("anamoly_threshold", 95) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be "anomaly_threshold" ?
figure_blocks.append(rc.Widget(ax)) | ||
|
||
blocks.append(rc.Group(*figure_blocks, label=target)) | ||
if target in anomaly_output.list_categories(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this a way to get rid of the "series 0" in the report?
Is there an edge case where the index column value is the same as the name of the target col?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are plotting for each series in the dataset, there may be edge cases where we don't have sufficient data for a particular series hence no anomaly scores, this ensures we try to plot only the series for which the anomaly scores are available.
|
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add this model to existing test cases ?
|
ODSC-61571 : Add RandomCutForest as an AD Operator model .