Commit Graph

4 Commits

Author SHA1 Message Date
blackfly
63a25e7a38 Refactor examples/glvq_iris.py 2020-04-14 19:57:19 +02:00
blackfly
8c629c0cb1 Fix a bunch of codacy code-style issues 2020-04-11 15:47:26 +02:00
blackfly
6090aad176 Update examples/glvq_iris.py to use the recently modified API 2020-04-11 14:29:06 +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