Jensun Ravichandran
2eb7b05653
[FEATURE] Add wrappers for more sklearn datasets
2021-06-01 23:33:51 +02:00
Jensun Ravichandran
d8a0b2dfcc
Minor tweaks
2021-06-01 23:28:01 +02:00
Jensun Ravichandran
2a7394b593
[QA] Remove commented-out torch.jit.script
decorators
2021-06-01 19:46:21 +02:00
Jensun Ravichandran
b1e64c8b8b
[QA] Remove utils.py
2021-06-01 19:41:48 +02:00
Jensun Ravichandran
70cf17607e
[BUGFIX] Fix broken _precheck_initializer
2021-06-01 19:41:21 +02:00
Jensun Ravichandran
b1568a550a
[QA] Fix for "no-self-use" (R0201)
2021-06-01 19:26:05 +02:00
Jensun Ravichandran
e8e803e8ef
[QA] Fix for "dangerous-default-value" (W0102)
2021-06-01 19:24:00 +02:00
Jensun Ravichandran
2c453265fe
[QA] Remove duplicate headings
2021-06-01 19:18:37 +02:00
Jensun Ravichandran
7336d35fee
[QA] Fix "dangerous-default-value" (W0102)
2021-06-01 19:15:06 +02:00
Jensun Ravichandran
bc18952c05
[QA] Fix "dangerous-default-value" (W0102)
2021-06-01 19:10:53 +02:00
Jensun Ravichandran
8e8d0b9c2c
[QA] Fix "list-item-bullet-indent"
2021-06-01 19:08:37 +02:00
Jensun Ravichandran
5a7da2b40b
[QA] Fix for "no-value-for-parameter" (E1120)
2021-06-01 19:03:57 +02:00
Jensun Ravichandran
b6d38f442b
[QA] Remove trailing whitespace
2021-06-01 19:01:20 +02:00
Jensun Ravichandran
8e8851d962
Dynamically remove components
2021-06-01 18:45:47 +02:00
Jensun Ravichandran
27b43b06a7
Rename functions/transform.py -> functions/transforms.py
2021-06-01 17:43:23 +02:00
Jensun Ravichandran
ff69eb1256
Tecator.data is a Tensor and Tecator.targets is a LongTensor
2021-06-01 17:28:37 +02:00
Alexander Engelsberger
4ca581909a
[FEATURE] Change NumpyDataset.data to torch.Tensor
2021-06-01 17:17:42 +02:00
Alexander Engelsberger
2722d976f5
[WIP] Add Growing Neural Gas Energy
2021-06-01 17:16:26 +02:00
Jensun Ravichandran
946cda00d2
Add more competition functions
2021-06-01 12:37:21 +02:00
Jensun Ravichandran
8227525c82
Add LambdaLayer
2021-05-31 16:47:20 +02:00
Jensun Ravichandran
e61ae73749
Make components dynamic
2021-05-31 00:31:40 +02:00
Alexander Engelsberger
040d1ee9e8
Add probabilistic losses
...
Based on Soft LVQ paper by Seo and Obermayer
2021-05-28 20:38:50 +02:00
Alexander Engelsberger
7f0da894fa
Add transformation from distances into gaussian distribution
2021-05-28 16:50:04 +02:00
Alexander Engelsberger
62726df278
Add stratified sum as competition
...
For example used in RSLVQ
2021-05-28 16:49:39 +02:00
Alexander Engelsberger
0ba09db6fe
Bump version: 0.4.5 → 0.5.0
2021-05-28 16:17:49 +02:00
Alexander Engelsberger
87334c11e6
Remove Prototypes1D and its tests
2021-05-28 16:17:49 +02:00
Alexander Engelsberger
40ef3aeda2
Remove usage of Prototype1D
...
Update Iris example to new component API
Update Tecator example to new component API
Update LGMLVQ example to new component API
Update GTLVQ to new component API
2021-05-28 16:17:40 +02:00
Christoph
94fe4435a8
Bump version: 0.4.4 → 0.4.5
2021-05-27 09:58:25 +02:00
Alexander Engelsberger
c204bc8e1f
integrate reviews from ChristophRaab:master
2021-05-27 09:43:02 +02:00
Alexander Engelsberger
00615ae837
refactored gtlvq from ChristophRaab:master
2021-05-27 09:40:42 +02:00
Jensun Ravichandran
9f5f0d12dd
[BUGFIX] Parse dictionary distribution appropirately
2021-05-25 20:52:39 +02:00
Jensun Ravichandran
8a291f7bfb
Overload distribution
argument in component initializers
...
The component initializers behave differently based on the type of the
`distribution` argument. If it is a Python
[list](https://docs.python.org/3/tutorial/datastructures.html ), it is assumed
that there are as many entries in this list as there are classes, and the number
at each location of this list describes the number of prototypes to be used for
that particular class. So, `[1, 1, 1]` implies that we have three classes with
one prototype per class. If it is a Python
[tuple](https://docs.python.org/3/tutorial/datastructures.html ), it a shorthand
of `(num_classes, prototypes_per_class)` is assumed. If it is a Python
[dictionary](https://docs.python.org/3/tutorial/datastructures.html ), the
key-value pairs describe the class label and the number of prototypes for that
class respectively. So, `{0: 2, 1: 2, 2: 2}` implies that we have three classes
with labels `{1, 2, 3}`, each equipped with two prototypes.
2021-05-25 20:05:29 +02:00
Alexander Engelsberger
21e3e3b82d
Cache pip in CI
2021-05-25 16:43:48 +02:00
Alexander Engelsberger
a6bd6e130a
Add subpackages into prototorch namespace.
2021-05-25 16:40:53 +02:00
Alexander Engelsberger
fcdfa52892
Ignore artiifacts folder
2021-05-25 16:40:34 +02:00
Alexander Engelsberger
73e6fe384e
Use 'num_' in all variable names
2021-05-25 15:57:05 +02:00
Alexander Engelsberger
aff7a385a3
Use dict for distribution
...
This change allows the use of LightningCLI.
2021-05-21 17:10:02 +02:00
Jensun Ravichandran
1e23ba05fa
Add test_components
2021-05-21 16:22:02 +02:00
Alexander Engelsberger
ee30d4da5b
[BUGFIX] Initializers can handle Dataloaders now
2021-05-21 16:00:20 +02:00
Alexander Engelsberger
14508f0600
[DOC] Small improvements
2021-05-21 15:59:44 +02:00
Jensun Ravichandran
e3f8828da4
Accept dataloaders for component initialization
2021-05-21 11:59:57 +02:00
Jensun Ravichandran
30adbf705c
Update dependencies
2021-05-20 11:44:53 +02:00
Jensun Ravichandran
ee42fd68b1
NumpyDataset now has data and targets properties
2021-05-18 19:38:40 +02:00
Jensun Ravichandran
736d9a6349
Rename PositionAwareInitializer to DataAwareInitializer
...
Also, add the aliases `Zeros` and `Ones`.
2021-05-18 19:37:25 +02:00
Alexander Engelsberger
0055e15bc1
[DOC] Fix iris data dimension
2021-05-18 18:57:03 +02:00
Alexander Engelsberger
b2e1df7308
Improve dataset documentation.
2021-05-18 18:54:43 +02:00
Jensun Ravichandran
b935e9caf3
Update _get_dp_dm
2021-05-18 13:09:11 +02:00
Jensun Ravichandran
503ef0e05f
Cleanup components
2021-05-17 16:58:57 +02:00
Jensun Ravichandran
dc6248413c
Apply transformations in component initializers
2021-05-17 16:58:22 +02:00
Jensun Ravichandran
e73b70ceb7
Minor aesthetic change
2021-05-17 16:57:41 +02:00