BaseTransformer
Ancestors
abc.ABC
Descendants
systematica.portfolio.transformers.logistic.Logistic
Methods
transform
| Name | Type | Default | Description |
|---|---|---|---|
metrics | tp.Dict[str, float] | -- | A dictionary containing performance metrics, where keys are metric names and values are their corresponding values. |
| Type | Description |
|---|---|
tp.Dict[str, float] | A dictionary of transformed metrics, where keys are the same as input and values are the transformed values. |
Reward
Instance variables
-
transformer: systematica.portfolio.transformers.base.BaseTransformer: An instance of a transformer to process the metrics. IfNone, defaults toLogistic. -
weights: Dict[str, float]: A dictionary mapping metric names to weights. Defaults to an empty dictionary.
Methods
run
| Name | Type | Default | Description |
|---|---|---|---|
metrics | tp.Dict[str, float] | -- | A dictionary containing performance metrics. If max_drawdown is present, its value will be inverted prior to processing. |
| Type | Description |
|---|---|
float | The computed composite reward score. |

