MATH 170 · Points, lines and regions · Algebra Review

Draw the decision line a line is a rule

You are the AI. Nine sandwiches sit on a calories-vs-fiber chart, each labeled Healthy or Not. Your only tool is one straight line and an inequality — everything on one side gets called Healthy. How few can you get wrong?

Healthy = gold filled circle · Not healthy = open square · misses marked ✗ · the gold-washed side is "predict Healthy". Drag the two solid black handles on the line, or use arrow keys on them.

the line

the rule (inequality)

the inequality is the classifier

score