CP3501 · Week 6 Tabular Deep Learning & FastAI Tabular Quiz
0 / 30
Week 6  ·  Assessment Quiz

Tabular Deep Learning & FastAI Tabular

25 multiple-choice on tabular models, entity embeddings, preprocessing and the Titanic dataset, plus 5 short-answer questions.

📋 30 questions total ⭐ 30 marks 🕐 No time limit 🔒 Answers not revealed
PART A

Multiple Choice  (25 marks)

Select the single best answer for each question. Each question is worth 1 mark.

Q1

Tabular data differs from image or text data primarily because:

Q2

In FastAI tabular learning, categorical variables are handled using:

Q3

An entity embedding for a categorical variable:

Q4

TabularDataLoaders.from_df(df, ...) requires you to specify:

Q5

Which of the following is a continuous variable?

Q6

FastAI automatically applies normalisation to continuous variables because:

Q7

The FillMissing processor in FastAI:

Q8

Categorify in FastAI:

Q9

Dropout during training works by:

Q10

layers=[200, 100] in tabular_learner creates a network with:

Q11

The most appropriate evaluation metric for binary classification on the Titanic dataset is:

Q12

In FastAI tabular, cat_names and cont_names specify:

Q13

Batch normalisation in a neural network:

Q14

A high feature importance score for a column in a tree-based model indicates:

Q15

The key advantage of entity embeddings over one-hot encoding for a column with 500 unique categories is:

Q16

valid_idx in TabularDataLoaders specifies:

Q17

Class imbalance in the Titanic dataset (more non-survivors than survivors) can cause:

Q18

The procs argument in TabularDataLoaders specifies:

Q19

learn.predict(row) for a tabular model takes a:

Q20

Which of the following is the correct FastAI call to train a tabular learner for 5 epochs?

Q21

In the Titanic dataset, Pclass (passenger class: 1, 2, 3) is best treated as:

Q22

K-fold cross-validation is used to:

Q23

What does tabular_learner create?

Q24

Adding more hidden layers to a tabular neural network:

Q25

Using Pclass and Sex as features to predict Titanic survival raises which ethical concern?

PART B

Short Answer  (5 marks — marked by lecturer)

Answer each question in 2–4 sentences. Precise technical language is expected. Code snippets are welcome where relevant.

Q26

Explain the difference between categorical and continuous variables in tabular data. How does FastAI handle each type differently in its preprocessing pipeline?written

Your answer
0 / 700
Q27

What is entity embedding for categorical variables? Why is it more powerful than one-hot encoding for a column with many unique values (e.g. zip code with 10,000 unique values)?written

Your answer
0 / 700
Q28

Describe the three main preprocessing steps in FastAI's tabular module: FillMissing, Categorify, and Normalize. What does each do and why is each needed?written

Your answer
0 / 700
Q29

What is dropout and how does it act as a regulariser? What would you expect to happen to training and validation accuracy if you set dropout to 0.9 (very high)?written

Your answer
0 / 700
Q30

Describe how you would build a FastAI tabular model to predict Titanic survival. Include data loading, feature selection, DataLoader creation, model training, and evaluation steps.written

Your answer
0 / 700

Complete all 30 questions then click Submit. Your MCQ score (25/25) will be shown. Short answers are marked separately.

MCQ Score
0 / 25
✏️ Your 5 short-answer responses are recorded for your lecturer.
Full total: MCQ + short-answer marks = / 30