# Suboptimal subsampling behavior

**URL:** <https://community.wandb.ai/t/suboptimal-subsampling-behavior/2320>\
**Category:** W&B Help\
**Tags:** dashboard, wandb\
**Created:** [April 26, 2022, 12:57pm UTC](https://community.wandb.ai/t/suboptimal-subsampling-behavior/2320 "2022-04-26T12:57:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dzmitry-bahdanau](https://avatars.discourse-cdn.com/v4/letter/d/6a8cbe/32.png) [@dzmitry-bahdanau](https://community.wandb.ai/u/dzmitry-bahdanau)\
**Post date:** [April 26, 2022, 12:57pm UTC](https://community.wandb.ai/t/suboptimal-subsampling-behavior/2320/1 "2022-04-26T12:57:37Z")

</div>

I am trying to build a plot of “loss/eval” vs “completed\_steps”. “loss/eval” is the validation loss and it is logged once in a while. “completed\_steps” is logged at every step. I would like to see all datapoints where “loss/eval” is logged to be displayed in the plot, because there is not many of them (about 30 for each run). Instead I only see random ones because apparently the downsampling procedure is based on frequency of “completed\_steps” logging. As a result the plots are not very informative;

![image](https://us1.discourse-cdn.com/flex020/uploads/wandb/original/1X/bf980db958e2b3207bbe7973f8a99a123bb9cb84.png)

I think a better behavior when plotting a metric X against metric Y would be to fetch all (X, Y) pairs first and then downsample if there is too many such pairs.

Can I hope to see improvements in downsampling logic at some point?

---

<div class="post-metadata">

**Author:** ![lesliewandb](https://sea2.discourse-cdn.com/flex020/user_avatar/community.wandb.ai/lesliewandb/32/369_2.png) [@lesliewandb](https://community.wandb.ai/u/lesliewandb)\
**Post date:** [April 28, 2022, 3:21pm UTC](https://community.wandb.ai/t/suboptimal-subsampling-behavior/2320/2 "2022-04-28T15:21:47Z")

</div>

This discussion was followed up via email, but I’ll follow up here once it’s resolved

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/wandb/original/1X/366b649231631dbab896843020da0056074ac79d.png) [@system](https://community.wandb.ai/u/system)\
**Post date:** [June 25, 2022, 12:58pm UTC](https://community.wandb.ai/t/suboptimal-subsampling-behavior/2320/3 "2022-06-25T12:58:16Z")

</div>

Closed on June 25, 2022, 12:58pm UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
