Databases Reference
In-Depth Information
Make sense? Let's try it out with a more realistic example.
Example with credit scores
Say you have the age, income, and a credit category of high or low for
a bunch of people and you want to use the age and income to predict
the credit label of “high” or “low” for a new person.
For example, here are the first few rows of a dataset, with income rep‐
resented in thousands:
age income credit
69 3 low
66 57 low
49 79 low
49 17 low
58 26 high
44 71 high
You can plot people as points on the plane and label people with an
empty circle if they have low credit ratings, as shown in Figure 3-7 .
Figure 3-7. Credit rating as a function of age and income
 
Search WWH ::




Custom Search