Skip to content

Comments

upload assignment-2#2

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

upload assignment-2#2
karennh21 wants to merge 1 commit intomainfrom
assignment-2

Conversation

@karennh21
Copy link
Owner

PULL REQUEST TITLE: UofT-DSI | Production - Assignment 2

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

Add code to load data from a csv file into a data frame.
Add code to create features data frame and target data.
Use column transformers function for linear and non-linear transformation and one-hot encoding function to preprocess data.
Add code to create 4 different model pipelines and use baseline and advance regressor to perform a prediction.
Add code to perform GridSearch and parameters grid with the 4 pipelines.
Add code to evaluate the best performance among the 4 pipelines.
Export pipeline into a pickle file.
Add code to use SHAP values to explain the features in the best-performing model.

What did you learn from the changes you have made?

How to use column transformers function and one-hot encoding.
How to use different types of regressors to perform a prediction.
How to SHAP values to determine the impact of features on the model performance.

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

N/A

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

Using one-hot encoding for categorical features, using non-linear functions, and evaluating the model performance for multiple models.

I reviewed the slides to understand the concepts behind the new functions and reviewed the the live coding files to see how it could be applied to the questions.

How were these changes tested?

The changes were tested by running each code to see if expected values were returned.

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 work! This submission fully meets the assignment requirements

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