Fix a bunch of codacy code-style issues

This commit is contained in:
blackfly
2020-04-11 15:47:26 +02:00
parent 8f3a43f62a
commit 8c629c0cb1
5 changed files with 23 additions and 14 deletions

View File

@@ -21,6 +21,7 @@ x_train = scaler.transform(x_train)
# Define the GLVQ model
class Model(torch.nn.Module):
def __init__(self, **kwargs):
"""GLVQ model."""
super().__init__()
self.p1 = Prototypes1D(input_dim=2,
prototypes_per_class=1,