PrototypeMatch<T>

Models & Types · AiDotNet.Interpretability.Explainers

Represents a matched prototype.

Constructors

Constructor Summary
PrototypeMatch()

Properties

Property Summary
T Distance { get; set; } Gets or sets the distance from the input to this prototype.
T Label { get; set; } Gets or sets the label of the prototype.
T Similarity { get; set; } Gets or sets the similarity (1 / (1 + distance)).
Vector<T> PrototypeFeatures { get; set; } Gets or sets the feature values of the prototype.
bool IsSameClass { get; set; } Gets or sets whether this prototype has the same class as the input.
int PrototypeIndex { get; set; } Gets or sets the index of the prototype in the prototype set.
string PrototypeName { get; set; } Gets or sets the name/ID of the prototype.