Skip to content

icbaptista/CopyModelDataCompression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

139 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CopyModelDataCompression

Done by:

  • João Correia - 104360
  • Ines Castro - 98384
  • Daniel Ferreira - 102885

Video: https://youtu.be/q0GDqgRfLWg

The file structure followed was the one proposed by the professors.

The following commands can be used to compile the source code and run the 'cpm' program:

# Compile only 
g++ -Wall -O3 -o bin/cpm src/cpm.cpp

# Compile in debug mode
g++ -g -Wall -O3 -o bin/cpm src/cpm.cpp

# window = 15 | smothing factor = 1 | threshold = 0.2 | shannon window = 200 | anchors = 3
clear; g++ -Wall -O3 -o bin/cpm src/cpm.cpp && ./bin/cpm  example/chry.txt -k 15 -s 1 -t 0.6 -b 200 -z 3

About

This project applies the Copy model to determine entropy for a data sequence. The Copy model forecasts the next symbol based on previous occurrences in the sequence.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors