Easier to read with cream paper, a tint, more contrast or larger text? Choose your colours and text, once, for every page.

Preview

DA 5.11: Bias, privacy, impact and ownership

This is the first page of the lesson. Read it and have a go at the activities. The rest is in the full lesson.

60 minutes

The fair-looking machine

A small lender trains a program on its past decisions. The program learns that people in the South area are refused more often. It then refuses more people from the South. Nobody typed a rule about area.

The machine copied the past. If the past was unfair, the machine is unfair too.

Key words

WordWhat it means
Personal dataInformation about a living person who can be identified.
BiasA leaning that treats some people or results unfairly.
AutomationUsing a computer to do a task with no person doing each step.
Machine learningA way for a program to learn patterns from past data.
PrivacyThe right to keep your own information to yourself.
ImpactThe effect that an action has on people or an organisation.
OwnershipWho holds the rights over a piece of work or a dataset.
LicencePermission to use work, with rules about how.
DatasetA collection of data about one topic.

The cells students fill in are left blank in this preview.

By the end of this lesson

Note

I can spot bias in automation and in myself, and explain privacy, impact and ownership in an analysis.

Starter: last lesson

Have a go

Starter: last lesson

3 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Your answers are marked here and are not kept. A college account keeps every student’s marks.

Where bias comes from

Bias can come from three places. The data may leave out some people. The automation or machine learning may copy unfair patterns from old data. The analyst may look only for results that fit what they already believe.

To avoid bias, check who is missing, compare groups and ask a colleague to review.

Three sources of bias

SourceWhat goes wrongA way to reduce it
DataA survey asks only one areaCheck who is missing and widen the sample
Automation or machine learningA model copies old unfair decisionsTest results for each group
The analystKeeping only results that fit a beliefWrite the question first and have a review

The cells students fill in are left blank in this preview.

Worked example: the approval rate by area

AreaApplicationsApprovedApproved out of every 100
North10880
South10330
Gap between areas50 out of every 100

The cells students fill in are left blank in this preview.

Try it: compare the areas

Code: sql
SELECT area, COUNT(*) AS applications, SUM(approved) AS approved
FROM applications
GROUP BY area
ORDER BY area;

Check: bias

Have a go

Check: bias

3 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Your answers are marked here and are not kept. A college account keeps every student’s marks.

The lesson goes on

7 more parts of this lesson are in the full curriculum, with the tasks, the final check and the labs. A college account gives your students all of it.