Fix a bunch of codacy code-style issues
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user