The invention provides a fault diagnosis method for a power compartment of an
armored car of a related vector
machine based on optimization, and the method comprises the steps: 1, collecting the fault sample data of the power compartment through a sensor, and obtaining sample data S={(xi, yi)}, wherein xi is an i-th n-dimensional attribute sample, i is within the range [1, N], N is the total number of samples, and yi is a fault type corresponding to the i-th sample; 2, carrying out the normalization preprocessing of the sample data S, and obtaining a
training set and a
test set; 3, selecting an optimal RVM core parameter sigma through a
cuckoo search algorithm based on
Gaussian disturbance; 4, inputting the data of the
training set into an RVM model, carrying out training, and constructing the related vector
machine; 5, carrying out the classification of the data of the
test set through employing the constructed RVM (related vector
machine), and obtaining a corresponding fault state of the power compartment. The method can improve the classification precision while shortening the
training time, is strong in generalization capability, can accurately detect different faults of the power compartment, and well solves a problem of fault diagnosis of an integrated machine of the power compartment.