AForge.NET

  :: AForge.NET Framework :: Articles :: Forums ::

Usage of networks, and idea request

The forum is to discuss topics from different artificial intelligence areas, like neural networks, genetic algorithms, machine learning, etc.

Usage of networks, and idea request

Postby pdf » Wed Jan 13, 2010 4:17 pm

First,
"Bravo" for this very clean library.

Then, two questions from a stupid programmer and mathematician like me :

1) For exemple on the "Perceptron classifier" sample :
Your sample allow to compute the parameter of the Network with a set of data.
But how to use the network in order to compute the class of one measure ? Can you give a C# source sample to show how to use the result of learning ?

2) I need a Neuronal Network to classify "measures".
A record of my measures looks like a set of [time, sensor state(false/true)] elements.
For exemple :
RECORD 1
time (ms)...Sensor 1.........Sensor 2.......Class
-------------------------------------------------
0...........true.............false
20..........false............false
100.........false............true
120.........false............false..........1

RECORD 2
time (ms)...Sensor 1.........Sensor 2.......Class
-------------------------------------------------
0...........true.............false
20..........false............false
50..........true.............false
70..........false............false
100.........false............true
120.........false............false..........2

etc...

How can I use Neuronal Network to learn and to test these types of data ?
Which type of network ?
Can you give the beginning of a source code....

Best Regards.
pdf
 
Posts: 2
Joined: Wed Jan 13, 2010 4:01 pm

Re: Usage of networks, and idea request

Postby andrew.kirillov » Thu Jan 14, 2010 10:34 am

Hello,

pdf wrote:But how to use the network in order to compute the class of one measure ? Can you give a C# source sample to show how to use the result of learning ?

When you have a trained network, you need to use its Compute() method, which calculate network's output for a given input.
With best regards,
Andrew


Interested in supporting AForge.NET Framework?
User avatar
andrew.kirillov
Site Admin, AForge.NET Developer
 
Posts: 3451
Joined: Fri Jan 23, 2009 9:12 am
Location: UK




Return to Artificial Intelligence