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

added new files #122

Closed
wants to merge 1 commit into from
Closed

added new files #122

wants to merge 1 commit into from

Conversation

Sai-ganesh-0004
Copy link

@Sai-ganesh-0004 Sai-ganesh-0004 commented Oct 11, 2024

Description

Implemented the Lasso Regression model for predicting car prices. The model includes preprocessing of the dataset, feature selection, and visualization of feature importance. Additionally, the code is structured into separate modules for better readability and maintainability.

Issue Resolved

This PR resolves #90 .

Changes Made

  • Added data preprocessing functions to handle missing values and convert categorical features.
  • Implemented Lasso Regression in predict.py for car price prediction.
  • Created a function to visualize feature importance in model.py.
  • Organized the code into a modular structure with separate files for data preprocessing, model training, evaluation, and visualization.

Additional Details

This implementation improves the model's performance by optimizing feature selection through regularization.

Checklist

  • My code follows the current project structure
  • I have thoroughly reviewed and updated the requirements.txt file to include any new packages
  • The predict.py file includes a properly implemented model_details() function, or the notebook contains this function to print a detailed model report. The model will not be accepted without this function, as it is essential for generating the necessary model details.
  • I have added relevant tests (if necessary).
  • I have added comments in the code where needed.
  • This PR is submitted under Hacktoberfest.
  • This PR is submitted under GirlScript Summer of Code (GSSoC-Extd).

Screenshots of the output
Screenshot 2024-10-11 132209

Screenshot 2024-10-11 132234

Screenshot 2024-10-11 132401

Screenshot 2024-10-11 132434

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.

Car Price Prediction
1 participant