1. A method executed by a processor for diagnosing a compressor, the method comprising: measuring one or more compressor parameters comprising data of the compressor using a plurality of sensors distributed on the compressor; generating, by the processor, a feature vector of the compressor using the data obtained from the plurality of sensors, the feature vector of the compressor including components describing states of various parts of the compressor; defining, by the processor, fuzzy constraints for deviations of the components of the feature vector from reference values, wherein the fuzzy constraints are thresholds that change continuously from a low value to a high value; determining, by the processor, based on the fuzzy constraints, an aggregated anomaly vector corresponding to the feature vector; defining, by the processor, rules for a preset list of possible faults/failure modes of the compressor; calculating, by the processor, a corroborating measure between the aggregated anomaly vector and the rules; identifying, by the processor, a fault/failure mode of the compressor based on a result of the corroborating measure; generating a list of fault/failure modes of the compressor, wherein the list of fault/failure modes comprises a ranked, ordered list; and performing a corrective action based upon the generated list.