"Replicating Rapid Miner Trained ANN Model in C"
We are working on a pattern recognition problem for last few months using Artificial Neural Network (ANN) modelling.
Recently we experimented with Rapid Miner to train our ANN models. The accuracy of the models is as desirable.
As the next step, we want to replicate the following trained ANN model in C.
Input Vector (3 nodes) --- > Normalization ----> Hidden Layer (3 nodes) -----> Sigmoid function ----> Output Layer (2 nodes) --> Sigmoid function
Query 1: We have used default normalization method. As per online documentation, since sigmoid function is used, the input vector values are scaled down between +1 and -1. Is the example below show my understanding of normalization:
Input1 (say 3 components) : [1, -3, 4];
Input2 (say 3 components) : [2, 6, -1];
Max value for each component: [2 6 4];
Normalized Input 1: [1/2 , -3/6, 4/4]; == [.5, -.5, 1];
Normalized Input 2: [2/2 , 6/6, -1/4]; == [1, 1, -.25];
Kindly confirm.
Query 2: If some other normalization is used (say using standard deviation and mean), how to view the values of those parameters?
Query 3: If there a direct export tool available with in Rapid Miner, so that we can replicate the model in C/Java?
We will be highly thankful if someone can respond with answers to our queries.
Recently we experimented with Rapid Miner to train our ANN models. The accuracy of the models is as desirable.
As the next step, we want to replicate the following trained ANN model in C.
Input Vector (3 nodes) --- > Normalization ----> Hidden Layer (3 nodes) -----> Sigmoid function ----> Output Layer (2 nodes) --> Sigmoid function
Query 1: We have used default normalization method. As per online documentation, since sigmoid function is used, the input vector values are scaled down between +1 and -1. Is the example below show my understanding of normalization:
Input1 (say 3 components) : [1, -3, 4];
Input2 (say 3 components) : [2, 6, -1];
Max value for each component: [2 6 4];
Normalized Input 1: [1/2 , -3/6, 4/4]; == [.5, -.5, 1];
Normalized Input 2: [2/2 , 6/6, -1/4]; == [1, 1, -.25];
Kindly confirm.
Query 2: If some other normalization is used (say using standard deviation and mean), how to view the values of those parameters?
Query 3: If there a direct export tool available with in Rapid Miner, so that we can replicate the model in C/Java?
We will be highly thankful if someone can respond with answers to our queries.