GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - giannhskp/Software-Development-for-Algorithmic-Problems_Project-3: Time Series Forecasting using RNN, Anomaly Detection using LSTM Auto-Encoder and Compression using Convolutional Auto-Encoder

BranchesTags
Open more actions menu

Latest commit

 

History

40 Commits
40 Commits

Folders and files

NameName
Last commit message
Last commit date
input_files
input_files
 
 
models
models
 
 
part4
part4
 
 
Project3_2021.pdf
Project3_2021.pdf
 
 
README.md
README.md
 
 
README.pdf
README.pdf
 
 
detect.py
detect.py
 
 
forecast.py
forecast.py
 
 
output_dataset_file.csv
output_dataset_file.csv
 
 
output_query_file.csv
output_query_file.csv
 
 
packages.txt
packages.txt
 
 
reduce.py
reduce.py
 
 

Repository files navigation

Project 3

  • Project Description: Project3_2021.pdf
  • Project Documentation: README.pdf

Project Topics:

  • Time Series Forecasting
  • Time Series Anomaly Detection
  • Time Series Compression
  • Time Series Clustering after compression

Part 1 - Forecasting

Implementation: forecast.py

We implemented a recursive Neural Network with stacked LSTM layers that forecasts the expected values of time series.

The RNN receives as input a WINDOW of values and forecasts the next expected value. The training was performed using the the given dataset: nasdaq2007_17.csv. The final model was trained using all the time series of the dataset. We also trained 20 different models using only one time series as training dataset for each model

The final model structure, the results and the evalutation of the trained model are presented in the Project Documentation.

Part 2 - Anomaly Detection

Implementation: detect.py

We implemented an auto-encoder using a recursive Neural Network with stacked LSTM layers. The RNN contains both encoding layers and decoding layers.

By using the Mean Absolute Error (MAE) and after deciding the proper threshold, the RNN is capable of detecting all the anomalies in a given time series. All the anomalies of a time series are presented using a graph plot. The training was performed using the the given dataset: nasdaq2007_17.csv.

The final model structure, the results and the evalutation of the trained model are presented in the Project Documentation.

Part 3 - Time Series Compression

Implementation: reduce.py

We implemented a convolutional autoencoder Neural Network, containing both encoding layers and decoding layers with the proper bottleneck.

The goal of the NN is to compress a time series. Every time series is splitted in sets of 10 not-overlapping consecutive values and given as input to the NN. The 10-valued sets are compressed into 3 valued sets by the NN. After combining the 3-valued sets, the final compressed time series is produced.

The script receives 2 input files containing time series and produces 2 corresponding files that contain the compressed time series.

The final model structure, the results and the evalutation of the trained model are presented in the Project Documentation.

Part 4 - Clustering after compression

After creating the compressed time series we compare the clustering procedure between the original dataset and the compressed dataset.

We use the clustering algorithms that were implemented in Project2. We also compare the datasets in the Nearest Neighbor search.

The results, the comparison between the two approaches and the final conclutions are presented in the Project Documentation.

About

Time Series Forecasting using RNN, Anomaly Detection using LSTM Auto-Encoder and Compression using Convolutional Auto-Encoder

Topics

compressionconvolutional-autoencoderconvolutional-neural-networkslstm-autoencoderlstm-neural-networksrnntensorflowtime-seriestime-series-anomaly-detectiontime-series-forecastingtime-series-prediction

Resources

Readme
Activity

Stars

4 stars

Watchers

1 watching

Forks

2 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.