Commit Graph

297 Commits

Author SHA1 Message Date
blackfly
8f3a43f62a Remove assert statements following codacy security recommendation
"Use of assert detected. The enclosed code will be removed when compiling to
optimised byte code."
2020-04-11 15:45:29 +02:00
blackfly
955661af95 Remove utils import from prototorch/__init__.py 2020-04-11 15:12:53 +02:00
blackfly
c54d14c55e Remove datasets import from prototorch/__init__.py 2020-04-11 14:59:11 +02:00
blackfly
6090aad176 Update examples/glvq_iris.py to use the recently modified API 2020-04-11 14:29:06 +02:00
blackfly
1ec7bd261b Add small API changes and more test cases 2020-04-11 14:28:22 +02:00
blackfly
da3b0cc262 Update RELEASE.md 2020-04-11 14:26:05 +02:00
blackfly
f640a22cf2 Rename input to x in activation functions 2020-04-11 14:25:35 +02:00
blackfly
c843ace63d Update README.md 2020-04-11 14:22:34 +02:00
blackfly
242c9de3b6 Fix codecov reporting in .travis.yml 2020-04-08 23:37:11 +02:00
blackfly
438a5b9360 Bump version: 0.1.0-rc0 → 0.1.1-dev0 2020-04-08 23:00:34 +02:00
blackfly
f98f3d095e Update .travis.yml to cache artifacts from test scripts 2020-04-08 22:47:31 +02:00
blackfly
21b0279839 Add test cases 2020-04-08 22:47:08 +02:00
blackfly
b19cbcb76a Fix zero-distance bug in glvq_loss 2020-04-08 22:46:08 +02:00
blackfly
7d5ab81dbf Clean up prototorch/functions/distances.py 2020-04-08 22:44:02 +02:00
blackfly
bde408a80e Prepare activation and competition functions for TorchScript 2020-04-08 22:42:56 +02:00
blackfly
900955d67a Rename tests github action 2020-04-08 22:34:26 +02:00
blackfly
3757c937b3 Bump version: 0.1.0-dev0 → 0.1.0-rc0 2020-04-06 21:49:52 +02:00
blackfly
38f637aaeb Add build status batch from travis 2020-04-06 21:38:47 +02:00
blackfly
6ddfe48a95 Use bionic distribution instead of trusty
Downloading archive: ...binaries/ubuntu/14.04/x86_64/python-3.8.tar.bz2
$ curl -sSf --retry 5 -o python-3.8.tar.bz2 ${archive_url}
curl: (22) The requested URL returned error: 404 Not Found
Unable to download 3.8 archive. The archive may not exist.
Please consider a different version.
2020-04-06 21:21:14 +02:00
blackfly
bf0e694321 Add missing torch dependency in travis.yml 2020-04-06 21:16:43 +02:00
blackfly
e2c9848120 Update tox.ini to use coverage 2020-04-06 21:05:57 +02:00
blackfly
dc60b7e5b5 Add .travis.yml 2020-04-06 21:05:20 +02:00
blackfly
c21913fdd4 Add tests/__init__.py
Adding the __init__.py file makes it possible to run `coverage run -m pytest`
from the project root.
2020-04-06 21:01:50 +02:00
blackfly
59e31f94ab Add more version badges and bibtex section to README.md 2020-04-06 19:59:52 +02:00
blackfly
cddefa9b0d Add RELEASE.md 2020-04-06 18:52:12 +02:00
blackfly
26d71fdd60 Add version badges to README.md 2020-04-06 18:48:02 +02:00
blackfly
ced8f532dd Update MANIFEST.in to include codecov and test scripts 2020-04-06 18:32:06 +02:00
blackfly
4ec0bb5e60 Bump version: 0.0.0-dev1 → 0.1.0-dev0 2020-04-06 18:22:15 +02:00
blackfly
f1b3f8a693 Add .codecov.yml and codecov badge to README.md 2020-04-06 18:07:15 +02:00
blackfly
a287953c48 Fix broken "Tests" workflow 2020-04-06 17:45:15 +02:00
blackfly
624de3b471 Fix "Tests" workflow 2020-04-06 17:42:29 +02:00
blackfly
ab285ffcd4 Add examples/glvq_iris.py
This example demonstrates how to use the prototype module and the distance
functions from ProtoTorch together with the `GLVQLoss` module to implement
a GLVQ model and train it on the Iris dataset from scikit-learn.
2020-04-06 16:43:59 +02:00
blackfly
b581f3ab02 Add tests/test_modules.py 2020-04-06 16:36:43 +02:00
blackfly
398d863232 Add prototype and loss modules 2020-04-06 16:36:28 +02:00
blackfly
8a96749716 Add tests/test_functions.py 2020-04-06 16:34:52 +02:00
blackfly
33e8f1297f Add basic prototorch functions needed for GLVQ 2020-04-06 16:33:51 +02:00
blackfly
f9bc4a29c9 Clean installation requirements in setup.py 2020-04-06 15:58:35 +02:00
blackfly
a113b45a73 Add distance functions 2020-04-05 13:41:17 +02:00
blackfly
93e70b6c82 Add prototorch/functions/__init__.py 2020-04-05 13:39:16 +02:00
blackfly
5d7188abf1 Add prototorch/__init__.py 2020-04-05 13:38:29 +02:00
blackfly
c4878f806e Update versioning convention 2020-04-05 13:31:06 +02:00
blackfly
9dca392159 Update README.md 2020-03-30 13:30:10 +02:00
blackfly
cab2d5e77c Remove pytorch_lightning requirement from setup.py 2020-03-30 13:29:34 +02:00
blackfly
5aedc68527 Fix typo in .bumpversion.cfg 2020-03-30 13:29:04 +02:00
blackfly
326eddc278 Add setup.py and other project files 2020-02-17 18:02:52 +01:00
blackfly
eb5ed171be Update README 2020-02-17 18:00:12 +01:00
Jensun Ravichandran
94727baa85
Initial commit 2020-02-07 10:11:36 +01:00