liveBook · Manning

Soft target

As explained in Machine Learning System Design

A label representation that assigns weighted or probabilistic membership rather than a single categorical class.

A soft target assigns pixels weighted membership in multiple classes instead of forcing a single categorical label. In fine-grained segmentation, a boundary pixel may belong partly to foreground and partly to background. section 3.1

Hair against a background

Image matting treats hair segmentation as a soft-label problem: difficult edge pixels receive specific foreground and background weights. The same idea was adapted to manufacturing data and reduced test error. section 3.1

How Machine Learning System Design covers it

How deep it goes
Defines mixed class membership and specific weights, while deferring a detailed implementation recipe.
Examples
Uses Zoom hair artifacts, foreground/background pixel weights, and adapted manufacturing data as concrete examples.
What it assumes
Assumes familiarity with image segmentation and distinguishes fine-grained boundaries from ordinary categorical labeling.
What you can do after
Apply weighted labels to fine-grained segmentation problems and evaluate their effect through test error.
How it connects
Connects image matting with fine-grained segmentation, hair segmentation, and manufacturing data.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Machine Learning System Design. The section links point to the parts of the book it draws on.