StudyBrixFree worksheets, study guides and courses

Subjects

Ml methods

Choose questions individually, practise online, or create a worksheet with matching answers. Counts include generated variants, not only authored originals.

Make a worksheet347 question instances

Sample exercises

University · Ml methods

A binary node has class proportions 0.5 and 0.5. Find Gini impurity.

Answer and explanation

0.5

1−0.25−0.25=0.5.

University · Ml methods

A node contains only one class. Find its Gini impurity.

Answer and explanation

0

1−1²=0.

University · Ml methods

What is a leaf in a decision tree?

  1. A guaranteed causal rule
  2. A terminal prediction region
  3. A random test-set label
  4. Always the first input column
Answer and explanation

A terminal prediction region

Leaves end a branch and supply predictions.

University · Ml methods

Which can limit tree complexity?

  1. Deleting all validation data
  2. Increasing filename length
  3. Allowing every record its own leaf without validation
  4. A minimum number of examples per leaf
Answer and explanation

A minimum number of examples per leaf

A minimum leaf size discourages unsupported fine partitions.

University · Ml methods

Child impurities are 0.2 and 0.4 with equal numbers of examples. Find weighted average impurity.

Answer and explanation

0.3

Equal weights give (0.2+0.4)/2.

University · Ml methods

Why should child impurity be weighted by child size?

Answer and explanation

A split can make a tiny pure child while leaving most data poorly separated. Weighting reflects the fraction of examples affected.

Credit representativeness of the overall split.

Study notes

Related courses

Artificial intelligence4 lessons

AI foundations and responsible use

Understand learning tasks, datasets, honest evaluation, privacy and human responsibility. No paid AI tool is required.

32 quiz questions · School (K–12)
Artificial intelligence4 lessons

Mathematics of machine learning

Work through regression, gradients, classification and generalization using paper-based examples.

32 quiz questions · University
Artificial intelligence4 lessons

Machine learning methods and validation

Compare trees, clustering, PCA and validation without confusing training performance with evidence of generalization.

32 quiz questions · University
Artificial intelligence4 lessons

Neural networks, attention and embeddings

Build from artificial neurons and backpropagation to attention and embedding geometry.

32 quiz questions · University, Advanced university
Artificial intelligence4 lessons

Generative AI, RAG and practical evaluation

Practise clear prompting, retrieval-grounded workflows, evidence checking and permission-aware deployment.

32 quiz questions · School (K–12), University