Skip to content

XAIseries/XCM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XCM: An Explainable Convolutional Neural Network for Multivariate Time Series Classification

This repository contains the Keras implementations of XCM, XCM-Seq and MTEX-CNN networks as described in the paper XCM: An Explainable Convolutional Neural Network for Multivariate Time Series Classification.

Alt-Text

Requirements

Networks have been implemented in Python 3.8 with the following packages:

  • keras
  • matplotlib
  • numpy
  • pandas
  • pyyaml
  • scikit-learn
  • seaborn
  • tensorflow

Usage

Run main.py with the following argument:

  • configuration: name of the configuration file (string)
python main.py --config configuration/config.yml

The current configuration file provides an example of classification with XCM on the Basic Motions UEA dataset with the configuration presented in the paper, and an example of a heatmap from Grad-CAM for the first MTS of the test set.

Citation

@article{Fauvel21XCM,
  author = {Fauvel, K. and T. Lin and V. Masson and E. Fromont and A. Termier},
  title = {XCM: An Explainable Convolutional Neural Network for Multivariate Time Series Classification},
  journal = {Mathematics},
  year = {2021},
  volume = {9},
  number = {23}
}

About

XCM: An Explainable Convolutional Neural Network for Multivariate Time Series Classification

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages