0% found this document useful (0 votes)
18 views1 page

Predicting House Rent with ML Models

The assignment involves predicting house rent using a regression model with a custom dataset of 30-45 rows and at least three features affecting rent. Students must choose a regression algorithm from sklearn, train the model with an 80/20 data split, and evaluate its performance using accuracy or mean squared error. A short explanation summarizing the data used, model chosen, performance, and any challenges faced is required in the submission notebook.

Uploaded by

rawatshivam686
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views1 page

Predicting House Rent with ML Models

The assignment involves predicting house rent using a regression model with a custom dataset of 30-45 rows and at least three features affecting rent. Students must choose a regression algorithm from sklearn, train the model with an 80/20 data split, and evaluate its performance using accuracy or mean squared error. A short explanation summarizing the data used, model chosen, performance, and any challenges faced is required in the submission notebook.

Uploaded by

rawatshivam686
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

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

You might also like