HypercomplexKeras
Extends Keras library for layers using hypercomplex algebras.
Install / Use
/learn @rkycia/HypercomplexKerasREADME
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.
Related Skills
node-connect
351.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
