jarvis
jarvis copied to clipboard
feat: add House Price Prediction example (Level 2) - Closes #335
Closes: #335
Describe the add-ons or changes you've made 📃
This PR adds a new, self-contained House Price Prediction project under src/HousePricePrediction/.
The module includes:
housePricePrediction.py: A robust training and evaluation script using scikit-learn (Linear Regression and Random Forest).requirements.txt: Minimal dependencies for the project.README.md: Instructions for local setup and links to the full Ames Housing dataset.examples/sample_house_data.csv: A small, committable sample CSV for smoke testing (per contribution guidelines).
Type of change ☑️
- [x] My code follows the code style of this project.
- [ ] Bug fix
- [x] New feature
- [ ] Code style update (formatting, local variables)
- [x] Documentation update (README.md, setup instructions)
- [ ] Database update
Note to reviewers 📄
The core logic is contained within the single housePricePrediction.py file. Please verify that the housePricePrediction() function executes correctly when run with the provided small sample CSV. The code will output metrics for both Linear Regression and Random Forest models.
This contribution is intended for Hacktoberfest and gssoc2025.
Thank you for submitting your pull request! We'll review it as soon as possible. For further communication, join our discord server https://discord.gg/tSqtvHUJzE.