Thanks Maheshakya for your answer. However, I found that my question was 
somehow vague. Since I got low precisions and even for one class I got 0 
precision and 0 recall (which means the program is not doing better than random 
estimation) I wanted to see the result of y_pred on the test data. 
I have not used Predict() yet, because first I want to see the predicted result 
for the test data and then feed new data to see how the network works.

Another issue is when I print the BernoulliRBM's parameters (by printing the 
variable assigned to BernoulliRBM ())I see completely different parameters that 
I have assigned in the program. for example I used rbm.n_components = 1200 but 
250 is shown in the parameters, the same thing happens for learning rate and 
the number of iterations. 
I will
 appreciate any help or comments.
Thanks, 
Arezou






On Friday, March 21, 2014 1:15 AM, Maheshakya Wijewardena 
<[email protected]> wrote:
 
Hi Arezou,

You cannot use predict() function directly from BernoulliRBM. You will have to 
use pipelines to do that as discussed in this example:
http://scikit-learn.org/stable/auto_examples/plot_rbm_logistic_classification.html


Best Regards, 
Maheshakya



On Fri, Mar 21, 2014 at 9:31 AM, Arezou Moussavi <[email protected]> 
wrote:

Hi all, 
>
>
>
>Can any one please tell me how I can see the values of y-pred (predictions) in 
>RBM?
>Thanks
>
>------------------------------------------------------------------------------
>Learn Graph Databases - Download FREE O'Reilly Book
>"Graph Databases" is the definitive new guide to graph databases and their
>applications. Written by three acclaimed leaders in the field,
>this first edition is now available. Download your free book today!
>http://p.sf.net/sfu/13534_NeoTech
>_______________________________________________
>Scikit-learn-general mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>
>


-- 

Undergraduate,
Department of Computer Science and Engineering,
Faculty of Engineering.
University of Moratuwa,
Sri Lanka
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to