1
Hello, Good Morning
I implemented a network, and it has the following matrix, where f(x) is an input vector (Matrix 1,139), the Phi matrix that has dimension 1,20 (20 due to the number of signals I used to train it) and w as the weights that are 20,1
for k in range(0,20):
for item in range(0,139):
substract += (s[0,item] - phi[0,k]) # phi = 20,20
mod = np.linalg.norm(substract)
substract = 0
if(mod > 0):
substract = (mod*mod)*math.log10(mod)
phi_matrix_final.append(substract)
else:
phi_matrix_final.append(mod)
mod = 0
substract = 0
Sn = 20 due to the number of training entries
Problem with this network is that it always returns a value very close to each other, since the answers should be between 0 and 10
Note: Use the r²log(r function)
What do you do with
phi_matrix_final
for it to enter, in the new iteration, asphi
? Because I think you’re not reducing the error ofphi
– Marcelo Shiniti Uchimura
effect result = phi_matrix_final @weights
– FourZeroFive