Skip to content

Commit

Permalink
On branch master
Browse files Browse the repository at this point in the history
 Your branch is up to date with 'origin/master'.

 Changes to be committed:
	modified:   baseline/erp/blda.py
  • Loading branch information
okbalefthanded committed Jun 26, 2022
1 parent c6fb31c commit b1a1b96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion baseline/erp/blda.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def decision_function(self,X):
return np.dot(X.T, self.w)

def predict(self, X, y=None):
scores = self.decision_function(X) # self.score(X).squeeze()
scores = self.decision_function(X).squeeze() # self.score(X).squeeze()
predictions = np.zeros(len(scores))
predictions[scores > 0.] = 1.
if self.neg_class == -1:
Expand Down

0 comments on commit b1a1b96

Please sign in to comment.