Logo

Ndcharles Nweke

Data | Operations | Research | Growth

An engineering graduate with experience in data and operations, hyper research and everything growth. My interest is in real-life applications of data to business and every day problems.

Let's Connect
LinkedIn | Twitter | Blog | View my Resume

Lagos Rent Prediction Web app (EazyRent)


This is an inter-track project which involves the UI/UX team, Data Science team and Sodtware Engineering team. As part of the data science team, our task is to scrape the necessary data and then develop a machine learning model to help house seekers in Lagos have an idea of how much it would cost them to rent an apartment in locations around Lagos.

Method

We scrapped contents from PropertyPro and Nigeria Property Centre for rental apartments in Lagos. We went for the data cleaning and ended up scaling down the bedrooms down to just 3. This is owning to the inconsistency in the property listings. EDA was further done using python in a jupyter-lab environment using numpy, pandas, and matplotlib.

Several regression algorithm were tried on the data but we finally settled with CatBoostRegressor algorithm. CatBoost is a machine learning algorithm that uses gradient boosting on decision trees. The algorithm was chosen because it has an inbulit method of dealing with categorical variables without affecting model output. Like other boosting models, it is available for hyperparameter tuning and tree pruning.

Discussions

The model gave the below results:

  R2 RMSE
Learn 0.68 0.60
Validation 0.76 0.49

An API was further created using FastAPI to allow the SWE team access the model. The API method was also beneficial so that the Data team can update the model when necessary.

[View project on GitHub]


[Back to Portfolio]


[View my GitHub profile] | [Read the Blog]