Digitala Vetenskapliga Arkivet

Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Predicting Compressibility of StringData Using Feature Selection and Machine Learning
Malmö University, Faculty of Technology and Society (TS).
2024 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesis
Abstract [en]

The exponential growth of data volumes, driven by online activities, the use of Internet of Things (IoT)devices, and more necessitates efficient storage solutions. Data compression emerges as a viable strategyto mitigate storage requirements, transmission times, and communication bandwidth, offering substantialcost savings. This study explores the compressibility of string data columns in a columnar databasemanagement system (DBMS) and how it can be measured. This is done through an iterative studyusing both available knowledge and investigations. The data is stored and extracted from a ClickHousedatabase, a popular open-source columnar database management system. The data used in this study isprovided by Axis’s Communication. Axis gathers data all around the world from their IoT devices. Thesedevices produce billions of rows worth of real-life data which is utilized for this thesis. The utilization ofthese huge volumes of varying data makes the solutions provided in this thesis more universally applicable.This study has shown that encoding methods offered by ClickHouse do not improve the compressionfactor of columnar string data. It is also shown that no level of compression is optimal for all columnsbut generally, a higher level is better. A feature engineering process has been used to measure thecompressibility of columnar string data using certain features. 3 regression models are trained on the datautilizing the features provided by the feature engineering. The regression models are Linear regression,Ridge regression, and Lasso regression. This study has shown that the compression factor can be predictedwithin a factor of 2 for over 72% of the data samples. Moreover, the regression models demonstrate a highdegree of determination as an optimal model achieves a R2-score of 0.875. This shows a great relationshipbetween the produced features and the maximal compression factor. The error margin for the best modelhad a mean absolute percentage error of 97% and a relative absolute error of 49.21%.These findings underscore the feasibility of leveraging machine learning for efficient data compressionand facilitating improved storage management in the face of escalating data volumes.

Place, publisher, year, edition, pages
2024. , p. 67
Keywords [en]
Machine Learning, Linear Regression, Lasso Regression, Ridge Regression, Feature Engineering, Compression Algorithms, Compressibility, String Metrics, Data Encodings, Compression Level, Database Management System (DBMS), Column-Oriented DBMS
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:mau:diva-70576OAI: oai:DiVA.org:mau-70576DiVA, id: diva2:1891964
External cooperation
Axis Communication
Educational program
TS Computer Science: Applied Data Science
Supervisors
Examiners
Available from: 2024-08-23 Created: 2024-08-23 Last updated: 2024-08-26Bibliographically approved

Open Access in DiVA

fulltext(2028 kB)240 downloads
File information
File name FULLTEXT01.pdfFile size 2028 kBChecksum SHA-512
7e2dc8194217764971d485ee382ebe49c7f5271d42440eba60093926a2ff0dc85dd0f2b30ec91cdd792d704373cab5dcccd6cbd7242ca2174c26ee1dc51b6db7
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Mounawk, Heba
By organisation
Faculty of Technology and Society (TS)
Computer Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 242 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 199 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf