microsoft / microsoft/qlib

Load the raw files directly from Recorder instead of force to loading objects with pickle

Open
#533 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

🌟 Feature Description

Load the files directly from Recorder instead of force to loading objects with pickle

Motivation

Qlib's Recorder provides features to manage the results of the experiments.

R.save_objects provides an API to save files or folders.

However, R.load_objects forces users to load them to Yython objects instead of raw files

This brings inconvenience in some cases.

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

Start in qlib/workflow/init.py around R.save_objects and R.load_objects, then trace the Recorder implementation used by those APIs. Check how saved files and folders are represented and how loading currently invokes pickle; done means callers can retrieve raw files directly without being forced to load Python objects, with existing object loading still understood.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.