What is data lineage and why is it important when building ML systems?

From @chipro’s new book, Designing Machine Learning Systems:
1/5
Data lineage is the process of keeping track of the origin of your data and tracking versions of it over time.

This is important if your data changes and you want to keep track of which model was trained using which data and how the model performance is affected.
2/5
You could track data versions yourself but it'll likely be as error prone as "model_latest_latest_actual_latest_2021.pth" is when tracking models.

@weights_biases Artifacts is one way you can track the data you used to train your models with a few lines of code.
3/5
Here’s @charles_irl showing you how to use Artifacts:
and here’s some guides and docs if you’d like to explore it for yourself.
docs.wandb.ai/guides/artifac…

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Scott Condron

Scott Condron Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @_ScottCondron

19 Aug
New blog post!🕺🥳

This is about a recent paper I enjoyed called "Omnimatte: How to Detect Objects and Their Effects."

I love writing these kind of summary blog posts because I get to learn about such cool papers.

wandb.ai/_scott/omnimat…
1/5
The model in this paper learns to associate one or more objects to the effects they have on their environment (shadows, reflections, etc.) for a given video and rough segmentation masks of each object. This enables video effects like "background replacement".
2/5
and "color pop" and a "stroboscopic" effect (in the next tweet):
3/5
Read 5 tweets
21 Feb
Here's an animation of a @PyTorch DataLoader.

It turns your dataset into a shuffled, batched tensors iterator.

(This is my first animation using @manim_community, the community fork of @3blue1brown's manim)

Here's a little summary of the different parts for those curious:
1/5
The Dataset has to be passed to the DataLoader. It's where you transform your data and where the inputs and labels are stored.

It is basically one big list of (input, label) tuples. So when you index in like dataset[i], it returns (input[ i ], label[ i ]).
2/5
The sampler and batch sampler are used to choose which inputs & labels to yield to the next batch.

Artistic license warning 👨‍🎨⚠️: They don't actually grab the inputs and labels, and the dataset doesn't actually deplete. They tell the DataLoader which indices to grab.
3/5
Read 5 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!

:(