wallaroo.assays_v2.preview_result
This module features classes related to an assay v2 result that help with analysis and visualization for an interactive run.
This class implements the IAssayAnalysis interface that offers a number of methods for analyzing and visualizing assay results from an interactive run.
Attributes: - raw: The raw MLOpsPreviewResult object. - window_end: The end time of the window. - scores: The scores of the window. - summaries: The summaries of the window.
Initializes the PreviewResult object.
Create a chart showing the bins, values and scores of a preview result.
show_scores
will also label each bin with its final weighted (if specified) score.
Parameters
- show_scores: Whether to show the scores for each bin.
Compare basic stats between baseline and window.
Returns
A dataframe including stats, start and end times for the window against the baseline.
This class implements the IAssayAnalysisList interface that offers a number of methods for analyzing and visualizing a list of assay results from an interactive run.
Attributes: - parent_assay: The AssayV2 object that this result belongs to.
Initializes the PreviewResultList object.
Create a basic chart of the scores for each unique iopath of a PreviewResultList.
Parameters
- labels: Custom labels for each unique iopath. If provided, these labels will be used in chart titles instead of raw iopath values.
- selected_labels: Labels to filter which iopaths to chart. If provided, only iopaths with labels in this list will be charted.
- nth_x_tick: Controls the density of x ticks. Every nth x tick will be used for the chart.
Create a chart of the scores from a dataframe representation of a PreviewResultList.
Parameters
- title: The title of the chart.
- nth_x_tick: Controls the density of x ticks. Every nth x tick will be used for the chart.
- start: The start time of the chart. Both start and end have to be provided to be used.
- end: The end time of the chart. Both start and end have to be provided to be used.
Convert a PreviewResultList to a dataframe.
Returns
A dataframe representation of the list of preview results.
Convert a PreviewResultList to a full dataframe.
Returns
A dataframe representation of the list of preview results.
Inherited Members
- builtins.list
- clear
- copy
- append
- insert
- extend
- pop
- remove
- index
- count
- reverse
- sort