Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Assignment 3 with my Answers #71

Closed
wants to merge 1 commit into from

Conversation

amlloren
Copy link

@amlloren amlloren commented Nov 4, 2024

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

I am adding code to build and evaluate model pipelines for predicting the area affected by forest fires using the Forest Fire dataset from the UCI Machine Learning Repository. This includes preprocessing steps, creating and tuning multiple regression models, and evaluating their performance.

What did you learn from the changes you have made?

I learned how to effectively preprocess data using column transformers, including scaling and one-hot encoding. I also gained experience in building and tuning both linear and non-linear regression models using Ridge regression and RandomForestRegressor. Furthermore, I learned how to use SHAP values for feature importance analysis and how to systematically remove less important features to enhance model performance.

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?

How were these changes tested?

The changes were tested using cross-validation to ensure consistent and reliable performance metrics across different model configurations. I used metrics such as negative mean squared error (neg_MSE) to compare model performance before and after feature removal. SHAP values were also computed and visualized to validate the impact of each feature on the model’s predictions, ensuring the changes led to meaningful improvements.

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

Checklist

  • I can confirm that my changes are working as intended

Copy link

github-actions bot commented Nov 4, 2024

Hello, thank you for your contribution. If you are a participant, please close this pull request and open it in your own forked repository instead of here. Please read the instructions on your onboarding Assignment Submission Guide more carefully. If you are not a participant, please give us up to 72 hours to review your PR. Alternatively, you can reach out to us directly to expedite the review process.

@amlloren amlloren closed this Nov 4, 2024
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.

1 participant