fix: spelling issues for previous commits

This commit is contained in:
Christoph 2021-11-15 08:57:44 +00:00 committed by Jensun Ravichandran
parent a9edf06507
commit 4232d0ed2a
3 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
"""GMLVQ example using the MNIST dataset.""" """GTLVQ example using the MNIST dataset."""
import argparse import argparse
@ -56,9 +56,9 @@ if __name__ == "__main__":
hparams, hparams,
optimizer=torch.optim.Adam, optimizer=torch.optim.Adam,
prototypes_initializer=pt.initializers.SMCI(train_ds), prototypes_initializer=pt.initializers.SMCI(train_ds),
# Use one batch of data for subspace initiator. #Use one batch of data for subspace initiator.
# omega_initializer=pt.initializers.PCALinearTransformInitializer(next(iter(train_loader))[0].reshape(256,28*28)) omega_initializer=pt.initializers.PCALinearTransformInitializer(
) next(iter(train_loader))[0].reshape(256, 28 * 28)))
# Callbacks # Callbacks
vis = pt.models.VisImgComp( vis = pt.models.VisImgComp(

View File

@ -1,4 +1,4 @@
"""Localized-GMLVQ example using the Moons dataset.""" """Localized-GTLVQ example using the Moons dataset."""
import argparse import argparse

View File

@ -1,4 +1,4 @@
"""Siamese GLVQ example using all four dimensions of the Iris dataset.""" """Siamese GTLVQ example using all four dimensions of the Iris dataset."""
import argparse import argparse