For yhat=2x+3 and x=4, calculate the prediction.
Answer and explanation
11
2×4+3=11.
Subjects
Choose questions individually, practise online, or create a worksheet with matching answers. Counts include generated variants, not only authored originals.
11
2×4+3=11.
4
(7−5)²=4.
2
(1+1+4)/3=2.
Square metres
Squared residuals have squared target units.
The input causes the target
Prediction and causation are different.
The assumed relation may not hold outside the observed region and the training data may not constrain that behaviour.
Credit model assumptions and data support.
A linear model predicts yhat=w·x+b. Linear refers to the parameters; feature transformations may make the relation nonlinear in original inputs.
UniversityA linear model predicts yhat=w·x+b. Linear refers to the parameters; feature transformations may make the relation nonlinear in original inputs.
UniversityA logistic model maps a real score through σ(z)=1/(1+exp(−z)). Interpreting a score as a reliable probability requires calibration assessment.
UniversityA logistic model maps a real score through σ(z)=1/(1+exp(−z)). Interpreting a score as a reliable probability requires calibration assessment.
UniversityA model can fit training-specific noise or patterns that do not generalize. Compare training and appropriately held-out performance.
UniversityA model can fit training-specific noise or patterns that do not generalize. Compare training and appropriately held-out performance.
UniversityA model prediction is not a guarantee about an individual outcome.
UniversityA model prediction is not a guarantee about an individual outcome.
UniversityAverage across the three observations, not only the nonzero errors.
UniversityAverage across the three observations, not only the nonzero errors.
UniversityUnderstand learning tasks, datasets, honest evaluation, privacy and human responsibility. No paid AI tool is required.
Work through regression, gradients, classification and generalization using paper-based examples.
Compare trees, clustering, PCA and validation without confusing training performance with evidence of generalization.
Build from artificial neurons and backpropagation to attention and embedding geometry.
Practise clear prompting, retrieval-grounded workflows, evidence checking and permission-aware deployment.