microsoft / microsoft/qlib

How to configure classification labels (based on return ranking) and adapt model training for classification tasks

Open
#2,137 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
Python
Stars
48.7k
Forks
7.7k
PR merge metrics
No merged PRs in 30d

Description

❓ Questions and Help

How can I configure the label in the task config to generate discrete classification labels instead of continuous regression values? Specifically, I want to discretize the returns based on their cross-sectional ranking.
Once the labels are discrete, how should I configure the model and loss function to perform classification training?
And How should the backtesting module be adapted for classification outputs?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names task configuration, model and loss-function settings, and the backtesting module but no files or tests. Trace those entry points to determine whether discrete labels and classification outputs are supported; done would require a documented configuration path and backtesting behavior, or a clearly scoped feature plan.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data, machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.