Neural network is one of the artificial intelligence technique,it solve problems in more areas ,like as patter recognition,clustering ,fitting and ect.
Neural network Steps as follow
1.Create the network
2.Train the network
1.Create the network
1st thing we design a network for our inputs for ex we have 2 input and 1 output.
ex:-
>>input = [2 2;4 5;6 7; 7 8; 9 10];
>>output = [1;1;2;2;2];
we create neural network with default hidden layer as follow.
>>net = newff(input,output);
if we want design with users hidden layers then we design as follow.
>>net = newff(input,output,[3 4]);
here [3 4] are two hidden layer. Each layer has each neurons.ex 1st hidden layer has 3 neurons and 2nd one 4 neurons.
2.Train Network
Its train our input data on neural network.
ex:
>>net = train(net,input,output);
Neural network Steps as follow
1.Create the network
2.Train the network
1.Create the network
1st thing we design a network for our inputs for ex we have 2 input and 1 output.
ex:-
>>input = [2 2;4 5;6 7; 7 8; 9 10];
>>output = [1;1;2;2;2];
we create neural network with default hidden layer as follow.
>>net = newff(input,output);
if we want design with users hidden layers then we design as follow.
>>net = newff(input,output,[3 4]);
here [3 4] are two hidden layer. Each layer has each neurons.ex 1st hidden layer has 3 neurons and 2nd one 4 neurons.
2.Train Network
Its train our input data on neural network.
ex:
>>net = train(net,input,output);
No comments:
Post a Comment