Using a self-coded neural network

  • Thread starter roldy
  • Start date
  • #1
232
1

Main Question or Discussion Point

I developed a multi-layer perceptron so I could better understand the underlying structure as well as modify it easily versus MATLAB's nntoolbox generate code. I have successfully trained the network for a given set of inputs and targets. The question now is how do I use this trained network with a new set of inputs? I've looked everywhere and I can't seem to find out what procedure I need to take. Would this involve using the weights of the trained network somehow?
 

Answers and Replies

  • #2
1,069
29
A neural network has some inputs,
a set of neurons these inputs are connected to,
possibly a layer of neurons the outputs of the first layer of neurons is connected to,
...
and some outputs from the last layer.

So for training you presented your data items to the inputs one after another and adjusted the weights until it was trained. At that point the weights are fixed and do not change.

For testing the network you presented the same data items to the inputs one after another and looked at how well it did.

For a new set of inputs you present your data items to the inputs and look at how well it does.

Does that help?
 
  • #3
232
1
Yes, thank you.
 

Related Threads for: Using a self-coded neural network

  • Last Post
Replies
1
Views
1K
Replies
22
Views
2K
Replies
4
Views
603
Replies
6
Views
518
  • Last Post
Replies
1
Views
3K
  • Last Post
Replies
5
Views
2K
  • Last Post
Replies
3
Views
2K
  • Last Post
Replies
3
Views
4K
Top