Peter_Zong
Peter_Zong

Reputation: 3

how to use pybrain weights to predict

I want to know how does pybrain give the predicition according the weight. For example, I have specified

network=buildNetwork(traindata.indim, 4, traindata.outdim, 
            hiddenclass = TanhLayer, outclass= TanhLayer). 

Suppose I know the weights of this trained network, how can I do the prediciton myself? I need to calculate the result in another program using Java. Or what is the activate function of this network?

Upvotes: 0

Views: 223

Answers (1)

alko
alko

Reputation: 48317

For different layer activation functions meaning, just google tanh activation function. One of the links, containing java implementation details.

If you're not familar with neueral network computations, pleas refer to NEURAL NETWORKS

There are lot of different already built NN libraries for almost all programming languages. Here is one for java.

Upvotes: 1

Related Questions