DeepLearning
DeepLearning copied to clipboard
CDBN, Dataset with size of 8000 run into failure
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