Extends Keras library for layers using hypercomplex algebras.
Project description
Hypercomplex Keras
Keras-based Hypercomplex Neural Networks
Authors: Radoslaw A. Kycia, Agnieszka Niemczynowicz
Github repositiory: Github
Description: This package realizes general hypercomplex algebras neural networks. Algebras are realized by Algebra module. Dense and Convolutional (1D, 2D, 3D) hypercomplex layers are included. The package works with:
-
Keras + TensorFlow (Dense, Convolutional 1D, Convolutional 2D, Convolutional 3D)
-
Keras + PyTorch (Dense, Convolutional 2D - experimental implementations with TensorFlow channels alignment and PyTorch data alignment)
Package also contains:
-
examples - directory contains Jupyter Notebooks illustrating some example usage of classes
-
Makefile - simple makefile to run some basic tests and to generate documentation
Usage: See the examples directory on Github for Jupyter Notebooks illustrating the usage or the manuscript: Agnieszka Niemczynowicz, Radosław Antoni Kycia, KHNNs: hypercomplex neural networks computations via Keras using TensorFlow and PyTorch, arXiv:2407.00452 [cs.LG] for detailed description.
Documentation: Additional examples are in [examples directory]((https://github.com/rkycia/HypercomplexKeras/tree/main/examples). You can also see the examples in the manuscript Agnieszka Niemczynowicz, Radosław Antoni Kycia, KHNNs: hypercomplex neural networks computations via Keras using TensorFlow and PyTorch, arXiv:2407.00452 [cs.LG]. You can create HTML documentation by running 'make generate_doc'. The HTML files are in doc directory that will be automatically created.
Acknowledgements:
-
This KHNN library (from which we derived HypercomplexKeras) has been supported by the Polish National Agency for Academic Exchange Strategic Partnership Programme under Grant No. BPI/PST/2021/1/00031 nawa.gov.pl.
-
We would like to thanks Keras Users Community for suggestions about creating this library. Special thanks to François Chollet for encouragement and technical tips.
Disclaimer: This library was created with the high standards. However it requires some knowledge of neural networks and advanced mathematics to be used. It is given 'as if'. We try to test it in various situations, however, we are not responsible for all damages that can occur during the usage of the package.
Literature:
-
Agnieszka Niemczynowicz, Radosław Antoni Kycia, Fully tensorial approach to hypercomplex neural networks, arXiv:2407.00449 [cs.LG] - describes theory of Hypercomplex NN
-
Agnieszka Niemczynowicz, Radosław Antoni Kycia, KHNNs: hypercomplex neural networks computations via Keras using TensorFlow and PyTorch, arXiv:2407.00452 [cs.LG] - examples of usage of HypercomplexKeras (derived form KHNN project)
If you find this package useful or inspiring, do not hesitate to send us feedback and cite the above manuscripts.
We plan to develop this software, so if you want to help us, please do not hesitate to contact us.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hypercomplexkeras-1.0.3.tar.gz.
File metadata
- Download URL: hypercomplexkeras-1.0.3.tar.gz
- Upload date:
- Size: 192.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8c63446c86bb8c72a82190e08ad679352a49028608a89c4cd25c8d326de6bc3
|
|
| MD5 |
14d8e02474ad695fca5033972b3213cf
|
|
| BLAKE2b-256 |
8b3813c7ce24bcc2122b1cb8dcb3f9f21e7d6451c285cce33ab46a2f7ce3563d
|
File details
Details for the file hypercomplexkeras-1.0.3-py3-none-any.whl.
File metadata
- Download URL: hypercomplexkeras-1.0.3-py3-none-any.whl
- Upload date:
- Size: 19.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
871cb9d8e488594ea374ef28f976d2c365fb978c3d972bef513858fb6a8b6f09
|
|
| MD5 |
3c7be770faaf22c121bb79fc85220c3c
|
|
| BLAKE2b-256 |
f774274eead7f7f7f57279875f7d7f66ac0d350b61c17f88fe4cae83a277a2e9
|