photo

Mary Abdu


Active since 2018

Followers: 0   Following: 0

Statistics

Feeds

View by

Answered
what is wrong with the following code, i get the following massege :Subscripted assignment dimension mismatch. Error in Untitled3 (line 14) y2(i)=purelin(y22);
w1=Nx52, b1=Nx1, b2=2x1, w2=2x3 thank you mister madhan, it is look like working with my code (below is the full code) but now ...

6 years ago | 0

Answered
what is wrong with the following code, i get the following massege :Subscripted assignment dimension mismatch. Error in Untitled3 (line 14) y2(i)=purelin(y22);
w=w*1; load('inputs.mat'); load('outputs.mat'); in=inputs; % loads inputs into variable 'in' t=outputs; ...

6 years ago | 0

Answered
what is wrong with the following code, i get the following massege :Subscripted assignment dimension mismatch. Error in Untitled3 (line 14) y2(i)=purelin(y22);
thank you; i have already corrected by the foloowing: L=length(a) for i=1:L x=b(:,i); y1=w1*x+b1; y1=tansig(y1)...

6 years ago | 0

Question


what is wrong with the following code, i get the following massege :Subscripted assignment dimension mismatch. Error in Untitled3 (line 14) y2(i)=purelin(y22);
clc; clear all; a=[1 2 3; 20 21 22] b=[1 2 3; 4 5 6; 7 8 9] w1=[4 1 5;2 5 0;6 7 10] w2=[10 11 12; 30 1 0] b1=[0.4; 0.2; 0....

6 years ago | 6 answers | 0

6

answers

Question


how i can find neural network second output in term of weight and bias, i am using the below code to find the first output
y1=w1*x+b1; y1=tansig(y1); y22=w2*y1+b2; y2=purelin(y22);

6 years ago | 0 answers | 0

0

answers

Question


how to rewrite this for feedforward neural network for with 52 inputs and 2 output that predict emission rate not for digits, where i get an error of In an assignment A(:) = B, the number of elements in A and B must be the same. Error in line36
sweep=[3,5:5:50]; %parameter values to test scores=zeros(length(sweep),1); %pre-allcation models=cell(length(sweep),1); %pre-a...

6 years ago | 2 answers | 0

2

answers

Answered
the following code is to get neural network output in term of weights and biases for one single output how i can rewirte the code for neural network with 2 outputs
i tried with the below code but stil not work could anyone help me please: [r,c]=size(outputs); for i=1:r for j=1:c ...

6 years ago | 0

Question


the following code is to get neural network output in term of weights and biases for one single output how i can rewirte the code for neural network with 2 outputs
L=length(outputs); for i=1:L x=inputs(:,i); y1=w1*x+b1; y1=tansig(y1); y22=w2*y1+b2; y2(i)=purelin(y22...

6 years ago | 1 answer | 0

1

answer

Question


could any one help me with understanding this code please where w and b are matrices
N=3; w1=[w(1:N);w(N+1:2*N)]'; b1=w(2*N+1:3*N)'; w2=w(3*N:4*N+1); b2=w(end);

6 years ago | 0 answers | 0

0

answers