KANN (Koopman Analysis of Neural Networks) is a collection of python utilities for the analysis of neural networks. This code reproduces some of the experiments from our paper An Operator Theoretic Approach for Analyzing Sequence Neural Networks.
We provide code for understanding the dynamics of trained RNNs through Koopman operator analyses.
-
To install the package, run the following: python setup.py --install
-
Then, you can run the notebook notebook/sa_task_example.ipynb
Authors:
- Ilan Naiman (naimani@post.bgu.ac.il)
- Omri Azencot (azencot@cs.bgu.ac.il)
If you are inspired by our work, please cite the following paper:
@inproceedings{naiman2023operator,
title={An Operator Theoretic Approach for Analyzing Sequence Neural Networks},
author={Naiman, Ilan and Azencot, Omri},
booktitle={Proceedings of the AAAI conference on artificial intelligence},
year={2023}
}