IITP · Semester ISummaries · Quizzes · Assignments

EAI 6103 — Advanced Machine Learning

Assignment 1 — ML Fundamentals

Source: IITP\Sem-1\AML\assignments\assignment-1.md

Topic: Hold-out method · algorithm vs model · nominal/ordinal variables · supervised learning · implicit vs explicit programming Questions: 10 (8 MCQ + 2 True/False) Source: class WhatsApp group (Chats/WhatsApp-Cheat-code/chat.md), set forwarded 22 Nov 2026 ("Advanced ML – Questions & Answers").

Fidelity note: that export posted only the correct option text, not the full option list. The correct option is reproduced verbatim; the other options were not circulated.

Verification: ✅ all 10 marked answers checked — all correct.


Quick answer key

Q Answer Q Answer
1 c — Data splitting method 6 c — Data
2 False 7 d — Implicit programming
3 c — Non-deterministic programming 8 b — All
4 d — Nominal 9 b — Data
5 True 10 b — Non-intrinsic ordering

Q1. Hold out method is a type of:

✅ Answer: c — Data splitting method

The hold-out method partitions the dataset into disjoint train / validation (or test) sets, so it is a data-splitting strategy. It is not a training algorithm or an ML algorithm of its own — it is how you reserve data to estimate generalisation error. Related: the other classic splitters are k-fold cross-validation, leave-one-out (LOOCV) and stratified sampling; hold-out is the cheapest but has high variance when the split is small.


Q2. Algorithm and model are the same thing in machine learning.

✅ Answer: False

An algorithm is the procedure that learns (e.g. gradient descent on a squared loss); a model is the resulting fitted object — a hypothesis with concrete parameters (e.g. y = 2.3x + 1.1). Multiple algorithms can produce the same functional form, and one algorithm produces a new model every time you train on new data. Related: "model" also refers to the chosen functional family (linear regression vs. decision tree) before training — context decides.


Q3. Which kind of problem suffer from high randomness?

✅ Answer: c — Non-deterministic programming

Non-deterministic computation allows different outcomes for the same input (concurrency interleavings, randomised algorithms, sampling), which is exactly the source of high run-to-run randomness. Related: deterministic programming is reproducible for a fixed input; explicit programming (hand-coded rules) is deterministic but brittle; implicit programming (ML) is statistical, not necessarily random.


Q4. Zip Code is a type of variable:

✅ Answer: d — Nominal

A PIN/zip code is an identifier: 110001 is not "greater" than 110002 in any meaningful arithmetic sense, and averaging codes is nonsense. So it is nominal (labels without intrinsic order), not ordinal/numeric. Related: this is the classic trap — digits in the value do not make a variable quantitative.


Q5. AI program itself does not know anything about the type of pattern it needs to identify.

✅ Answer: True

A learning program is given a hypothesis space and an objective; it does not "know" which pattern in the data is meaningful. The pattern it ends up encoding is whatever minimises the loss on the training data — which is why feature design, labels and inductive bias matter, and why a model can learn spurious correlations.


Q6. The behavior of ML based application/programming is highly influenced with:

✅ Answer: c — Data

ML behaviour is determined by the training distribution: the same code trained on different data gives different predictions. Related: this is the "data-centric" view — code is fixed, data changes behaviour. Compare classic software, where behaviour is fixed by the code.


Q7. Machine Learning programming is:

✅ Answer: d — Implicit programming

You specify what to optimise (loss + hypothesis space) and the learning algorithm infers the decision rules from data — the rules are implicit in the parameters. Explicit programming writes the rules by hand. Related: ML is still deterministic code running on a computer; "implicit" refers to where the logic lives, not to randomness.


Q8. In supervised learning, target/class variable can be:

✅ Answer: b — All

Supervised targets may be numerical (regression), categorical/nominal (classification), or binary. The task type follows the target type, not the other way round. Related: ordinal targets are handled as classification or as ordinal regression.


Q9. In Machine Learning, the rules and patterns (need to be learned by program) which are defined by:

✅ Answer: b — Data

The mapping input → output is estimated from examples; the data defines the pattern. Related: the hypothesis space and loss function are defined by the engineer, not the data — the data selects within that space.


Q10. Nominal variables are those having:

✅ Answer: b — Non-intrinsic ordering

Nominal = name only, no intrinsic order (red/blue/green). Ordinal variables have a meaningful order but unknown spacing (small/medium/large). Related: ordinal is the intermediate case; encoding nominal values as 1,2,3 wrongly imposes order and is a common preprocessing bug.