'Mfcc classification: in sklearn how could I solve the dimension error of y

prediction_class = labelencoder.inverse_transform(predicted_label) prediction_class

ValueError: y should be a 1d array, got an array of shape (1, 10) instead.

please help me to solve



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source