Professional Documents
Culture Documents
Article 2
Article 2
Article 2
net/publication/377721653
CITATIONS READS
0 51
1 author:
Lokmane Akkouh
École nationale des sciences appliquées d'Al Hoceima
1 PUBLICATION 0 CITATIONS
SEE PROFILE
All content following this page was uploaded by Lokmane Akkouh on 26 January 2024.
Department of Mathematics & Computer Science, Abdelmalek Essaadi Univ. ENSAH College,
Alhoceima, Morocco
A
bstract: In the rapidly evolving digital age, the demand for laptops has surged,
making their pricing a significant concern for consumers worldwide. This study
addresses this issue by developing a prediction model for laptop prices based on
various laptop features. The model employs machine learning techniques, with a
focus on regression algorithms, to predict laptop prices accurately and efficiently. The
data used for this model includes multiple variables such as processor type, RAM, storage
capacity, and brand, among other features. Preliminary results suggest that the model
provides reasonably accurate predictions for reference purposes, offering consumers a
valuable tool for making informed purchasing decisions. However, further improvements
and testing are necessary for commercial use. This study not only contributes to the field
of machine learning applications in e-commerce but also provides a foundation for
enhancing e-commerce platforms’ user experience
1.1.Objectif :
The primary objective of this project is to
predict laptop prices based on various
laptop features using machine learning
regression models. This involves creating
Fig 1. Visual Guide of Problem-solving Workflo GPU The laptop’s graphics
processing unit
2. Methodology : STOCKAGEHDD The size of the laptop’s
hard disk drive storage
2.1. Data Collection and STOCKAGESSD The size of the laptop’s
Description : solid-state drive storage
TypeStockage The type of storage used
The data for this project was collected in the laptop
from two primary sources. The first Stockage The total storage capacity
source was a Moroccan e-commerce of the laptop
platform, from which data was scraped COULEUR The color of the laptop
on the 17th of December, 2023. This POIDS The weight of the laptop
process yielded a total of 630 records,
ECRAN The size of the laptop’s
each containing detailed information
screen
about different laptop models.
PRIX The price of the laptop
However, to ensure a robust analysis, it RATE The rating of the laptop
was necessary to have a larger dataset.
Therefore, an additional dataset was
2.1.2Table 2:
incorporated from Kaggle, a renowned
open-source data platform. This Laptop Specifications and Prices from
supplementary data provided a more Kaggle Dataset
comprehensive set of records, enhancing
the diversity and representativeness of Company The brand or manufacturer of
the dataset. the laptop
Cpu The laptop’s central
2.1.1Table 1: processing unit
Laptop Specifications and Prices from Ram The size of the laptop’s
Moroccan E-commerce Platform random access memory
MARK The brand or Memory The total storage capacity of
manufacturer of the the laptop
laptop Gpu The laptop’s graphics
RAM The size of the laptop’s processing unit
random access memory OpSys The operating system of the
typeRam The type of RAM used in laptop
the laptop.(ddr3/ddr4) Weight The weight of the laptop
CPU_Brand The brand of the laptop’s TypeName The size of the laptop’s
central processing unit screen
(CPU). ScreenResol The resolution of the laptop’s
CPU_Modifier The specific model of the -ution screen
CPU Inches The size of the laptop’s
CPU_Generation The generation of the screen
CPU Price The price of the laptop
2.2.Data Preprocessing and Moroccan dirhams to maintain
Exploratory Data Analysis (EDA) consistency with the first dataset.
For the 'GPU' column in both datasets, the
names of GPUs were cleaned and
The data preprocessing stage began with grouped under as few types as possible,
the first dataset, which was obtained reducing them from 115 to 20. This step
from a Moroccan e-commerce platform. was crucial to simplify the analysis and
The initial step was to remove duplicate improve the interpretability of the results.
entries to ensure the uniqueness of each
record. After consultation with experts, This rigorous preprocessing stage
certain columns such as 'color', ensured that the datasets were clean,
'typeRam', and 'rate' were deemed consistent, and ready for the subsequent
irrelevant to the project's objective and exploratory data analysis and modeling
were subsequently removed. stages.
References
[1] “Laptop Price Prediction in Machine
Learning” by Analytics Vidhya
[2] “Laptop Price Prediction by Machine
Learning” on Medium
However, it’s important to note that the
quantity of data plays a crucial role in the [3] “Forecasting Laptop Prices: A
performance of machine learning Comparative Study of Machine Learning”
models. With the current dataset, we
were able to achieve a certain level of
accuracy. But as we gather more data in
the future, we anticipate that the
performance of our models will improve,
potentially leading to different results.
This makes the field of machine learning
dynamic and exciting, as models
continue to evolve with more data.