Commit Graph

2 Commits

Author SHA1 Message Date
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