From 538256dcb71c4a83c27e2e7cb17a50816f59d1c5 Mon Sep 17 00:00:00 2001 From: Jensun Ravichandran Date: Mon, 17 May 2021 19:37:42 +0200 Subject: [PATCH] Small changes --- README.md | 2 +- examples/cbc_iris.py | 4 +++- examples/glvq_spiral.py | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3d95799..9aff54f 100644 --- a/README.md +++ b/README.md @@ -28,12 +28,12 @@ The plugin should then be available for use in your Python environment as - Generalized Relevance Learning Vector Quantization (GRLVQ) - Generalized Matrix Learning Vector Quantization (GMLVQ) - Limited-Rank Matrix Learning Vector Quantization (LiRaMLVQ) +- Learning Vector Quantization Multi-Layer Network (LVQMLN) - Siamese GLVQ - Neural Gas (NG) ## Work in Progress -- Learning Vector Quantization Multi-Layer Network (LVQMLN) - Classification-By-Components Network (CBC) - Learning Vector Quantization 2.1 (LVQ2.1) diff --git a/examples/cbc_iris.py b/examples/cbc_iris.py index 903c1a3..b4a1147 100644 --- a/examples/cbc_iris.py +++ b/examples/cbc_iris.py @@ -33,7 +33,9 @@ if __name__ == "__main__": # Callbacks dvis = pt.models.VisCBC2D(data=(x_train, y_train), - title="CBC Iris Example") + title="CBC Iris Example", + resolution=300, + axis_off=True) # Setup trainer trainer = pl.Trainer( diff --git a/examples/glvq_spiral.py b/examples/glvq_spiral.py index 61b7cd4..e068e33 100644 --- a/examples/glvq_spiral.py +++ b/examples/glvq_spiral.py @@ -30,7 +30,7 @@ if __name__ == "__main__": noise=1e-1)) # Callbacks - vis = pt.models.VisGLVQ2D(train_ds, show_last_only=True, block=True) + vis = pt.models.VisGLVQ2D(train_ds, show_last_only=True) snan = StopOnNaN(model.proto_layer.components) # Setup trainer