Skip to content
Snippets Groups Projects
Commit 990fbe11 authored by Baptiste Bauvin's avatar Baptiste Bauvin
Browse files

Numpy is now monocore

parent c1040663
No related branches found
No related tags found
No related merge requests found
......@@ -175,10 +175,10 @@ class ColumnGenerationClassifierQar(BaseEstimator, ClassifierMixin, BaseBoost):
def update_info_containers(self, y, voter_perf, k):
"""Is used at each iteration to compute and store all the needed quantities for later analysis"""
self.example_weights_.append(self.example_weights)
print(self.previous_margins[-1]>np.sum(self.previous_vote*self.new_voter))
self.previous_vote += self.q * self.new_voter
self.previous_votes.append(self.previous_vote)
self.previous_margins.append(
np.multiply(y, self.previous_vote))
self.selected_margins.append(np.sum(np.multiply(y, self.new_voter)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment