Commit Graph

107 Commits

Author SHA1 Message Date
Jensun Ravichandran
11b3e53ecb Return prototypes as torch tensor 2021-05-07 15:45:37 +02:00
Jensun Ravichandran
63a5a98491 Update readme 2021-05-07 15:41:53 +02:00
Jensun Ravichandran
728131e9db Update example scripts 2021-05-07 15:25:04 +02:00
Jensun Ravichandran
d7972a69e8 Update GMLVQ model 2021-05-07 15:24:47 +02:00
Jensun Ravichandran
17315ff242 Add models to the prototorch.models namespace 2021-05-07 15:23:52 +02:00
Jensun Ravichandran
5f937066bf Move and improve visualization callbacks 2021-05-07 15:22:54 +02:00
Jensun Ravichandran
f2541acde9 Unclutter the examples folder 2021-05-07 15:21:35 +02:00
Jensun Ravichandran
e87663d10c Make siamese example script reproducible 2021-05-07 13:07:30 +02:00
Jensun Ravichandran
1b9bcf21f6 Fix typo 2021-05-06 18:50:37 +02:00
Alexander Engelsberger
4bbe73e3a9 Add GRLVQ with examples. 2021-05-06 18:42:06 +02:00
Alexander Engelsberger
79e5eaa69a Rename GMLVQ Example. 2021-05-06 18:41:50 +02:00
Alexander Engelsberger
3df282a0af Increase visualization pause. 2021-05-06 18:41:33 +02:00
Alexander Engelsberger
5a2f4f6170 Revert deletion of training accuracy. 2021-05-06 18:02:01 +02:00
Alexander Engelsberger
1c3613019b Update Examples to new initializer architecture.
Visualization still borken for some examples.
2021-05-06 14:10:09 +02:00
Jensun Ravichandran
d644114090 Add loss transfer function to glvq 2021-05-04 20:56:16 +02:00
Jensun Ravichandran
f402eea884 Add GMLVQ examples 2021-05-04 15:11:16 +02:00
Jensun Ravichandran
a1ac5a70c7 Use squared euclidean distance in GMLVQ 2021-05-04 14:34:00 +02:00
Jensun Ravichandran
d8e017ae74 Update SiameseGLVQ 2021-05-03 16:09:22 +02:00
Jensun Ravichandran
96aeaa3448 Add support for multiple optimizers 2021-05-03 13:20:49 +02:00
Jensun Ravichandran
042b3fcaa2 Add tensorboard argument to visualization callbacks 2021-05-03 13:19:23 +02:00
Jensun Ravichandran
6dd9b1492c Add more models 2021-04-29 23:37:22 +02:00
Jensun Ravichandran
db7bb7619f Add border argument in visualization callback 2021-04-29 22:36:10 +02:00
Jensun Ravichandran
e44516fc49 Update example script 2021-04-29 19:25:08 +02:00
Jensun Ravichandran
ccaa52c408 Add missing abstract.py file 2021-04-29 19:14:33 +02:00
Jensun Ravichandran
fef73e2fbf [BUG] NaN when training with selection initializer
How to reproduce:
Run the `glvq_spiral.py` file under `examples/`.

The error seems to occur when using a lot of prototypes in combination with the
`StratifiedSelectionInitializer`. Using only a prototype per class, or using
another initializer like the `StratifiedMeanInitializer` seems to make the
problem go away.
2021-04-29 19:09:10 +02:00
Jensun Ravichandran
8bad54fc2d Small fix on example script 2021-04-29 17:11:06 +02:00
Jensun Ravichandran
a16bebd0c4 Use Components instead of Prototypes and refactor old examples 2021-04-29 17:05:41 +02:00
Jensun Ravichandran
c50f139559
Merge pull request #2 from si-cim/dev
Use Components instead of Prototypes and refactor old examples
2021-04-29 17:03:17 +02:00
Jensun Ravichandran
c01c5d16db
Merge pull request #1 from si-cim/dev
Merge dev to main
2021-04-29 13:24:43 +02:00
Alexander Engelsberger
eeb684b3b6 GLVQ with configurable distance. 2021-04-27 15:41:44 +02:00
Jensun Ravichandran
1fb197077c Add siamese glvq 2021-04-27 14:35:17 +02:00
Jensun Ravichandran
8d57f69c9e Fix bug in visualization callback 2021-04-27 12:49:04 +02:00
Jensun Ravichandran
3148684812 Fix glvq mnist example script 2021-04-23 17:49:29 +02:00
Jensun Ravichandran
688f09ca23 Am I really the only one with OCD? 2021-04-23 17:41:29 +02:00
Jensun Ravichandran
281009ce82 Fix typo 2021-04-23 17:38:29 +02:00
Alexander Engelsberger
466bbe4c63 Add Neural Gas Model. 2021-04-23 17:30:23 +02:00
Alexander Engelsberger
fd12b18073 Add visualization callback from Protoflow. 2021-04-23 17:28:03 +02:00
Alexander Engelsberger
c4c51a16fe Automatic Formating. 2021-04-23 17:27:47 +02:00
Alexander Engelsberger
db4499a103 Add more CBC examples. MNIST is broken. 2021-04-22 17:37:20 +02:00
Jensun Ravichandran
2e2f6707f6 Add partial cbc implementation 2021-04-22 16:01:44 +02:00
Jensun Ravichandran
55cf9b4a39 Add working glvq script as glvq_iris_v1.py 2021-04-22 12:04:56 +02:00
Jensun Ravichandran
03c5160495 Training on checkpointed model fails [BROKEN] 2021-04-22 11:56:54 +02:00
Jensun Ravichandran
d0d69f610e Show accuracy in the progress bar 2021-04-21 22:28:36 +02:00
Jensun Ravichandran
fadf8c25bf Add more experimental changes
The code gets very messy very quickly as soon as serialization features are
needed.
2021-04-21 21:59:19 +02:00
Jensun Ravichandran
e5a62bd0fc Fix broken state from previous commit 2021-04-21 21:35:52 +02:00
Jensun Ravichandran
fa7b178028 Update readme 2021-04-21 21:34:32 +02:00
Jensun Ravichandran
fe36e5fad9 Add partial metric/hparam features [BROKEN STATE] 2021-04-21 19:16:57 +02:00
Jensun Ravichandran
5a1ef841d3 Update mnist example 2021-04-21 16:28:20 +02:00
Jensun Ravichandran
985cdd3120 Update example scripts 2021-04-21 15:52:42 +02:00
Jensun Ravichandran
ee39ac516d Update readme 2021-04-21 15:02:55 +02:00