StudyBrixFree worksheets, study guides and courses

Computer science · lesson 3 of 4

Prediction and evaluation

Data used to fit model parameters.

University8 practice questionsNotes + worked examples

Learn the ideas

Prerequisites: Algebra and basic statistics.

Training set

Data used to fit model parameters.

Test set

Held-out data used to assess performance after model choices are made.

Baseline

A simple reference method used to judge whether a model adds value.

Metric

A defined numerical rule for evaluating predictions or errors.

Worked examples

Example 1

Which term best matches this description: Data used to fit model parameters.

Training set is the matching concept in this lesson.

Training set

Example 2

Which term best matches this description: Held-out data used to assess performance after model choices are made.

Test set is the matching concept in this lesson.

Test set

Check your understanding

8 questions

Decimals or fractions are accepted for numeric answers. Proofs and written responses use sample answers and require human marking. This is practice, not a protected examination.

1 Which term best matches this description: Data used to fit model parameters.

Show answer and explanation

Training set

Training set is the matching concept in this lesson.

2 Which term best matches this description: Held-out data used to assess performance after model choices are made.

Show answer and explanation

Test set

Test set is the matching concept in this lesson.

3 Which concept would you apply first in a situation where a simple reference method used to judge whether a model adds value.

Show answer and explanation

Baseline

The scenario directly calls for Baseline.

4 Name the concept described as: A defined numerical rule for evaluating predictions or errors.

Show answer and explanation

Metric

The intended concept is Metric.

5 Which statement about Training set is most accurate?

Show answer and explanation

Data used to fit model parameters.

The definition in the lesson notes gives the required condition.

6 Explain one important difference between Training set and Test set.

Sample answer and marking guidance

Training set: Data used to fit model parameters. Test set: Held-out data used to assess performance after model choices are made.

Credit a clear distinction using both definitions and an appropriate example if supplied.

7 Give a short example showing how Baseline would be used in practice.

Sample answer and marking guidance

A valid example should demonstrate this idea: A simple reference method used to judge whether a model adds value.

Credit a relevant scenario that applies the concept rather than merely naming it.

8 Summarize why Metric matters in the lesson “Prediction and evaluation”.

Sample answer and marking guidance

Metric matters because A defined numerical rule for evaluating predictions or errors.

Credit the core purpose, scope and any important limitation from the notes.

Further reading and review references

These are reference links, not copied exercises, institutional endorsement or proof of independent review.