Jensun Ravichandran 
							
						 
					 
					
						
						
							
						
						ef6bcc1079 
					 
					
						
						
							
							[BUG] Early stopping does not seem to work  
						
						 
						
						... 
						
						
						
						The early stopping callback does not work as expected, and crashes at the end of
max_epochs with:
```
~/miniconda3/envs/py38/lib/python3.8/site-packages/pytorch_lightning/trainer/callback_hook.py in on_train_end(self)
    155         """Called when the train ends."""
    156         for callback in self.callbacks:
--> 157             callback.on_train_end(self, self.lightning_module)
    158
    159     def on_pretrain_routine_start(self) -> None:
~/work/repos/prototorch_models/prototorch/models/callbacks.py in on_train_end(self, trainer, pl_module)
     18     def on_train_end(self, trainer, pl_module):
     19         # instead, do it at the end of training loop
---> 20         self._run_early_stopping_check(trainer, pl_module)
     21
     22
TypeError: _run_early_stopping_check() takes 2 positional arguments but 3 were given
``` 
						
						
					 
					
						2021-06-02 12:44:34 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jensun Ravichandran 
							
						 
					 
					
						
						
							
						
						bdacc83185 
					 
					
						
						
							
							[REFACTOR] Update examples/dynamic_pruning.py  
						
						 
						
						
						
						
					 
					
						2021-06-02 03:53:21 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jensun Ravichandran 
							
						 
					 
					
						
						
							
						
						8851d1bbc9 
					 
					
						
						
							
							[FEATURE] Add PruneLoserPrototypes Callback  
						
						 
						
						
						
						
					 
					
						2021-06-02 03:52:41 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jensun Ravichandran 
							
						 
					 
					
						
						
							
						
						a3f5d7d113 
					 
					
						
						
							
							Update docstring  
						
						 
						
						
						
						
					 
					
						2021-06-02 02:40:29 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jensun Ravichandran 
							
						 
					 
					
						
						
							
						
						b2009bb563 
					 
					
						
						
							
							[FEATURE] Add example to showcase dynamic pruning of prototypes  
						
						 
						
						
						
						
					 
					
						2021-06-02 02:36:37 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jensun Ravichandran 
							
						 
					 
					
						
						
							
						
						398431e7ea 
					 
					
						
						
							
							Remove examples/dynamic_components.py  
						
						 
						
						
						
						
					 
					
						2021-06-02 02:35:45 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jensun Ravichandran 
							
						 
					 
					
						
						
							
						
						8f7deb75dd 
					 
					
						
						
							
							[FEATURE] Log prototype win ratios over all training batches  
						
						 
						
						
						
						
					 
					
						2021-06-02 02:32:54 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jensun Ravichandran 
							
						 
					 
					
						
						
							
						
						7743c50725 
					 
					
						
						
							
							Tweak repr  
						
						 
						
						
						
						
					 
					
						2021-06-02 01:07:48 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jensun Ravichandran 
							
						 
					 
					
						
						
							
						
						fcf3a4979c 
					 
					
						
						
							
							Remove unused import  
						
						 
						
						
						
						
					 
					
						2021-06-02 00:49:36 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jensun Ravichandran 
							
						 
					 
					
						
						
							
						
						d46fe4a393 
					 
					
						
						
							
							[WIP] Update CBC example  
						
						 
						
						
						
						
					 
					
						2021-06-02 00:45:33 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jensun Ravichandran 
							
						 
					 
					
						
						
							
						
						88cfd5762e 
					 
					
						
						
							
							Remove unused imports in models/cbc.py  
						
						 
						
						
						
						
					 
					
						2021-06-02 00:44:35 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jensun Ravichandran 
							
						 
					 
					
						
						
							
						
						aa42b9e331 
					 
					
						
						
							
							[BUGFIX] Import missing module  
						
						 
						
						... 
						
						
						
						models/unsupervised.py uses `pt` in line 37, but `pt` is undefined in the file.
I wonder why Python doesn't complain about this. Perhaps because unsupervised.py
is never run in isolation and `pt` is otherwise available in the namespace of
the example scripts that use unsupervised.py. 
						
						
					 
					
						2021-06-02 00:31:57 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jensun Ravichandran 
							
						 
					 
					
						
						
							
						
						91b57b01b1 
					 
					
						
						
							
							[REFACTOR] neighbour -> neighbor  
						
						 
						
						
						
						
					 
					
						2021-06-02 00:29:45 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jensun Ravichandran 
							
						 
					 
					
						
						
							
						
						9eb6476078 
					 
					
						
						
							
							[BUG] Training unstable in examples/gng_iris.py  
						
						 
						
						
						
						
					 
					
						2021-06-02 00:21:42 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jensun Ravichandran 
							
						 
					 
					
						
						
							
						
						98c198d463 
					 
					
						
						
							
							[REFACTOR] Use LambdaLayer instead of EuclideanDistance  
						
						 
						
						
						
						
					 
					
						2021-06-02 00:21:11 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jensun Ravichandran 
							
						 
					 
					
						
						
							
						
						ef4d70eee0 
					 
					
						
						
							
							Update readme  
						
						 
						
						
						
						
					 
					
						2021-06-02 00:03:35 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jensun Ravichandran 
							
						 
					 
					
						
						
							
						
						7e241ff7d8 
					 
					
						
						
							
							[WIP] Update examples/liramlvq_tecator.py  
						
						 
						
						
						
						
					 
					
						2021-06-02 00:02:31 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jensun Ravichandran 
							
						 
					 
					
						
						
							
						
						757f4e980d 
					 
					
						
						
							
							Add Local-Matrix LVQ  
						
						 
						
						... 
						
						
						
						Also remove the use of `self.distance_fn` in favor of `self.distance_layer`. 
						
						
					 
					
						2021-06-01 23:44:16 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jensun Ravichandran 
							
						 
					 
					
						
						
							
						
						5ec2dd47cd 
					 
					
						
						
							
							Remove unused import  
						
						 
						
						
						
						
					 
					
						2021-06-01 23:40:56 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jensun Ravichandran 
							
						 
					 
					
						
						
							
						
						930f84d3c7 
					 
					
						
						
							
							Remove examples/gmlvq_iris.py  
						
						 
						
						
						
						
					 
					
						2021-06-01 23:40:15 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jensun Ravichandran 
							
						 
					 
					
						
						
							
						
						e8cd4d765c 
					 
					
						
						
							
							Remove unused variable  
						
						 
						
						
						
						
					 
					
						2021-06-01 23:39:39 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jensun Ravichandran 
							
						 
					 
					
						
						
							
						
						8403b01081 
					 
					
						
						
							
							Move CELVQ to probabilistic.py  
						
						 
						
						
						
						
					 
					
						2021-06-01 23:39:06 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jensun Ravichandran 
							
						 
					 
					
						
						
							
						
						aff6aedd60 
					 
					
						
						
							
							Use the add_components API for adding prototypes  
						
						 
						
						
						
						
					 
					
						2021-06-01 23:37:45 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jensun Ravichandran 
							
						 
					 
					
						
						
							
						
						1b6843dbbb 
					 
					
						
						
							
							Remove unused imports  
						
						 
						
						
						
						
					 
					
						2021-06-01 19:31:03 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jensun Ravichandran 
							
						 
					 
					
						
						
							
						
						21023a88d7 
					 
					
						
						
							
							[BUGFIX] Fix RSLVQ  
						
						 
						
						
						
						
					 
					
						2021-06-01 17:44:10 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alexander Engelsberger 
							
						 
					 
					
						
						
							
						
						9c1a41997b 
					 
					
						
						
							
							[FEATURE] Add Growing Neural Gas  
						
						 
						
						
						
						
					 
					
						2021-06-01 17:19:43 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jensun Ravichandran 
							
						 
					 
					
						
						
							
						
						1636c84778 
					 
					
						
						
							
							Rename rslvq example  
						
						 
						
						
						
						
					 
					
						2021-05-31 17:56:45 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jensun Ravichandran 
							
						 
					 
					
						
						
							
						
						27eccf44d4 
					 
					
						
						
							
							Use LambdaLayer from ProtoTorch  
						
						 
						
						
						
						
					 
					
						2021-05-31 16:53:04 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alexander Engelsberger 
							
						 
					 
					
						
						
							
						
						8f4d66edf1 
					 
					
						
						
							
							[Bugfix] Fix classcount in LIRAMLVQ example  
						
						 
						
						
						
						
					 
					
						2021-05-31 11:48:23 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alexander Engelsberger 
							
						 
					 
					
						
						
							
						
						2a218c0ede 
					 
					
						
						
							
							Add example for dynamic components in callbacks  
						
						 
						
						
						
						
					 
					
						2021-05-31 11:39:24 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alexander Engelsberger 
							
						 
					 
					
						
						
							
						
						db064b5af1 
					 
					
						
						
							
							Improvement of model __repr__  
						
						 
						
						
						
						
					 
					
						2021-05-31 11:19:06 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alexander Engelsberger 
							
						 
					 
					
						
						
							
						
						0ac4ced85d 
					 
					
						
						
							
							[refactor] Use functional variant of accuracy  
						
						 
						
						... 
						
						
						
						Prevents Accuracy in `__repr__` of the models. 
						
						
					 
					
						2021-05-31 11:12:27 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jensun Ravichandran 
							
						 
					 
					
						
						
							
						
						e9d2075fed 
					 
					
						
						
							
							Sort imports in example scripts  
						
						 
						
						
						
						
					 
					
						2021-05-31 00:52:16 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jensun Ravichandran 
							
						 
					 
					
						
						
							
						
						7b7bc3693d 
					 
					
						
						
							
							Merge branch 'dev' of github.com:si-cim/prototorch_models into dev  
						
						 
						
						
						
						
					 
					
						2021-05-31 00:32:49 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jensun Ravichandran 
							
						 
					 
					
						
						
							
						
						cd73f6c427 
					 
					
						
						
							
							Add examples/dynamic_components.py  
						
						 
						
						
						
						
					 
					
						2021-05-31 00:32:27 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alexander Engelsberger 
							
						 
					 
					
						
						
							
						
						a60337ff27 
					 
					
						
						
							
							[refactor] Move probabilistic to Prototorch  
						
						 
						
						
						
						
					 
					
						2021-05-28 20:39:32 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alexander Engelsberger 
							
						 
					 
					
						
						
							
						
						e3392ee952 
					 
					
						
						
							
							[refactor] DRY Probabilistic models  
						
						 
						
						
						
						
					 
					
						2021-05-28 17:13:06 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alexander Engelsberger 
							
						 
					 
					
						
						
							
						
						dade502686 
					 
					
						
						
							
							Add MNIST datamodule and training mixin factory.  
						
						 
						
						
						
						
					 
					
						2021-05-28 16:33:31 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jensun Ravichandran 
							
						 
					 
					
						
						
							
						
						b7edee02c3 
					 
					
						
						
							
							[WIP] Add CELVQ  
						
						 
						
						... 
						
						
						
						TODO Ensure that the distances/probs corresponding to the plabels are sorted
like the target labels. 
						
						
					 
					
						2021-05-27 17:40:16 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alexander Engelsberger 
							
						 
					 
					
						
						
							
						
						41b2a2f496 
					 
					
						
						
							
							Add model tree to documentation.  
						
						 
						
						
						
						
					 
					
						2021-05-26 21:29:37 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alexander Engelsberger 
							
						 
					 
					
						
						
							
						
						66e3e51a52 
					 
					
						
						
							
							Add references to the documentation.  
						
						 
						
						
						
						
					 
					
						2021-05-26 21:20:17 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alexander Engelsberger 
							
						 
					 
					
						
						
							
						
						0c1f7a4772 
					 
					
						
						
							
							[BUGFIX] Update paths in documentaion for LVQ  
						
						 
						
						
						
						
					 
					
						2021-05-26 16:19:10 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alexander Engelsberger 
							
						 
					 
					
						
						
							
						
						663eb12ad7 
					 
					
						
						
							
							Dummy test gets detected again  
						
						 
						
						
						
						
					 
					
						2021-05-25 22:03:38 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jensun Ravichandran 
							
						 
					 
					
						
						
							
						
						3fa1fb54f1 
					 
					
						
						
							
							Refactor tests  
						
						 
						
						
						
						
					 
					
						2021-05-25 21:28:05 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jensun Ravichandran 
							
						 
					 
					
						
						
							
						
						cc49f26b77 
					 
					
						
						
							
							Remove normalization transform from cli example  
						
						 
						
						
						
						
					 
					
						2021-05-25 21:13:37 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jensun Ravichandran 
							
						 
					 
					
						
						
							
						
						db965541fd 
					 
					
						
						
							
							Update example  
						
						 
						
						
						
						
					 
					
						2021-05-25 20:57:54 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jensun Ravichandran 
							
						 
					 
					
						
						
							
						
						d091dea6a1 
					 
					
						
						
							
							Update tutorial  
						
						 
						
						
						
						
					 
					
						2021-05-25 20:54:07 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jensun Ravichandran 
							
						 
					 
					
						
						
							
						
						d411e52be4 
					 
					
						
						
							
							Refactor non-gradient-lvq models into lvq.py  
						
						 
						
						
						
						
					 
					
						2021-05-25 20:37:34 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alexander Engelsberger 
							
						 
					 
					
						
						
							
						
						32d6f95db0 
					 
					
						
						
							
							Add RSLVQ and LikelihoodLVQ  
						
						 
						
						
						
						
					 
					
						2021-05-25 20:26:15 +02:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jensun Ravichandran 
							
						 
					 
					
						
						
							
						
						139109804f 
					 
					
						
						
							
							[BUGFIX] Use _forward in LVQ1 and LVQ21  
						
						 
						
						
						
						
					 
					
						2021-05-25 17:43:37 +02:00