glvq.plot2d

glvq.plot2d(model, x, y, figure, title='', prototype_count=-1)[source]

Projects the input data to two dimensions and plots it. The projection is done using the relevances of the given glvq model.

Parameters:
  • model – GlvqModel that has relevances (GrlvqModel,GmlvqModel,LgmlvqModel)
  • x – Input data
  • y – Input data target
  • figure – the figure to plot on
  • title – the title to use, optional
Returns:

None