Calculus & Linear Algebra: final assessment
This covers the whole course. Take it after the last module.
Final quiz
Practical assessment: A least-squares trend line
Without using hints, write a Python program that reads points, fits the best line and the best parabola with your own elimination code, and decides which model fits better.
- Build the normal equations for both models from the data
- Solve both systems by Gaussian elimination written by you
- Print the coefficients and the sum of squared errors of each model
- State which model is better and check that its residuals add up to about zero
Final project
A line and curve fitter: Fit straight lines and parabolas to noisy data using only plain Python lists: build the normal equations, solve them by elimination, and judge the fit from the errors.
How it is evaluated
- Correctness: coefficients match a hand calculation on a small data set
- Method: the code builds and solves the normal equations itself
- Checking: residuals and a numerical test confirm the result
- Clarity: the output reads as a short report
To complete this course
- Score at least 70% on the final quiz
- Solve the easy and medium exercises in every lesson
- Finish a final project and check it against the evaluation criteria