som/basic_som.py
def hit_map(self):
        """Shows a heatmap of the codebook where the heat represents how many
        times the nodes were chosen as a BMU.
        """
        hits = [[node.hits for node in row] for row in self.codebook.data]
        plt.imshow(hits, interpolation='none')
        plt.title('Hit map')
        plt.show()
Shows a heatmap of the codebook where the heat represents how many
        times the nodes were chosen as a BMU.
        
Shows a heatmap of the codebook where the heat represents how many
times the nodes were chosen as a BMU.
Shows a heatmap of the codebook where the heat represents how many times the nodes were chosen as a BMU .
def hit_map(self):
        hits = [[node.hits for node in row] for row in self.codebook.data]
        plt.imshow(hits, interpolation='none')
        plt.title('Hit map')
        plt.show()
def hit_map ( self ) : hits = [ [ node . hits for node in row ] for row in self . codebook . data ] plt . imshow ( hits , interpolation = 'none' ) plt . title ( 'Hit map' ) plt . show ( )
Shows a heatmap of the codebook where the heat represents how many
times the nodes were chosen as a BMU.
Shows a heatmap of the codebook where the heat represents how many times the nodes were chosen as a BMU .
"""Shows a heatmap of the codebook where the heat represents how many
        times the nodes were chosen as a BMU.
        """
self