Code Monkey home page Code Monkey logo

quaternion-valued-recurrent-projection-neural-networks's Introduction

Quaternion-valued Recurrent Projection Neural Networks on Unit Quaternions

Quaternion-valued recurrent projection neural networks (QRPNNs) are obtained by combining the non-local projection learning with the quaternion-valued recurrent correlation neural network (QRCNNs). QRPNNs overcome the cross-talk problem of QRCNNs and are appropriate to implement associative memories. Furthermore, computational experiments reveal that QRPNNs exhibit greater storage capacity and noise tolerance than their corresponding QRCNNs.

Getting Started

This repository contain the Julia source-codes of QRPNNs on unit quaternions, as described in the paper "Quaternion-Valued Recurrent Projection NeuralNetworks on Unit Quaternions" by Marcos Eduardo Valle and Rodolfo Lobo (see https://arxiv.org/abs/2001.11846). The Jupyter-notebook of the computational experimens are also available in this repository.

Usage:

First of all, call the QRPNN module using:

include("QRPNN.jl")

Define a real-valued excitation function f. Examples of excitation functions are provided in the QRPNN.jl including:

QRPNN.identity, QRPNN.exponential, QRPNN.potential, and QRPNN.high_order

Given a quaternion-valued matrix U=[u1,...,up] of size NxP whose columns correspond to the fundamental memories, train the QRPNN using the command:

V = QRPNN.train(f,f_params,U)

where f_params are the parameters of f.

Given an input quaternion-valued vector x of length N, the output is given by

y = QRPNN.main(f,f_parameters, U, V, x, it_max, verbose)

where it_max (default is it_max = 1000) is the maximum number of iterations and verbose (default is true) informs if the maximum number of iterations has been reached.

For example, the exponential quaternion-valued recurrent projection neural network with parameter alpha = 10 adn the default maximum number of iteration is called using the command:

y = QRPNN.main(QRPNN.exponential, 10, U, V, x)

Remark: Quaternion-valued Recurrent Correlation Neural Network (see https://doi.org/10.1109/IJCNN.2018.8489714) is obtained by considering V = U (without training).

Authors

  • Marcos Eduardo Valle and Rodoldo Lobo - University of Campinas

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.