pub struct Evaluation {
pub original_edit_distance: usize,
pub new_edit_distance: usize,
pub number_of_flagged_measures: usize,
pub total_number_of_measures: usize,
}Expand description
What evaluate_correcting_model finds: music21’s dictionary of the
same.
Fields§
§original_edit_distance: usizeThe edit distance from the ground truth before correcting.
new_edit_distance: usizeThe edit distance after.
number_of_flagged_measures: usizeHow many measures were flagged.
total_number_of_measures: usizeHow many measures the recognised score has.
Trait Implementations§
Source§impl Clone for Evaluation
impl Clone for Evaluation
impl Copy for Evaluation
Source§impl Debug for Evaluation
impl Debug for Evaluation
Source§impl<'de> Deserialize<'de> for Evaluation
Available on crate feature serde only.
impl<'de> Deserialize<'de> for Evaluation
Available on crate feature
serde only.Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Evaluation
Source§impl PartialEq for Evaluation
impl PartialEq for Evaluation
Source§impl Serialize for Evaluation
Available on crate feature serde only.
impl Serialize for Evaluation
Available on crate feature
serde only.impl StructuralPartialEq for Evaluation
Auto Trait Implementations§
impl Freeze for Evaluation
impl RefUnwindSafe for Evaluation
impl Send for Evaluation
impl Sync for Evaluation
impl Unpin for Evaluation
impl UnsafeUnpin for Evaluation
impl UnwindSafe for Evaluation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more