som/basic_som.py
def color_plot(self):
        """Shows a representation of the BasicSOM where every codebook vector
        is represented as a color.  Of course, this only works for 3- or
        4-dimensional data.
        """
        assert 3 <= self.data_vector_size <= 4

        values = [[x.vector for x in row] for row in self.codebook.data]
        plt.imshow(values, interpolation='none')
        plt.title('Color plot')
        plt.show()
Shows a representation of the BasicSOM where every codebook vector
        is represented as a color.  Of course, this only works for 3- or
        4-dimensional data.
        
Shows a representation of the BasicSOM where every codebook vector
is represented as a color.  Of course, this only works for 3- or
4-dimensional data.
Shows a representation of the BasicSOM where every codebook vector is represented as a color . Of course this only works for 3 - or 4 - dimensional data .
def color_plot(self):
        assert 3 <= self.data_vector_size <= 4
        values = [[x.vector for x in row] for row in self.codebook.data]
        plt.imshow(values, interpolation='none')
        plt.title('Color plot')
        plt.show()
def color_plot ( self ) : assert 3 <= self . data_vector_size <= 4 values = [ [ x . vector for x in row ] for row in self . codebook . data ] plt . imshow ( values , interpolation = 'none' ) plt . title ( 'Color plot' ) plt . show ( )
Shows a representation of the BasicSOM where every codebook vector
is represented as a color.
Shows a representation of the BasicSOM where every codebook vector is represented as a color .
"""Shows a representation of the BasicSOM where every codebook vector
        is represented as a color.  Of course, this only works for 3- or
        4-dimensional data.
        """
self