TrialSelector
Instance variables
strategies: List[systematica.tuners.base.BaseTrialSelector]: List of selector strategies to apply.
Methods
run_all
Returns:
ElbowPoint
Ancestors
systematica.tuners.base.BaseTrialSelectorabc.ABC
Instance variables
-
x: str: Column name for the x-axis metric (typically Sharpe ratio). -
y: str: Column name for the y-axis metric (typically returns).
Methods
run
Returns:
Preference
Ancestors
systematica.tuners.base.BaseTrialSelectorabc.ABC
Instance variables
-
alpha: float: Weight coefficient for the y metric. 1-alpha is applied to x metric. -
x: str: Column name for the x-axis metric (typically Sharpe ratio). -
y: str: Column name for the y-axis metric (typically returns).
Methods
run
Returns:
EpsilonConstraint
Ancestors
systematica.tuners.base.BaseTrialSelectorabc.ABC
Instance variables
-
min_x: float: Minimum acceptable value for the x metric. -
x: str: Column name for the constraint metric (typically Sharpe ratio). -
y: str: Column name for the optimization metric (typically returns).
Methods
run
Returns:
ClosestIdealPoint
Ancestors
systematica.tuners.base.BaseTrialSelectorabc.ABC
Instance variables
-
points: Tuple[float, float]: Ideal point coordinates in normalized space, e.g., (1.0, 1.0) for perfect Sharpe and returns. -
x: str: Column name for the x-axis metric (typically Sharpe ratio). -
y: str: Column name for the y-axis metric (typically returns).
Methods
run
Returns:
DiversitySampling
Ancestors
systematica.tuners.base.BaseTrialSelectorabc.ABC
Instance variables
-
metrics: List[str]: List of column names for the metrics to use in clustering. -
n_clusters: int: Number of clusters to form. Default is 3. -
random_state: int: Random seed for reproducibility. Default is None, which means no fixed seed.
Methods
run
Returns:
RiskAwareUtility
Ancestors
systematica.tuners.base.BaseTrialSelectorabc.ABC
Instance variables
-
alpha: float: Weight coefficient for the return metric. 1-alpha is applied to the risk metric. -
x: str: Column name for the risk metric (typically Sharpe ratio). -
y: str: Column name for the return metric (typically returns).
Methods
run
Returns:
BestMetricPoint
Ancestors
systematica.tuners.base.BaseTrialSelectorabc.ABC
Instance variables
best_metrics: pandas.core.frame.DataFrame: DataFrame containing the best metrics for selection.
Methods
run
Returns:
MaxMetricPoint
Ancestors
systematica.tuners.base.BaseTrialSelectorabc.ABC
Instance variables
x: str: Column name for the metric to maximize.
Methods
run
Returns:
MinMetricPoint
Ancestors
systematica.tuners.base.BaseTrialSelectorabc.ABC
Instance variables
x: str: Column name for the metric to minimize.
Methods
run
Returns:
RegretMinimization
Ancestors
systematica.tuners.base.BaseTrialSelectorabc.ABC
Instance variables
-
x: str: Column name for the risk metric (typically Sharpe ratio). -
y: str: Column name for the return metric (typically returns).
Methods
run
Returns:
HullMidPoint
- Convex Pareto front: Select solutions on the convex hull, representing efficient trade-offs.
- Concave Pareto front: Mid-front solutions may be better as extremes may represent diminishing returns.
- Convex: Favor extreme efficient strategies (maximize Sharpe or Return)
- Concave: Favor balanced strategies (mid-front), as returns may plateau
Ancestors
systematica.tuners.base.BaseTrialSelectorabc.ABC
Instance variables
metrics: List[str]: List of metrics to use for the convex hull selection.
Methods
run
Raises:
Returns:
HullPoint
- Convex Pareto front: Select solutions on the convex hull, representing efficient trade-offs.
- Concave Pareto front: Mid-front solutions may be better as extremes may represent diminishing returns.
- Convex: Favor extreme efficient strategies (maximize Sharpe or Return)
- Concave: Favor balanced strategies (mid-front), as returns may plateau
Ancestors
systematica.tuners.base.BaseTrialSelectorabc.ABC
Instance variables
metrics: List[str]: List of metrics to use for the convex hull selection.
Methods
run
Raises:
Returns:
HullExtremePoint
- Convex Pareto front: Select solutions on the convex hull, representing efficient trade-offs.
- Concave Pareto front: Mid-front solutions may be better as extremes may represent diminishing returns.
- Convex: Favor extreme efficient strategies (maximize Sharpe or Return)
- Concave: Favor balanced strategies (mid-front), as returns may plateau
Ancestors
systematica.tuners.base.BaseTrialSelectorabc.ABC
Instance variables
metrics: List[str]: List of metrics to use for the convex hull selection.
Methods
run
Raises:
Returns:
AUCMaximization
Ancestors
systematica.tuners.base.BaseTrialSelectorabc.ABC
Instance variables
-
x: str: Column name for the x-axis metric (typically Sharpe ratio). -
y: str: Column name for the y-axis metric (typically returns).
Methods
run
Returns:
HypervolumeContribution
Ancestors
systematica.tuners.base.BaseTrialSelectorabc.ABC
Instance variables
study: optuna.study.study.Study: Optuna study containing the trials.
Methods
run
Raises:
Returns:
Random
Ancestors
systematica.tuners.base.BaseTrialSelectorabc.ABC
Methods
run
Returns:
EfficientFrontierProjection
Ancestors
systematica.tuners.base.BaseTrialSelectorabc.ABC
Instance variables
-
risk_free_rate: float: Risk-free rate for volatility calculation. Defaults to 0.0. -
x: str: Column name for the risk metric (standard deviation or inverse sharpe). -
y: str: Column name for the return metric.
Methods
run
Returns:

