Mirror the existing softmax_temperature conditional-logging pattern:
always log fill_method, then log fill_epsilon and fill_epsilon_baseline
only under fill_method == "epsilon", and fill_sigma_candles only under
fill_method == "gaussian". Keeps the per-column "Weighting:" log block
consistent with the resolved config and avoids printing tunables that
have no effect under the active mode.
from freqtrade.strategy.interface import IStrategy
from LabelTransformer import (
COMBINED_AGGREGATIONS,
+ FILL_METHODS,
SMOOTHING_METHODS,
WEIGHT_STRATEGIES,
get_label_column_config,
logger.info(
f" softmax_temperature: {format_number(col_weighting['softmax_temperature'])}"
)
+ logger.info(f" fill_method: {col_weighting['fill_method']}")
+ if col_weighting["fill_method"] == FILL_METHODS[1]: # "epsilon"
+ logger.info(
+ f" fill_epsilon: {format_number(col_weighting['fill_epsilon'])}"
+ )
+ logger.info(
+ f" fill_epsilon_baseline: {col_weighting['fill_epsilon_baseline']}"
+ )
+ elif col_weighting["fill_method"] == FILL_METHODS[2]: # "gaussian"
+ logger.info(
+ f" fill_sigma_candles: {format_number(col_weighting['fill_sigma_candles'])}"
+ )
col_smoothing = get_label_column_config(
label_col, label_smoothing["default"], label_smoothing["columns"]