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

CDBN, Dataset with size of 8000 run into failure #26

Open
h-bahrami opened this issue Oct 24, 2016 · 0 comments
Open

CDBN, Dataset with size of 8000 run into failure #26

h-bahrami opened this issue Oct 24, 2016 · 0 comments

Comments

@h-bahrami
Copy link

h-bahrami commented Oct 24, 2016

Hi,
I am trying to feed in a dataset with about 8000 instances (8391x8), but it gets an exception in LogisticRegression.train function computing d_y = self.y - p_y_given_x;
the error is
ValueError: operands could not be broadcast together with shapes (8391,2) (8,2)
I suppose using CDBN/CRBM classes we can do a prediction like regression but I don't know why the p_y_given_x size is not matching self.y which suppose to do.
Also I am using python.

thanks in advance

@h-bahrami h-bahrami changed the title dataset with size of 8000 run into failure CDBN, Dataset with size of 8000 run into failure Oct 24, 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

No branches or pull requests

1 participant