Skip to content

fix: correct model objective in High-Freq Tree Alpha158 workflow config#2246

Open
Whning0513 wants to merge 1 commit into
microsoft:mainfrom
Whning0513:fix/issue-1739-alpha158-objective
Open

fix: correct model objective in High-Freq Tree Alpha158 workflow config#2246
Whning0513 wants to merge 1 commit into
microsoft:mainfrom
Whning0513:fix/issue-1739-alpha158-objective

Conversation

@Whning0513

@Whning0513 Whning0513 commented Jun 4, 2026

Copy link
Copy Markdown

The high-frequency Alpha158 example config workflow_config_High_Freq_Tree_Alpha158.yaml has a mismatch between the label and the model objective. The label Ref($close, -2) / Ref($close, -1) - 1 produces continuous regression values (e.g., 0.023, -0.015), but the model was set to "binary" — so LightGBM silently trains a classifier on regression targets. I checked the other example configs for reference: the daily-frequency counterpart workflow_config_lightgbm_Alpha158.yaml uses loss: "l2" with the same label pattern, confirming regression is the intended behavior.

Changed the objective from "binary" to "l2" and updated metrics from binary_logloss/auc to mae/mse/rmse.

Would appreciate a review, thanks!

Fixes microsoft#1739

The label is a continuous regression value (Ref($close, -2) / Ref($close, -1) - 1)
but the model objective was set to "binary". Changed to "l2" regression
to match the label semantics. Also updated metric from binary_logloss/auc
to mae/mse/rmse appropriate for regression.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant