Stop passing component initializers as hparams
Pass the component initializer as an hparam slows down the script very much. The API has now been changed to pass it as a kwarg to the models instead. The example scripts have also been updated to reflect the new changes. Also, ImageGMLVQ and an example script `gmlvq_mnist.py` that uses it have also been added.
This commit is contained in:
@@ -2,7 +2,7 @@ from importlib.metadata import PackageNotFoundError, version
|
||||
|
||||
from .cbc import CBC
|
||||
from .glvq import (GLVQ, GMLVQ, GRLVQ, LVQ1, LVQ21, LVQMLN, ImageGLVQ,
|
||||
SiameseGLVQ)
|
||||
ImageGMLVQ, SiameseGLVQ)
|
||||
from .knn import KNN
|
||||
from .neural_gas import NeuralGas
|
||||
from .vis import *
|
||||
|
Reference in New Issue
Block a user