def _one_iteration(self, input_vecs, labels, rate):
    samples = zip(input_vecs, labels)
    for (input_vec, label) in samples:
        output = self.predict(input_vec)
        self._update_weight(input_vec, output, label, rate)
def _one_iteration(self, input_vecs, labels, rate):
    samples = zip(input_vecs, labels)
    for (input_vec, label) in samples:
        output = self.predict(input_vec)
        self._update_weight(input_vec, output, label, rate)