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

Generalized the conditional rbm. #23

Merged
merged 1 commit into from
Mar 1, 2016

Conversation

rofinn
Copy link
Contributor

@rofinn rofinn commented Mar 1, 2016

Rather than assuming the conditioned patterns will be the visible
units at previous time steps, we just take a size to condition on and
provide a constructor that takes the number of steps as a feature.

With the above change the split_vis method has changed and all references
to history or hist have been changed to cond.

Also, fixed an issue on line 51 which was passing Bernoulli instead of V and
H parametrics to the more general constructor.

Rather than assuming the conditioned patterns will be the visible
units at previous time steps, we just take a size to condition on and
provide a constructor that takes the number of steps as a feature.

With the above change the split_vis method has changed and all references
to `history` or `hist` have been changed to `cond`.

Also, fixed an issue on line 51 which was passing `Bernoulli` instead of V and
H parametrics to the more general constructor.
@rofinn rofinn mentioned this pull request Mar 1, 2016
@dfdx
Copy link
Owner

dfdx commented Mar 1, 2016

👍

dfdx added a commit that referenced this pull request Mar 1, 2016
@dfdx dfdx merged commit 033d6f4 into dfdx:refactoring Mar 1, 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