Skip to content
ml-recall

#function-approximation

1 question from Neural Network Basics

Timed test

1 question · 1 min · score and explanations at the end

Take a test
Q 1 / 1Score 0 / 0

Question 1: Short answer

hardAI-checkedNeural Network Basics

A one-hidden-layer ReLU network approximates g(x)=x2g(x) = x^2 on [0,1][0, 1] by the piecewise-linear function that matches gg at the 5 equally spaced points 0,0.25,0.5,0.75,10, 0.25, 0.5, 0.75, 1 and is linear in between. What is the maximum absolute error on [0,1][0, 1]? Give the exact value as a decimal.

a decimal, e.g. 0.0123