Scalala and ScalaNLP for Restricted Boltzman Machines?

60 views
Skip to first unread message

delbert

unread,
Mar 9, 2012, 10:51:18 AM3/9/12
to scal...@googlegroups.com
hello All,
 
i would like to fold an implementation for RBM's into the Scalala / ScalaNLP frameworks.
 
i am starting with the code from the Master himself, at:  http://www.cs.toronto.edu/~hinton/MatlabForSciencePaper.html
 
since his code is in Matlab, i assume that RBM's would at least fit into Scalala.  i have been noodling about in the code a little bit, but have not come to any other conclusions.
 
could i get a recommendation, please, on how i might fit an RBM implementation into these frameworks?
 
is there an existing Class or set of Classes that you would recommend that i model an implementation after?  i would like to get an architecture in place that would hang well with the rest of the framework.
 
many thanks,
 
delbert

David Hall

unread,
Mar 9, 2012, 2:01:46 PM3/9/12
to scal...@googlegroups.com
Um, I don't think we have anything specific, really. We have our own
set of minimization routines (not CG, but LBFGS and stochastic
gradient.) To use them take a look at the "Optimization" section of
the tour https://github.com/scalanlp/scalanlp-core/wiki/Tour for how
to define DiffFunctions and use the optimization suite.

Otherwise, I think it's mostly just a question of porting the matlab
code over to Scalala.

-- David

> --
> You received this message because you are subscribed to the Google Groups
> "ScalaNLP" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/scalanlp/-/n689TY1XvtUJ.
> To post to this group, send email to scal...@googlegroups.com.
> To unsubscribe from this group, send email to
> scalanlp+u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/scalanlp?hl=en.

delbert

unread,
Mar 9, 2012, 6:03:25 PM3/9/12
to scal...@googlegroups.com
thanks, David.
 
i will start down that path and post back to the Scalala list, as i run into questions.
 
delbert
 

On Friday, March 9, 2012 2:01:46 PM UTC-5, David Hall wrote:
Um, I don't think we have anything specific, really. We have our own
set of minimization routines (not CG, but LBFGS and stochastic
gradient.) To use them take a look at the "Optimization" section of
the tour https://github.com/scalanlp/scalanlp-core/wiki/Tour for how
to define DiffFunctions and use the optimization suite.

Otherwise, I think it's mostly just a question of porting the matlab
code over to Scalala.

-- David

On Fri, Mar 9, 2012 at 7:51 AM, delbert wrote:
> hello All,
>
> i would like to fold an implementation for RBM's into the Scalala / ScalaNLP
> frameworks.
>
> i am starting with the code from the Master himself, at:
> http://www.cs.toronto.edu/~hinton/MatlabForSciencePaper.html
>
> since his code is in Matlab, i assume that RBM's would at least fit into
> Scalala.  i have been noodling about in the code a little bit, but have not
> come to any other conclusions.
>
> could i get a recommendation, please, on how i might fit an RBM
> implementation into these frameworks?
>
> is there an existing Class or set of Classes that you would recommend that i
> model an implementation after?  i would like to get an architecture in place
> that would hang well with the rest of the framework.
>
> many thanks,
>
> delbert
>
> --
> You received this message because you are subscribed to the Google Groups
> "ScalaNLP" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/scalanlp/-/n689TY1XvtUJ.
> To post to this group, send email to scal...@googlegroups.com.
> To unsubscribe from this group, send email to

> scalanlp+unsubscribe@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages