Skip to content

Complete assignment 2#2

Open
tanveerrouf wants to merge 1 commit intomainfrom
assignment-2
Open

Complete assignment 2#2
tanveerrouf wants to merge 1 commit intomainfrom
assignment-2

Conversation

@tanveerrouf
Copy link
Owner

@tanveerrouf tanveerrouf commented Dec 9, 2025

UofT-DSI - LCR - Assignment -2

  1. What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
    Ans: I completed the assignment_2.ipynb notebook: cleaned up the workflow, ran all cells end‑to‑end, and added the required regression analysis, plots, and short interpretations.

  2. What did you learn from the changes you have made?
    Ans: This pushed me to get more comfortable fitting and comparing linear regression models, thinking about what the coefficients actually mean, and checking whether the model assumptions show up in the residual plots.

  3. Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
    Ans: I briefly considered adding more complex models (e.g., polynomial terms or regularization), but stayed with the approaches outlined in the assignment so the work stays aligned with the learning goals.

  4. Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
    Ans: I ran into some small issues getting the train/test split and evaluation metric set up correctly, and a couple of shape/type errors in pandas/sklearn; I fixed them by stepping through the code slowly, re‑reading the instructions, and checking the documentation.

  5. How were these changes tested?
    Ans: I restarted the kernel and ran the entire notebook from top to bottom to make sure everything executes without errors and that the results/plots look reasonable.

  6. A reference to a related issue in your repository (if applicable)
    Ans: N/A

  7. Checklist
    Ans: I can confirm that my changes are working as intended

Copy link

@PatelVishakh PatelVishakh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assignment 2: Complete, Great Work!
Suggested changes:
Q2) I) when model year increases on average the MPG goes down.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments