Skip to content

Instantly share code, notes, and snippets.

@alirezaahrabian
Last active August 15, 2016 15:00
Show Gist options
  • Save alirezaahrabian/34a76e4964fe576fea54fa7ec491e5ae to your computer and use it in GitHub Desktop.
Save alirezaahrabian/34a76e4964fe576fea54fa7ec491e5ae to your computer and use it in GitHub Desktop.

#KAT service for IoT Data Analysis

Introduction

This document provides an outline of the KAT server, an online data analysis tool that enables users with limited programming to use standard data analysis algorithms.

How to interact

  1. URL: http://iot.ee.surrey.ac.uk:8081/AnalyseData
  2. POST request
  3. Specify the headers as shown in the figure below
  4. Send the Methods, Parameters and Link to the Data (DataPointer) to the server, as shown in the figure below.
    KAT-analyseData

How to use

• DataPointer corresponds to the link of data, in CSV format. Furthermore, the data type must be numerical (float/int etc). • The number of parameters and number of methods must be equal, even if the parameter would be redundant for the method selected, example being, A-Non. • The list of methods and the corresponding code for selecting them is shown below:

  1. A-Non – Code for no data analysis (no parameter)
  2. B-Clean – Cleans data (no parameter)
  3. C-Outlier – Removes Outliers (no parameter)
  4. E-MovingAvg- Carries out moving average filtering (One parameter: window size)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment