Solutions
These solutions show the reasoning, not only the final answer.
MATH-C01-C-001
Given:
Compute:
Answer: 16.
MATH-C01-C-002
The function is:
Use 5 as the input:
Answer: 20.
MATH-C01-C-003
The statement
means cat is a member of the set .
In the label example, it means cat is one of the allowed labels.
MATH-C01-C-004
The tuple is:
Using mathematical indexing:
Answer: .
MATH-C01-C-005
Expand the summation:
Substitute the values:
Answer: 15.
MATH-C01-C-006
The expression is:
Read it as:
add all n loss values
divide by n
This is the average loss over n examples.
MATH-C01-C-007
The explanation mixes conventions.
In mathematical indexing, is the first item. So if
then:
In Python, the second item is x[1], not x[2].
Correct answer: in mathematical notation.
MATH-C01-C-008
The set is:
The token yes appears in the set. So:
is true.
MATH-C01-C-009
Average loss means total loss divided by the number of examples:
Answer: 6.
MATH-C01-C-010
Enter 1.
A useful reading of a formula has more than symbol names. It should include:
- what each symbol names
- what operation happens
- what the formula means in the current problem
For example, "sigma over i" is weaker than "add the loss for each example."
The deeper lesson is to name the operation and the meaning, not only the symbol.