-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use processor? #789
Comments
I'm happy to write some operator which can operate row-wise, if that's not currently supported. |
I add some docs about data processing. Stock-wise operators (I understand your Is your question answered? |
Thanks for your comments. I was looking for stock-wise operators. Since it's not currently supported, I will try something else. |
btw, what's the difference between infer_processor and learn_processor?
I see this statement from the docs. Could you provide an example to clarify the difference? Thanks. |
I wrote a processor to test for myself. I added a new column to the dataframe. |
I can see in checkpoint qlib/qlib/data/dataset/handler.py Line 414 in a67f67d
that the df returned was dropped column and my new columns added. But when I check with dataset.prepare("train") , it's not there anymore.
|
I realized the data that get train are the ones that after processed, but in |
Further digging, So far, my understanding is that:
|
@bbbzhai Can https://github.com/microsoft/qlib/pull/879/files answer your question? |
Hi,
I'm wondering how to use processor and what's the difference between processor and operator?
I've been reading about processor and confused on how to use it.
For instance,
qlib.data.dataset.processor.MinMaxNorm
.I tried and it cannot be used like
MinMaxNorm($close)
.So what are the use case of processor?
More specifically, I wanted to use cross sectional ranking
CSRankNorm($close)
. But I cannot achieve that. Is there anyway I can convert a processor to operator?Thanks
The text was updated successfully, but these errors were encountered: