Skip to content

pqrsooo/saxify-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Saxify

standard-readme compliant

An implementation of Symbolic Aggregate approXimation (SAX) in python.

Table of Contents

Prerequisites

Quickstart

  1. Start JupyterLab by running docker-compose up or yarn start.
  2. Copy and paste the URL with a token key shown in the shell output into your browser to access JupyterLab.

Project's Structure

How to Run

Jupyter Notebook

  1. Open saxify.ipynb by double-clicking this file in the left panel.
  2. Go to Run > Run All Cells

Python

  1. Open terminal from JupyterLab: File > New > Terminal.
  2. Change a directory to /home/jovyan/work/workspace by running cd /home/jovyan/work/workspace.
  3. Run python3 saxify.py -a ./data/ts_a.txt -b ./data/ts_b.txt -x 7 -y 5 -z 6

Appendix

Quiz Instruction

Download here

Result

5730329521	Parinthorn Saithong (Aof)
X = 7
Y = 5
Z = 6
n = 128
w = 32
SAX_A = EDDCEDCCCBCDBBDECDDDCCDDDDECBDEC
SAX_B = CDCCCDFFCCBDCBDCDBEBECFBCECCCCDC
Distance between SAX_A & SAX_B = 3.82

License

MIT © Parinthorn Saithong

About

An implementation of Symbolic Aggregate approXimation (SAX) in python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published