We discuss the use of matrix relevance learning, a popular extension to prototype learning algorithms, applied to a three-class classification task of diagnosing cassava diseases from spectral data. Previously this diagnosis has been done using plant image data taken with a smartphone. However for this method disease symptoms need to be visible. Unfortunately for some cassava diseases, once symptoms have manifested on the aerial part of the plant, the root which is the edible part of the plant has been totally destroyed. This research is premised on the hypothesis that diseased crops without visible symptoms can be detected using spectral information, allowing for early interventions. In this paper, we analyze visible and near-infrared spectra captured from leaves infected with two common cassava diseases (cassava brown streak disease and cassava mosaic virus disease) found in Sub-Saharan Africa. We also take spectra from leaves of healthy plants. The spectral data come with thousands of dimensions, therefore different wavelengths are analyzed in order to identify the most relevant spectral bands for diagnosing these disease. To cope with the nominally high number of input dimensions of data, functional decomposition of the spectra is applied. The classification task is addressed using Generalized Matrix Relevance Learning Vector Quantization and compared with the standard classification techniques performed in the space of expansion coefficients.