init(_:)
Creates a metric with just a name.
Declaration
init(_ name: String)Discussion
let metric = Metric("Accuracy")Use the factory methods — passing, failing, scoring, or ignore — to produce results.
Creates a metric with just a name.
init(_ name: String)let metric = Metric("Accuracy")Use the factory methods — passing, failing, scoring, or ignore — to produce results.