Skip to content

barblin/clusterization-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clusterization-service

editor screen

Get started with jupyter by going to https://jupyter.org/install.

When the notebook is opening in your browser - Success!

Now pick up a specific notebook from the resources folder and download the data from https://github.com/JHL-HUST/AdaWaveClustering/tree/master/AdaWave/syntheticData

Make sure to update the paths in the python code to fit your environment.

#Temporary install guide apt get install python3 python3 -V

apt install python3-venv python3 -m venv venv source venv/bin/activate pip install Flask export FLASK_APP=./sample/app.py flask run deactivate

Steps to start the service locally

Install flask in your environment by following these instructions: https://pypi.org/project/Flask/

Open Power shell in your root directory

Set up your controller or app file for flask

env FLASK_APP=./sample/app.py

At last

flask run

This will start up the app under http://localhost:5000

Maintaining your env

Start virtual environment

venv\Scripts\activate

Then you can install the packages you need in your environment

Current supported api

Configuration endpoints

/api/v1/version

/api/v1/files

/api/v1/views

File viewer endpoints to execute a specific algorithm for different views of data from files

/api/v1/views/clusters/files/<filename>

/api/v1/views/simple-plots/files/<filename>

/api/v1/views/delaunay-triangulation/files/<filename>

/api/v1/views/minimum-spanning-tree/files/<filename>

/api/v1/views/minimum-spanning-tree-wasser/files/<filename>

File viewer endpoints to execute a specific algorithm for clustering of file data

/api/v1/views/clusters/files/<filename>

/api/v1/views/clusters-min-tree-wasser/files/<filename>

File viewer endpoints to plot variances

/api/v1/views/variances-plots/files/<filename>

File viewer endpoints to plot via matplot lib

/api/v1/plots/files/<filename>

/api/v1/plots/clusters/files/<filename>

Example: http://localhost:5000/api/v1/version

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published