Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In this assignment, we are trying to predict final grades of students using their grades from homeworks and midterm. Each of you will work with
In this assignment, we are trying to predict final grades of students using their grades from homeworks and
midterm. Each of you will work with slightly different data. Here is the data we have from last year's Math
course
Which data you will use: Consider the last digit of your student number, let's call it d Use the data of students
belonging to Student to Student d For example, if your student id ends with use the data between Student
and Student If it ends with use students through
What to submit: Submit a pdf file including your solutions and explanations. You can use jupyter notebook file
or a document preparation software such as Word etc., or even you can use your handwriting. For the
calculations use python and add the code you run into your homework as well.
First attempt: We are trying to predict final grades using only homework grades with a regression
equation in the form:
Find and c using pseudoinverse. Create matrix A x then find the pseudoinverse of A and
multiply it with the known final grades to find and values. At the end find the RMS error
between the real and predicted final grades using the and values for the students that you
work with.
Second attempt: This time use midterm grades to predict final grades. Repeat all steps from part
replacing homework grades with midterm grades.
Third attempt: Here, you will use both homework and midterm grades to predict the final grades. Our
equation is in form:
Repeat the steps again. This time A will be a by matrix.
Compare the three cases. Which attempt gave the best predictions, which was the worst? Discuss the
results.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started