You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
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
The text was updated successfully, but these errors were encountered: