Initializing Weight Matrices with [-0.1, 0.1] - Lipontseng

  • Thread starter Thread starter chamrik
  • Start date Start date
AI Thread Summary
To initialize weight matrices for a neural network with dimensions 357 by 8324 using the newff function, the weights should be set to random values within the range of [-0.1, 0.1]. This can typically be achieved by generating random numbers in the specified range using a programming language's random number generation functions. The specific implementation details may vary depending on the programming language being used, which was inquired about in the discussion.
chamrik
Messages
1
Reaction score
0
hi everyone,

can you guys pls help out.

I want to initialise my weight matrices based on the following:

I have 357*8324 inputs


net = newff(minmax(x),[2,3],{'logsig','purelin'},'traingd');

I want to initialise the weight matrices with numbers between
[-0.1,0.1]. how do I go about it?

thanks
Lipontseng
 
Computer science news on Phys.org
What language are you programming in?
 
Thread 'ChatGPT Examples, Good and Bad'
I've been experimenting with ChatGPT. Some results are good, some very very bad. I think examples can help expose the properties of this AI. Maybe you can post some of your favorite examples and tell us what they reveal about the properties of this AI. (I had problems with copy/paste of text and formatting, so I'm posting my examples as screen shots. That is a promising start. :smile: But then I provided values V=1, R1=1, R2=2, R3=3 and asked for the value of I. At first, it said...
Sorry if 'Profile Badge' is not the correct term. I have an MS 365 subscription and I've noticed on my Word documents the small circle with my initials in it is sometimes different in colour document to document (it's the circle at the top right of the doc, that, when you hover over it it tells you you're signed in; if you click on it you get a bit more info). Last night I had four docs with a red circle, one with blue. When I closed the blue and opened it again it was red. Today I have 3...

Similar threads

Replies
54
Views
5K
Back
Top