Evaluation Function Constructor
Info
| Program Developer | |
| Described Version | 0.564 |
| Documentation | DeepWiki |
About
Program for creating evaluation functions.
Switches
| Key | Description |
|---|---|
| -p <name> | Obligatory switch with project name |
| -pa | Perform operations for all projects |
| -c[d] | Convert text to binary data and generate initial patterns.
|
-g{c,p[s],b} |
gp - generate patterns from configurations being generated. gps - Show all configurations during generation. gb - Generate pattern basis from patterns being generated |
| -f[p,u] | Fit weights of pattern configurations.
u - Force to use previous parameters if exist |
| -l | List stats on test data |
| -s | List sorted stats on test data |
| -w | List pattern configuration weights |
| -b[f] | Build evaluation function.
|
| -v | Validate evaluation function |
| -a | Append log file |
| -h, -?, -i | Help |
Config file
Parameters contained in efc.ini.
File Names
| Key | Description |
|---|---|
| LogData | Dual output log file |
| TextData | Human-readable training data |
| BinaryData | Binary test data with duplicates removed |
| ConfigData | Configurations organized by cardinality |
| PatternData | Filtered pattern specifications |
| CoreData | Complete specification (test + patterns) |
| ParametersData | Optimized double-precision weights |
| EFData | Final packaged evaluation function |
Weight Fitting Parameters
These four parameters control the gradient descent optimization algorithm that learns pattern weights from training data. The algorithm implements momentum-based gradient descent with configurable convergence criteria.
| Key | Description |
|---|---|
| Epsilon | Convergence Threshold. Defines the minimum per-test-example improvement in squared error required to continue optimization |
| Alpha | Learning Rate. Scales the gradient magnitude during parameter updates. Larger values take bigger steps in parameter space |
| Beta | Momentum Coefficient. Weights the previous update direction in the current update, enabling momentum to accelerate convergence and escape shallow local minima. |
| MaxIterationCount | Safety Limit. Hard upper bound on optimization iterations to prevent infinite loops or excessive runtime |
Probabilistic Weight Fitting Parameters
These parameters enable stochastic perturbation during optimization to escape local minima. When active, random subsets of parameters are temporarily frozen while others are updated, creating exploration dynamics.
| Key | Description |
|---|---|
| RandomFactor | Exploration Rate. Together determine the fraction of parameters randomly frozen during each update cycle. Each parameter has RandomProbability / RandomFactor chance of being frozen |
| RandomProbability | |
| RandomUpdate | Refresh Interval. Controls how many iterations use the same random mask before regenerating. Lower values increase variability, higher values provide stability |
| RandomStartSeed | Reproducibility. Initializes the pseudo-random number generator for reproducible experiments. Same seed produces identical random sequences |
Configuration Generation Parameters
These parameters control the complexity and filtering of patterns generated during the configuration and pattern generation stages. They determine which variable combinations are considered as features for the evaluation function.
| Key | Description |
|---|---|
| MatchThreshold | Minimum Pattern Frequency. Defines the minimum number of test examples in which a configuration must appear to be considered as a viable pattern. Acts as a frequency filter during configuration generation |
| MaxCardinality | Pattern Complexity Limit. Limits the maximum number of variables that can be combined in a single pattern. Controls the combinatorial explosion during configuration generation |
Patterns Generation Parameters
| Key | Description |
|---|---|
| PatternExistanceCoefficient | Coverage Threshold. Filters patterns based on their coverage ratio: count / complexity. A pattern must appear in at least this fraction of its possible instantiations to be kept |
Function Types
Primary Functions
| Key | Description |
|---|---|
| Distance | |
| GraphPointType0 | |
| EquipmentType | |
| ItemDeterioration | |
| EquipmentPreference | |
| MainWeaponType | |
| MainWeaponPreference | |
| ItemValue | |
| WeaponAmmo | |
| DetectorType | |
| PersonalHealth | |
| PersonalMorale | |
| PersonalCreatureType | |
| PersonalWeaponType | |
| PersonalAccuracy | |
| PersonalIntelligence | |
| PersonalRelation | |
| PersonalGreed | |
| PersonalAggressiveness | |
| PersonalEyeRange | |
| PersonalMaxHealth | |
| EnemyHealth | |
| EnemyCreatureType | |
| EnemyWeaponType | |
| EnemyEquipmentCost | |
| EnemyRukzakWeight | |
| EnemyAnomality | |
| EnemyEyeRange | |
| EnemyMaxHealth | |
| EnemyAnomalyType | |
| EnemyDistanceToGraphPoint |
Complex Functions
| Key | Description |
|---|---|
| WeaponEffectiveness | |
| CreatureEffectiveness | |
| IntCreatureEffectiveness | |
| AccWeaponEffectiveness | |
| FinCreatureEffectiveness | |
| VictoryProbability | |
| EntityCost | |
| Expediency | |
| SurgeDeathProbability | |
| EquipmentValue | |
| MainWeaponValue | |
| SmallWeaponValue | |
| TerrainType | |
| WeaponAttackTimes | |
| WeaponSuccessProbability | |
| EnemyDetectability | |
| EnemyDetectProbability | |
| AnomalyDetectProbability | |
| AnomalyInteractProbability | |
| AnomalyRetreatProbability | |
| BirthPercentage | |
| BirthProbability | |
| BirthSpeed |