Posts

Showing posts from June, 2025

How I Built and Tuned a Machine Learning Model to Predict Laptop Prices

Image
🧠 Introduction As a computer engineering undergraduate passionate about machine learning (ML), I embarked on a practical project: predicting the price of laptops based on their specifications . The aim was not only to build a regression model but to truly understand each phase of the ML workflow — from problem analysis to model evaluation , and ultimately toward web deployment . This post details the entire journey: technical challenges, tools used, key learnings, and future possibilities. šŸ“Œ Problem Statement The goal of this project was to create a predictive model that can estimate a laptop’s market price (in LKR) given a set of features such as: Brand ( Company ) Processor ( CPU ) Graphics card ( GPU ) RAM (in GB) Operating System ( OpSys ) Weight (in kg) Screen characteristics Touchscreen and IPS support The target variable was Price_LKR , and the task is clearly a supervised regression problem . 🧼 Data Preprocessing & Feature Engineering The datase...