API

GLVQ

User guide: See the Generalized Learning Vector Quantization section for further details.

GlvqModel([prototypes_per_class, …]) Generalized Learning Vector Quantization
GrlvqModel([prototypes_per_class, …]) Generalized Relevance Learning Vector Quantization
GmlvqModel([prototypes_per_class, …]) Generalized Matrix Learning Vector Quantization
LgmlvqModel([prototypes_per_class, …]) Localized Generalized Matrix Learning Vector Quantization

RSLVQ

User guide: See the Robust Soft Learning Vector Quantization section for further details.

RslvqModel([prototypes_per_class, …]) Robust Soft Learning Vector Quantization
MrslvqModel([prototypes_per_class, …]) Matrix Robust Soft Learning Vector Quantization
LmrslvqModel([prototypes_per_class, …]) Localized Matrix Robust Soft Learning Vector Quantization

Utils

utils.plot2d(model, x, y, figure[, title]) Projects the input data to two dimensions and plots it.