A degree-of-anomaly calculation apparatus that calculates a degree of anomaly of input sound, the input sound being input, so as to detect whether or not the input sound is anomalous sound, the degree-of-anomaly calculation apparatus comprising:
- an acoustic feature extraction unit that extracts an acoustic feature of the input sound by using a feature amount extraction function;
- and
- a degree-of-anomaly calculation unit that calculates a degree of anomaly of the input sound by using the acoustic feature that is extracted, wherein
- the feature amount extraction function is based on probability distribution modeling sound which can include normal sound and anomalous sound, probability distribution modeling normal sound, and probability distribution modeling anomalous sound that is input, and
- the threshold is set by using degrees of anomaly obtained from the normal sound.