Skip to content

Code and data sets for Topological Machine Learning for Multivariate Time Series

Notifications You must be signed in to change notification settings

wuchengyuan88/room-occupancy-topology

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Code and data sets for "Topological Machine Learning for Multivariate Time Series" (https://arxiv.org/abs/1911.12082)

Folder structure:

Occupancy_Test1: Contains data set and codes for Test 1 (predicting future room occupancy)

Occupancy_Test2: Contains data set and codes for Test 2 (predicting past room occupancy)

Order of running code:

  1. dataCleaning.py

Python code for data preparation and cleaning.

  1. pointCloud.py

Python code for converting multivariate time series to point cloud data.

  1. predictionColumn.py

Python code to output a column containing room occupancy status (0 or 1) of each time window.

  1. TDA_distmatrix.R

R code to calculate Wasserstein distances between persistence diagrams.

  1. knn.py

Python code to run the k-nearest neighbors algorithm for binary classification.

About

Code and data sets for Topological Machine Learning for Multivariate Time Series

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published