NeuronAttributionResult<T>
Models & Types · AiDotNet.Interpretability.Explainers
Result of neuron attribution.
Constructors
| Constructor |
Summary |
NeuronAttributionResult() |
|
Properties
| Property |
Summary |
NeuronAttributionMethod Method { get; set; } |
Gets or sets the attribution method used. |
Vector<T> Activations { get; set; } |
Gets or sets the neuron activations. |
Vector<T> Attributions { get; set; } |
Gets or sets attribution scores for each neuron. |
Vector<T> Instance { get; set; } |
Gets or sets the input instance. |
Vector<T> Prediction { get; set; } |
Gets or sets the model prediction. |
int TargetClass { get; set; } |
Gets or sets the target class. |
string[] NeuronNames { get; set; } |
Gets or sets neuron names. |
Methods
| Method |
Summary |
IEnumerable<ValueTuple<int, string, T, T>> GetTopNeurons(int k) |
Gets the top K neurons by attribution magnitude. |
string ToString() |
Returns a human-readable summary. |