Jensun Ravichandran
09e3ef1d0e
fix: remove deprecated Trainer.accelerator_backend
2021-06-30 16:03:45 +02:00
Jensun Ravichandran
a37095409b
[BUGFIX] examples/cbc_iris.py
works again
2021-06-15 15:59:47 +02:00
Jensun Ravichandran
1c658cdc1b
[FEATURE] Add warm-starting example
2021-06-14 20:42:57 +02:00
Jensun Ravichandran
97ec15b76a
[BUGFIX] KNN works again
2021-06-14 20:09:41 +02:00
Jensun Ravichandran
69e5ff3243
Import from the newly cleaned-up prototorch namespace
2021-06-14 20:08:08 +02:00
Jensun Ravichandran
57f8bec270
Update SOM
2021-06-09 18:21:12 +02:00
Jensun Ravichandran
022d791ea5
Route initialized prototypes
2021-06-07 21:18:08 +02:00
Jensun Ravichandran
34ffeb95bc
Update how the model is printed
2021-06-07 16:58:00 +02:00
Jensun Ravichandran
016fcb4060
[REFACTOR] Major cleanup
2021-06-04 22:20:32 +02:00
Jensun Ravichandran
42d974e08c
No implicit learning rate scheduling
2021-06-04 15:55:06 +02:00
Jensun Ravichandran
5ec2dd47cd
Remove unused import
2021-06-01 23:40:56 +02:00
Jensun Ravichandran
21023a88d7
[BUGFIX] Fix RSLVQ
2021-06-01 17:44:10 +02:00
Jensun Ravichandran
cd73f6c427
Add examples/dynamic_components.py
2021-05-31 00:32:27 +02:00
Alexander Engelsberger
72e064338c
Use 'num_' in all variable names
2021-05-25 15:41:10 +02:00
Jensun Ravichandran
a5e086ce0d
Refactor code
2021-05-21 13:33:57 +02:00
Jensun Ravichandran
a9382dcd9b
Add get_prototype_grid method
2021-05-21 13:11:48 +02:00
Jensun Ravichandran
fdf9443a2c
Add validation and test logic
2021-05-19 16:30:19 +02:00
Jensun Ravichandran
81346785bd
Cleanup models
...
Siamese architectures no longer accept a `backbone_module`. They have to be
initialized with an pre-initialized backbone object instead. This is so that the
visualization callbacks could use the very same object for visualization
purposes. Also, there's no longer a dependent copy of the backbone. It is
managed simply with `requires_grad` instead.
2021-05-17 17:00:23 +02:00
Jensun Ravichandran
ca39aa00d5
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.
2021-05-12 16:36:22 +02:00
Jensun Ravichandran
eab1ec72c2
Change optimizer using kwargs
2021-05-11 16:13:00 +02:00
Jensun Ravichandran
11b3e53ecb
Return prototypes as torch tensor
2021-05-07 15:45:37 +02:00
Jensun Ravichandran
96aeaa3448
Add support for multiple optimizers
2021-05-03 13:20:49 +02:00
Jensun Ravichandran
ccaa52c408
Add missing abstract.py file
2021-04-29 19:14:33 +02:00