i want to create index in the form of neural network consist of query terms as input neurons and keywords as hidden neurons and documents id as output neurons.
Hi Amal, if its a feed forward neural network that u intend to use, then u can only specify the values of inputs to the neurons in the input layer and output/response values to the neurons of the output layer. However one cannot specify values to the neurons of the hidden layer/s. The weighted inputs from input layer and the bias are summed up at each neuron of the hidden neuron. Then the computed output of the hidden nerons and the bias are weighted and summed up at each neuron of the output layer during the training stage.
I join Vijay, you can't specify the values of hidden layers neurons. However, you can use DSSM or CLSM neural network architectures to learn a latent representation of document and queries then you can add a cosine layer on the top of the NN in order to improve the similarity between relevant documents.