Skip to content

Commit

Permalink
fix_issue_1060 (microsoft#1092)
Browse files Browse the repository at this point in the history
* fix_issue_1060

* fix_import_error
  • Loading branch information
SunsetWolf committed May 7, 2022
1 parent 883612d commit 46777ec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/component/report.rst
Expand Up @@ -104,7 +104,7 @@ Graphical Result
- Axis Y:
- `ic`
The `Pearson correlation coefficient` series between `label` and `prediction score`.
In the above example, the `label` is formulated as `Ref($close, -1)/$close - 1`. Please refer to `Data Feature <data.html#feature>`_ for more details.
In the above example, the `label` is formulated as `Ref($close, -2)/Ref($close, -1)-1`. Please refer to `Data Feature <data.html#feature>`_ for more details.

- `rank_ic`
The `Spearman's rank correlation coefficient` series between `label` and `prediction score`.
Expand Down
8 changes: 5 additions & 3 deletions scripts/data_collector/pit/collector.py
Expand Up @@ -2,6 +2,7 @@
# Licensed under the MIT License.

import re
import sys
from datetime import datetime
from pathlib import Path
from typing import List, Iterable, Optional, Union
Expand All @@ -11,10 +12,11 @@
import baostock as bs
from loguru import logger

from scripts.data_collector.base import BaseCollector, BaseRun, BaseNormalize
from scripts.data_collector.utils import get_hs_stock_symbols, get_calendar_list
BASE_DIR = Path(__file__).resolve().parent
sys.path.append(str(BASE_DIR.parent.parent))

BASE_DIR = Path(__file__).resolve().parent.parent
from data_collector.base import BaseCollector, BaseRun, BaseNormalize
from data_collector.utils import get_hs_stock_symbols, get_calendar_list


class PitCollector(BaseCollector):
Expand Down

0 comments on commit 46777ec

Please sign in to comment.