TracInResult<T>
Models & Types · AiDotNet.Interpretability.Explainers
Result of TracIn computation.
Constructors
| Constructor |
Summary |
TracInResult(Vector<T> testInput, T testLabel, Vector<T> tracInScores, int numCheckpoints) |
Initializes a new TracIn result. |
Properties
| Property |
Summary |
T TestLabel { get; } |
Gets the test label. |
Vector<T> TestInput { get; } |
Gets the test input. |
Vector<T> TracInScores { get; } |
Gets TracIn scores for each training sample. |
int NumCheckpoints { get; } |
Gets the number of checkpoints used. |
Methods
| Method |
Summary |
IEnumerable<ValueTuple<int, T>> GetTopInfluential(int k) |
Gets the most influential training samples according to TracIn. |
string ToString() |
Returns a human-readable summary. |