Spaces:
Runtime error
Runtime error
ashutosh1919
commited on
Commit
·
3dbb33b
1
Parent(s):
b69fecd
Resolving workflow errors
Browse files
quantum_perceptron/train/training.py
CHANGED
@@ -156,7 +156,7 @@ class PerceptronTrainer:
|
|
156 |
|
157 |
def train(self, num_epochs: int):
|
158 |
"""
|
159 |
-
Train the perceptron.
|
160 |
"""
|
161 |
for i in range(num_epochs):
|
162 |
converged = self.train_epoch(i)
|
|
|
156 |
|
157 |
def train(self, num_epochs: int):
|
158 |
"""
|
159 |
+
Train the perceptron for `num_epochs` epochs.
|
160 |
"""
|
161 |
for i in range(num_epochs):
|
162 |
converged = self.train_epoch(i)
|