StudyBrixFree worksheets, study guides and courses

Subjects

Optimization for ai

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

Make a worksheet405 question instances

Sample exercises

University · Optimization for ai

For θ=4, gradient 6 and η=0.1, find the next gradient-descent parameter.

Answer and explanation

3.4

4−0.1×6=3.4.

University · Optimization for ai

For L(w)=(w−2)², find the gradient at w=5.

Answer and explanation

6

2(w−2)=6.

University · Optimization for ai

What does subtracting a positive multiple of the gradient aim to do locally?

  1. Remove all data
  2. Always maximize loss
  3. Reduce the differentiable loss
  4. Guarantee a global optimum in any problem
Answer and explanation

Reduce the differentiable loss

The negative gradient is a local descent direction for sufficiently small steps.

University · Optimization for ai

Which can occur with an excessively large learning rate?

  1. Overshooting or divergence
  2. Guaranteed exact convergence in one step
  3. A negative dataset size
  4. Automatic data cleaning
Answer and explanation

Overshooting or divergence

Large steps can leave the local descent regime.

University · Optimization for ai

Why does a small gradient not always prove a global minimum?

Answer and explanation

It may indicate a local minimum, saddle, flat region or poor scaling. Global optimality needs stronger structure or analysis.

Credit stationary-point alternatives.

University · Optimization for ai

For f(w)=w², use central difference [f(2.1)−f(1.9)]/0.2. Find the result.

Answer and explanation

4

(4.41−3.61)/0.2=4.

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