aNet.ai
Data Science/Lab work
0day streak0XP · Lv 1
← Lab 4 overview and setup
Lab 4 · Section 3 of 5

Six-position vectors

Task 7 · worked step 3

First · connect to the lecture

The lab uses three scaled numbers followed by three programme indicators. This fixed layout tells the distance calculation what to compare.

Lab 4 PDF pp. 6–7 · Task 7

Your task

Place score_z, minutes_z and early_logins_z first. Append CS, Economics and Psychology indicators. Check that every row has six positions and uses the same training parameters.

Evidence to include

Six positions, one fixed meaning each.

Worked example and code

Try the task in the PDF first, then compare your working below. Run the code in your own Python notebook.

Open Lab 4 instructions (PDF)

The feature order is [score_z, minutes_z, early_logins_z, CS, Economics, Psychology].

ID Three scaled numbers Programme indicators
S1 [-1.212678, -1.000000, -1.135815] [1,0,0]
S2 [-0.727607, -0.333333, -0.786334] [0,1,0]
S3 [0.727607, 1.666667, 0.611593] [0,0,1]
S4 [1.212678, -0.333333, 1.310556] [1,0,0]
T1 [-1.018650, -0.777778, -1.135815] [1,0,0]
T2 [0.921635, 1.444444, 0.961074] [0,1,0]
N1 [0.533578, -0.333333, 0.262111] [0,0,0]

Practice problems

Supplementary study questions on the lecture concepts — not verbatim exam questions. Each answer counts toward spaced review.

1. Conceptual understanding

Definitions and distinctions.

Question 1 of 6 · +5 XP

How many positions are in the combined Lab 4 feature vector?

Question 2 of 6 · +5 XP

Why should coordinate order remain fixed?

2. Application

Apply the concept to a case or calculation.

Question 3 of 6 · Positions · +5 XP

Which comes first in the specified six-position vector?

Question 4 of 6 · Unknown category · +5 XP

Why does N1 end with three zeros?

3. Interpretation and limitations

Evaluate assumptions and justify conclusions.

Question 5 of 6 · Extra ratios · +5 XP

Should minutes_per_login be added as a seventh coordinate in this specified lab?

Question 6 of 6 · Consistency · +5 XP

Two vectors have the same six values but different feature orders. Are they interchangeable?

Explain it in writing

Self-checked, not marked. Write a few sentences, then compare with the example answer. Your writing is saved as you type.

Show an example answer

It is a matching label, not a meaningful numerical measurement. Differences between ID numbers do not represent differences between students relevant to this task.

Check: did you answer the question, use evidence or working, and avoid claiming more than the evidence supports?

Show an example answer

The same positions would no longer describe the same features. Distance would subtract unrelated quantities and no longer implement the specified method.

Check: did you answer the question, use evidence or working, and avoid claiming more than the evidence supports?

Saved only in this browser. This note doesn’t fill in the downloaded notebook; “reviewed” is a personal checklist, not a grade.

aNet.ai · Data Science Fundamentals · Weeks 1–5 · practice material, not an official examProgress saved in this browser