Assignment Title: Predict House Rent Using Machine Learning
Objective:
To apply a simple regression model to predict house or room rent using small, realistic data.
Task:
1. Create your own dataset (30–45 rows) — you can make it manually or collect real data.
Your dataset should have at least 3 features that affect rent.
2. Use a regression algorithm — try any one of these from sklearn:
• - LinearRegression
• - DecisionTreeRegressor
• - RandomForestRegressor
3. Train the model on your dataset. Use 80% of data for training and 20% for testing (you
can use train_test_split).
4. Test the model:
• - Print the accuracy (R² score) or mean squared error.
• - Predict rent for a new example (like 900 sqft, 2 km away, furnished).
5. Write a short explanation (5–6 lines):
• - What data you used
• - Which model you chose
• - How well it performed
• - One insight or difficulty you faced
Submission Format:
- One .ipynb notebook (code + output )
- A short paragraph (5–6 lines) inside the notebook as summary
Marks (Total: 10)
Criteria Marks
Dataset created by student 2
Model implemented correctly 3
Output (results & prediction shown) 3
Explanation & reflection 2