Table of Contents

Method Assessed

Namespace
MailFathom.Domain.Emails.Authorship
Assembly
MailFathom.Domain.dll

Assessed(MachineAuthorshipBand, double, MachineAuthorshipSignals, MachineAuthorshipProfileRevision)

Records what one profile made of the signals it read out of a message's text.

public static MachineAuthorshipAssessment Assessed(MachineAuthorshipBand band, double likelihood, MachineAuthorshipSignals signals, MachineAuthorshipProfileRevision profileRevision)

Parameters

band MachineAuthorshipBand

The coarse reading of the likelihood.

likelihood double

How strongly the text read as machine written, from zero to one inclusive.

signals MachineAuthorshipSignals

What the text carried.

profileRevision MachineAuthorshipProfileRevision

The weighting the reading was reached under.

Returns

MachineAuthorshipAssessment

The assessment.

Remarks

The not-assessed band is refused here rather than accepted and normalized, because a reading that ran is a different statement from one that did not and only NotAssessed may make the second. A non-finite likelihood is refused for the reason a spam score is: it would compare false against every threshold whichever way the comparison is written, which reads as an ordinary message rather than as an assessment that failed.

Exceptions

ArgumentOutOfRangeException

Thrown when the band says nothing was read, or when the likelihood is not a finite number within the scale.