|
QDpy
|
Fixed descriptor scaling learned offline from successful training runs. More...
Public Member Functions | |
| fit (cls, initial, successful, *, method="i2s", exponent=2., bounds=None) | |
| Fit Initial-to-Solution (I2S) or Across-Solutions (XS) weights. | |
| transform (self, descriptors) | |
| Apply the fixed normalization and scaling to a descriptor or batch. | |
Fixed descriptor scaling learned offline from successful training runs.
Fit on training tasks, then apply the same transform to every search candidate.
Definition at line 46 of file behavior_transfer.py.
| qdpy.algorithms.behavior_transfer.BehaviorCharacterization.fit | ( | cls, | |
| initial, | |||
| successful, | |||
| * | , | ||
| method = "i2s", | |||
| exponent = 2., | |||
| bounds = None ) |
Fit Initial-to-Solution (I2S) or Across-Solutions (XS) weights.
| initial | One normalized descriptor per initial training observation. |
| successful | One normalized descriptor per successful training observation. |
| method | "i2s" centers on initial observations, "xs" on successful observations. |
| exponent | Nonnegative distance exponent. Zero assigns uniform weights. |
| bounds | Optional fixed feature bounds to normalize raw observations to unit scale. |
Definition at line 60 of file behavior_transfer.py.