generated from DanielAvdar/python-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
To expand our analysis capabilities, we want to introduce model comparison analysis in addition to existing segmentation and drift analysis.
Requirements:
- Support comparison of multiple sets of prediction data (no direct model interaction, only prediction data).
- Introduce two protocol classes:
- Prediction Calculation Protocol:
- Should be initialized with a DataFrame and a label column name.
- The
__call__method should accept two arguments:- a list of prediction Series (
pred-data) - an optional function for calculating pairwise error (defaulting to a standard metric if not provided)
- a list of prediction Series (
- The protocol should calculate pointwise error for each pred-data against the label, using the specified function.
- Plotting Protocol:
- Responsible for visualizing the comparison results between multiple predictions and the label.
- Prediction Calculation Protocol:
- Update the overall architecture to integrate these protocol classes and allow extensibility for new analysis types.
Expected Outcome:
- Specification of the two protocol classes, including their responsibilities and interface definitions.
- Updated architecture design or diagram showing how model comparison integrates with the existing pipeline and interacts with prediction data.
- Guidance for supporting multiple predictions and extensibility for future analysis modules.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels