AudioClassifierBase<T>

Base Classes · AiDotNet.Audio.Classification

Base class for audio classification models (genre, event detection, scene classification).

Inheritance: NeuralNetworkBase<T> → AudioNeuralNetworkBase<T> → AudioClassifierBase<T>

Known derived types: AST<T>, AudioEventDetector<T>, AudioLDMClassifier<T>, AudioMAE<T>, AudioSep<T>, BEATs<T>, CLAP<T>, CRNNEventDetector<T>, EAT<T>, Emotion2Vec<T>, FDYSED<T>, GenreClassifier<T>, HTSAT<T>, HuBERTSER<T>, PANNs<T>, SceneClassifier<T>, SpeechEmotionRecognizer<T>, Wav2Small<T>

For Beginners

Audio classification is like teaching a computer to recognize different types of sounds, similar to how you can tell the difference between a dog barking and a car horn.

This base class provides:

  • Class label management
  • Softmax for probability conversion
  • Common feature extraction

How It Works

Audio classification assigns labels to audio clips. This base class provides common functionality for various classification tasks including:

  • Genre classification (rock, jazz, classical)
  • Audio event detection (dog bark, car horn)
  • Scene classification (office, park, street)

Properties

Property Summary
IReadOnlyList<string> ClassLabels { get; set; } Gets the list of class labels this model can classify.
int NumClasses { get; } Gets the number of classes this model can classify.