The Sample Class Hierarchy

Learn about the refining class hierarchy to distinguish between KnownSample and UnknownSample instances effectively.

Overview

We can rethink our earlier designs from several points of view. One alternative is to separate the essential Sample class from the additional features. It seems like we can identify four additional behaviors for each Sample instance, shown in the following table.


Known

Unknown

Unclassified

Training data

Sample waiting to be classified

Classified

Testing data

Classified sample

We’ve omitted a detail from the Classified row. Each time we do a classification, a ...

Get hands-on with 1400+ tech skills courses.