/// <inheritdoc cref="Analyzer{S,M}.ToFailureMetric"/>
 public override DoubleMetric ToFailureMetric(Exception e) =>
 AnalyzersExt.MetricFromFailure(e, "MutualInformation", string.Join(',', Columns),
                                MetricEntity.Multicolumn);
Beispiel #2
0
 /// <inheritdoc cref="Analyzer{S,M}.ToFailureMetric"/>
 public override DoubleMetric ToFailureMetric(Exception e) =>
 AnalyzersExt.MetricFromFailure(e, Name, Instance, _metricEntity);
 /// <summary>
 /// Converts an <see cref="Exception"/> to a <see cref="DoubleMetric"/>.
 /// </summary>
 /// <param name="exception">The exception to convert into <see cref="DoubleMetric"/>.</param>
 /// <returns>The instance of type <see cref="DoubleMetric"/>  that represents the exception.</returns>
 public override DoubleMetric ToFailureMetric(Exception exception) =>
 AnalyzersExt.MetricFromFailure(exception, Name, string.Join(',', Columns),
                                AnalyzersExt.EntityFrom(Columns));