mirror of
https://github.com/gsi-upm/senpy
synced 2025-08-24 02:22:20 +00:00
fixes typo in code
This commit is contained in:
@@ -49,7 +49,7 @@ class CentroidConversion(EmotionConversionPlugin):
|
|||||||
|
|
||||||
def _backwards_conversion(self, original):
|
def _backwards_conversion(self, original):
|
||||||
"""Find the closest category"""
|
"""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 = self.get("origin", None)
|
||||||
neutralPoint = {k:neutralPoint[k] if k in neturalPoint else 0}
|
neutralPoint = {k:neutralPoint[k] if k in neturalPoint else 0}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user