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

  • Thread starter Thread starter chamrik
  • Start date Start date
Click For Summary
SUMMARY

The discussion focuses on initializing weight matrices for a neural network using MATLAB's newff function. The user, Lipontseng, is working with a dataset of 357 inputs and 8324 features and seeks to set the weight initialization range between -0.1 and 0.1. The neural network architecture specified includes two layers with 2 and 3 neurons, respectively, and employs the 'logsig' and 'purelin' activation functions. The inquiry emphasizes the need for specific code to achieve the desired weight initialization.

PREREQUISITES
  • Familiarity with MATLAB programming
  • Understanding of neural network architecture and layer configuration
  • Knowledge of activation functions, specifically 'logsig' and 'purelin'
  • Basic concepts of weight initialization in machine learning
NEXT STEPS
  • Research MATLAB's 'newff' function for neural network creation
  • Explore weight initialization techniques in neural networks
  • Learn about the implications of weight initialization ranges on training
  • Investigate alternative neural network functions in MATLAB, such as 'fitnet' or 'patternnet'
USEFUL FOR

Machine learning practitioners, MATLAB users, and anyone involved in neural network design and implementation.

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?
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
6K
Replies
2
Views
1K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
Replies
7
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
Replies
1
Views
3K
Replies
17
Views
10K
  • · Replies 3 ·
Replies
3
Views
3K