nitishsrivastava / deepnet

Implementation of some deep learning algorithms.
BSD 3-Clause "New" or "Revised" License
893 stars 438 forks source link

Computing classification probabilities #70

Open ghost opened 9 years ago

ghost commented 9 years ago

How to compute classification probabilities using deepnet?

jormansa commented 9 years ago

You can use the extract_neural_net_representation.py program to get the values on the last layer (softmax).

ghost commented 9 years ago

@jormansa Thanks. I'm using dbm to build a model. Can I use extract_dbn_representation.py to get each layer representation of the input? Though this script gets the name dbn, it seems that it also uses the mean-field and variational method (positive phrase) to get the posterior probabilities. I think in dbn people usually get each layer representation as in neural net, unlike what happens here. How it goes?

jormansa commented 9 years ago

Sorry, I don't know how to do that with a DBM. Maybe you can create your own program inspired by extract_dbn_representation.py