Full fidelity
When you use full fidelity mode, W&B breaks the x-axis into dynamic buckets based on the number of data points. It then calculates the minimum, maximum, and average values within each bucket while rendering a point aggregation for the line plot. There are three main advantages to using full fidelity mode for point aggregation:- Preserve extreme values and spikes: retain extreme values and spikes in your data
- Configure how minimum and maximum points render: use the W&B App to interactively decide whether you want to show extreme (min/max) values as a shaded area.
- Explore your data without losing data fidelity: W&B recalculates x-axis bucket sizes when you zoom into specific data points. This helps ensure that you can explore your data without losing accuracy. Caching is used to store previously computed aggregations to help reduce loading times which is particularly useful if you are navigating through large datasets.
Configure how minimum and maximum points render
Show or hide minimum and maximum values with shaded areas around your line plots. The proceeding image shows a blue line plot. The light blue shaded area represents the minimum and maximum values for each bucket.
- Never: The min/max values are not displayed as a shaded area. Only show the aggregated line across the x-axis bucket.
- On hover: The shaded area for min/max values appears dynamically when you hover over the chart. This option keeps the view uncluttered while allowing you to inspect ranges interactively.
- Always: The min/max shaded area is consistently displayed for every bucket in the chart, helping you visualize the full range of values at all times. This can introduce visual noise if there are many runs visualized in the chart.
- All charts in a workspace
- Individual chart in a workspace
- Navigate to your W&B project
- Select on the Workspace icon on the left tab
- Select the gear icon on the top right corner of the screen next to the left of the Add panels button.
- From the UI slider that appears, select Line plots
- Within the Point aggregation section, choose On over or Always from the Show min/max values as a shaded area dropdown menu.
Explore your data without losing data fidelity
Analyze specific regions of the dataset without missing critical points like extreme values or spikes. When you zoom in on a line plot, W&B adjusts the buckets sizes used to calculate the minimum, maximum, and average values within each bucket.
- Minimum: The lowest value in that bucket.
- Maximum: The highest value in that bucket.
- Average: The mean value of all points in that bucket.
- Navigate to your W&B project
- Select on the Workspace icon on the left tab
- Optionally add a line plot panel to your workspace or navigate to an existing line plot panel.
- Click and drag to select a specific region to zoom in on.
Line plot grouping and expressionsWhen you use Line Plot Grouping, W&B applies the following based on the mode selected:
- Non-windowed sampling (grouping): Aligns points across runs on the x-axis. The average is taken if multiple points share the same x-value; otherwise, they appear as discrete points.
- Windowed sampling (grouping and expressions): Divides the x-axis either into 250 buckets or the number of points in the longest line (whichever is smaller). W&B takes an average of points within each bucket.
- Full fidelity (grouping and expressions): Similar to non-windowed sampling, but fetches up to 500 points per run to balance performance and detail.
Random sampling
Random sampling uses 1500 randomly sampled points to render line plots. Random sampling is useful for performance reasons when you have a large number of data points.Random sampling samples non-deterministically. This means that random sampling sometimes excludes important outliers or spikes in the data and therefore reduces data accuracy.
Enable random sampling
By default, W&B uses full fidelity mode. To enable random sampling, follow these steps:- All charts in a workspace
- Individual chart in a workspace
- Navigate to your W&B project
- Select on the Workspace icon on the left tab
- Select the gear icon on the top right corner of the screen next to the left of the Add panels button.
- From the UI slider that appears, select Line plots
- Choose Random sampling from the Point aggregation section