CompressionOptimizerOptions
Options & Configuration · AiDotNet.AutoML
Configuration options for the compression optimizer.
Constructors
| Constructor | Summary |
|---|---|
CompressionOptimizerOptions() |
Properties
| Property | Summary |
|---|---|
bool IncludeEncoding { get; set; } |
Gets or sets whether to include encoding techniques (default: true). |
bool IncludeHybrid { get; set; } |
Gets or sets whether to include hybrid techniques like Deep Compression (default: true). |
bool IncludePruning { get; set; } |
Gets or sets whether to include pruning techniques (default: true). |
bool IncludeQuantization { get; set; } |
Gets or sets whether to include quantization techniques (default: true). |
double AccuracyWeight { get; set; } |
Gets or sets the weight for accuracy in fitness calculation (default: 0.5). |
double CompressionWeight { get; set; } |
Gets or sets the weight for compression ratio in fitness calculation (default: 0.3). |
double MaxAccuracyLoss { get; set; } |
Gets or sets the maximum acceptable accuracy loss as a fraction (default: 0.02 = 2%). |
double MinCompressionRatio { get; set; } |
Gets or sets the minimum acceptable compression ratio (default: 2.0). |
double SpeedWeight { get; set; } |
Gets or sets the weight for inference speed in fitness calculation (default: 0.2). |
int MaxTrials { get; set; } |
Gets or sets the maximum number of trials to run (default: 20). |
int? RandomSeed { get; set; } |
Gets or sets the random seed for reproducibility (default: null for random). |