Certain properties of a VowelMeasurement instance are set by its membership within a VowelClass and that VowelClass’s membership in a VowelClassCollection. These memberships are best managed by passing a list of VowelMeasurements to SpeakerCollection.
vowel_measurements = [VowelMeasurement(t) for t in fasttrack_tracks]speakers = SpeakerCollection(vowel_measurements)
Conversion of the smooth error to log probabilities. The candidate with the lowest error = log(1), and the candidate with the largest error = log(0).
cand_param_(mahal/logprob)_speaker_byvclass
NDArray[Shape[Cand], Float]
The mahalanobis distance (mahal) or associated log probability (logprob) for each candidate relative to the VowelClass for this speaker. These are calculated by drawing the relevant mean and covariance matrix from vm.vowel_class
cand_param_(mahal/logprob)_speaker_global
NDArray[Shape[Cand], Float]
The mahalanobis distance (mahal) or associated log probability (logprob) for each candidate relative to all vowel measurements for this speaker. These are calculated by drawing the relevant mean and covariance matrix from vm.vowel_class.vowel_system
cand_param_(mahal/logprob)_corpus_byvclass
NDArray[Shape[Cand], Float]
The mahalanobis distance (mahal) or associated log probability (logprob) for each candidate relative to this vowel class across all speakers. These are calculated by drawing the relevant mean and covariance matrix from vm.vowel_class.vowel_system.corpus
point_measure
pl.DataFrame
A polars dataframe of the point measurement for this vowel.
vm_context
pl.DataFrame
A polars dataframe of contextual information for the vowel measurement.