Feature Distance#
- features_vector_l1(e1: <module 'mapof.elections.objects.Election' from '/Users/szufa/PyCharmProjects/mapof-elections/src/mapof/elections/objects/Election.py'>, e2: <module 'mapof.elections.objects.Election' from '/Users/szufa/PyCharmProjects/mapof-elections/src/mapof/elections/objects/Election.py'>)[source]#
L1 distance between two feature vectors
- features_vector_l2(e1: <module 'mapof.elections.objects.Election' from '/Users/szufa/PyCharmProjects/mapof-elections/src/mapof/elections/objects/Election.py'>, e2: <module 'mapof.elections.objects.Election' from '/Users/szufa/PyCharmProjects/mapof-elections/src/mapof/elections/objects/Election.py'>)[source]#
L2 distance between two feature vectors