som/som.py
def hits(self):
        """Returns the total amount of hits this node recieved, i.e. the amount
        of times this node was chosen as BMU.
        """
        return sum(self.labels.values())
Returns the total amount of hits this node recieved, i.e. the amount
        of times this node was chosen as BMU.
        
Returns the total amount of hits this node recieved, i.e. the amount
of times this node was chosen as BMU.
Returns the total amount of hits this node recieved i . e . the amount of times this node was chosen as BMU .
def hits(self):
        return sum(self.labels.values())
def hits ( self ) : return sum ( self . labels . values ( ) )
Returns the total amount of hits this node recieved, i.e.
Returns the total amount of hits this node recieved i . e .
"""Returns the total amount of hits this node recieved, i.e. the amount
        of times this node was chosen as BMU.
        """
self