1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-12-22 13:08:13 +00:00

fixes typo in code

This commit is contained in:
drevicko 2017-05-29 12:15:35 +01:00 committed by GitHub
parent 65d6e47513
commit 6b843a4384

View File

@ -49,7 +49,7 @@ class CentroidConversion(EmotionConversionPlugin):
def _backwards_conversion(self, original):
"""Find the closest category"""
dimensions = set(k.keys() for i in centroids.values())
dimensions = set(c.keys() for c in centroids.values())
neutralPoint = self.get("origin", None)
neutralPoint = {k:neutralPoint[k] if k in neturalPoint else 0}