Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically add unit delays in Neural Network #7

Open
nikos-kekatos opened this issue May 5, 2020 · 0 comments
Open

Automatically add unit delays in Neural Network #7

nikos-kekatos opened this issue May 5, 2020 · 0 comments

Comments

@nikos-kekatos
Copy link
Owner

Idea: break NN inputs into three parts and use example code

2 Inputs 3 Layers
net.numInputs=2;
net.inputConnect=[1 1;0 0;0 0;0 0];
net.layerConnect=[0 0 0 0;1 0 0 0;0 1 0 0;0 0 1 0];
net.inputs{1}.size=1;
net.inputs{2}.size=1;

Use Input Delays
Old ref, Mathworks guide

net.numInputDelays: 0 or a positive integer. Read only.
Maximum input delay according to all net.inputWeight{i,j}.delays.
net.numLayerDelays: 0 or a positive number. Read only.
Maximum layer delay according to all net.layerWeight{i,j}.delays.

Writing the input connects: here

net.inputConnect=[1 1;0 0;0 0;0 0];
net.layerConnect=[0 0 0 0;1 0 0 0;0 1 0 0;0 0 1 0];)
net.InputWeights{1,1}.delays=2

Structure
view(net)
Screenshot 2020-05-04 at 20 17 05
Screenshot 2020-05-04 at 20 41 24
Screenshot 2020-05-04 at 20 42 16

Neural Network Time Series
There are some examples on Mathworks regarding input delays, eg. [1], [2]

Code
Started writing some code in the second big section of

testing/narx_structure.m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant