top of page
Search

October 29, 2018

  • Writer: Kimberly Agosto
    Kimberly Agosto
  • Oct 31, 2018
  • 1 min read

In lab today we used a text compression simulation to experience how data is compressed.

The song I was required to do was "I want a dollar."



By using trial and error, I compressed part of the message into heuristics that are defined in the dictionary. I avoided compressing characters that were frequent, such as spaces (_) because then, rather than taking up less space, the dictionary would increase in size and the compression rate would lower.

While compressing the text, there wasn't really a set of steps I used to compress it - a lot was trial and error. However my approach to compressing text was important. I would try to get common phrases and words, or arrangements of punctuation and letters. I realized that there was no way to confirm I had the best possible way of compressing text, however in comparison to other methods, I could choose the best way that gave me the highest compression rate. In my case, the highest compression rate was 41.1%, after playing around with the tool more.

 
 
 

Recent Posts

See All
My game!

Link to my game: https://editor.p5js.org/kimagosto/sketches/f2JnXUJU8 In my game I created a spaceship that has to avoid the incoming...

 
 
 
Creating Data Summary Tables

January 27, 2019 Data summary tables are a good idea because they concisely present data in an aesthetic manner that is easy to read....

 
 
 

Comments


bottom of page