Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed sparsity calculation for conditional rbm and several precision … #24

Merged
merged 1 commit into from
Mar 5, 2016

Conversation

rofinn
Copy link
Contributor

@rofinn rofinn commented Mar 4, 2016

…issues.

  1. In the sparsity calculation for conditional rbms hid_means takes
    just the visible input provided by split_vis(rbm, X).
  2. The gemm! calls in gradient_classic for the conditional weights
    weren't using the appropriate precision (ie: Float32 w/ sparsity)
  3. The free_energy function will often produces NaNs do to log(0)
    or lack of precision.

…issues.

1. In the sparsity calculation for conditional rbms `hid_means` takes
   just the visible input provided by `split_vis(rbm, X)`.
2. The `gemm!` calls in gradient_classic for the conditional weights
   weren't using the appropriate precision (ie: Float32 w/ sparsity)
3. The `free_energy` function will often produces NaNs do to `log(0)`
   or lack of precision.
@dfdx
Copy link
Owner

dfdx commented Mar 5, 2016

Cool, thanks for fixes.

dfdx added a commit that referenced this pull request Mar 5, 2016
Fixed sparsity calculation for conditional rbm and several precision …
@dfdx dfdx merged commit 717a9fc into dfdx:refactoring Mar 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants