Skip to content

Assignment 2#2

Open
faykisteroff wants to merge 3 commits intomainfrom
assignment-2
Open

Assignment 2#2
faykisteroff wants to merge 3 commits intomainfrom
assignment-2

Conversation

@faykisteroff
Copy link
Owner

@faykisteroff faykisteroff commented Sep 14, 2025

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)

  • evaluating the structure of the data, visualizing variables, and creating a linear regression model.

What did you learn from the changes you have made?

  • the process of examining the dataset and creating a linear regression model.

Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?

  • there are other ways to evaluate the relationship between a variable and predictor variables in the dataset (ex., K nearest neighbours (KNN) and KNN linear regression.

Were there any challenges? If so, what issue(s) did you face? How did you overcome it?

  • I had some initial trouble with finding the top 5 rows in the horsepower column, as initially I used mpg_data['horsepower'].head(5), but this did not sort the data in the way I needed. I searched through my previous class notes and online for a way to include a sort feature as well.

How were these changes tested?

  • all cells were executed as I was entering the code to make sure that it was working properly before continuing on to the next question.

A reference to a related issue in your repository (if applicable)

n/a

Checklist

  • I can confirm that my changes are working as intended

Copy link

@fyellow fyellow left a comment

Choose a reason for hiding this comment

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

Good Job! Small issue rmse: is root mean square, so you need to take the root of that.
I will mark you complete.

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