Skip to content

Commit 4a3f228

Browse files
committed
Add docs/developer/code_standard_and_dev_guide.rst to index.rst
1 parent 7f221a5 commit 4a3f228

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

qlib/data/dataset/handler.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,19 +326,23 @@ class DataHandlerLP(DataHandler):
326326
DataHandler with **(L)earnable (P)rocessor**
327327
328328
This handler will produce three pieces of data in pd.DataFrame format.
329+
329330
- DK_R / self._data: the raw data loaded from the loader
330331
- DK_I / self._infer: the data processed for inference
331332
- DK_L / self._learn: the data processed for learning model.
332333
333334
The motivation of using different processor workflows for learning and inference
334335
Here are some examples.
336+
335337
- The instrument universe for learning and inference may be different.
336338
- The processing of some samples may rely on label (for example, some samples hit the limit may need extra processing or be dropped).
337-
These processors only apply to the learning phase.
339+
340+
These processors only apply to the learning phase.
338341
339342
Tips to improve the performance of data handler
343+
340344
- To reduce the memory cost
341-
- `drop_raw=True`: this will modify the data inplace on raw data;
345+
- `drop_raw=True`: this will modify the data inplace on raw data;
342346
"""
343347

344348
# data key

0 commit comments

Comments
 (0)