Table of Contents

Class WeightAnalysisResult<T>

Namespace
AiDotNet.ModelCompression
Assembly
AiDotNet.dll

Analysis results for model weights to guide compression decisions.

public class WeightAnalysisResult<T>

Type Parameters

T

The numeric type used for calculations.

Inheritance
WeightAnalysisResult<T>
Inherited Members

Properties

ClusteringPotential

Gets or sets the clustering potential (how much quantization will help).

public T ClusteringPotential { get; set; }

Property Value

T

Entropy

Gets or sets the entropy of weight distribution (for Huffman coding potential).

public T Entropy { get; set; }

Property Value

T

EstimatedCompressionRatio

Gets or sets the estimated compression ratio achievable.

public T EstimatedCompressionRatio { get; set; }

Property Value

T

MaxMagnitude

Gets or sets the maximum weight magnitude.

public T MaxMagnitude { get; set; }

Property Value

T

MeanMagnitude

Gets or sets the mean weight magnitude.

public T MeanMagnitude { get; set; }

Property Value

T

MinMagnitude

Gets or sets the minimum weight magnitude.

public T MinMagnitude { get; set; }

Property Value

T

NearZeroWeights

Gets or sets the number of weights with near-zero magnitude.

public long NearZeroWeights { get; set; }

Property Value

long

PruningPotential

Gets or sets the fraction of weights that are near-zero (pruning potential).

public T PruningPotential { get; set; }

Property Value

T

RecommendationReasoning

Gets or sets the reasoning for the recommendation.

public string RecommendationReasoning { get; set; }

Property Value

string

RecommendedParameters

Gets or sets the recommended hyperparameters for the compression technique.

public Dictionary<string, object> RecommendedParameters { get; set; }

Property Value

Dictionary<string, object>

RecommendedTechnique

Gets or sets the recommended compression technique based on analysis.

public CompressionType RecommendedTechnique { get; set; }

Property Value

CompressionType

StdDevMagnitude

Gets or sets the standard deviation of weight magnitudes.

public T StdDevMagnitude { get; set; }

Property Value

T

TotalWeights

Gets or sets the total number of weights analyzed.

public long TotalWeights { get; set; }

Property Value

long

UniqueValues

Gets or sets the number of unique weight values (for clustering potential).

public long UniqueValues { get; set; }

Property Value

long