Initial submission of assignment 2#3
Conversation
KasraVakiloroayaei
left a comment
There was a problem hiding this comment.
A2: Incomplete
Q2, part I: Displacement vs MPG is a negative association. Please verify the remaining associations are correct.
Q3: Please follow the instructions on which parameters should be included in the model and recalculate, to find the correct parameter coefficients and respective intercept value.
Q4. Recalculate after re-doing Q3
|
@KasraVakiloroayaei confirming corrections have been made. Q2 p1: corrected Displacement answer and verified other responses Q3: adjusted to add y_train and y_test |
|
Thanks @KasraVakiloroayaei, Q3 edited to select columns using select_dtypes on int and float instead of using names. Q4 is now running correctly. |
KasraVakiloroayaei
left a comment
There was a problem hiding this comment.
A2: Complete
Great work making suggested changes

UofT-DSI | LCR - Assignment 2
What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
Initial submission of assignment 2
What did you learn from the changes you have made?
Linear regression
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
Some challenges getting the arrays in the right form to create the slope and intercept df.
For corrections, challenges with train test split.
How were these changes tested?
all cells tested in jupyter notebook to confirm outputs were as expected.
Checklist