mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-17 01:14:35 +08:00
fix some typo and bug
This commit is contained in:
@@ -1,13 +1,13 @@
|
|||||||
.. _report:
|
.. _report:
|
||||||
|
|
||||||
==========================================
|
==========================================
|
||||||
Aanalysis: Evaluation & Results Analysis
|
Analysis: Evaluation & Results Analysis
|
||||||
==========================================
|
==========================================
|
||||||
|
|
||||||
Introduction
|
Introduction
|
||||||
===================
|
===================
|
||||||
|
|
||||||
``Aanalysis`` is designed to show the graphical reports of ``Intraday Trading`` , which helps users to evaluate and analyse investment portfolios visually. The following are some graphics to view:
|
``Analysis`` is designed to show the graphical reports of ``Intraday Trading`` , which helps users to evaluate and analyse investment portfolios visually. The following are some graphics to view:
|
||||||
|
|
||||||
- analysis_position
|
- analysis_position
|
||||||
- report_graph
|
- report_graph
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ Document Structure
|
|||||||
Interday Strategy: Portfolio Management <component/strategy.rst>
|
Interday Strategy: Portfolio Management <component/strategy.rst>
|
||||||
Intraday Trading: Model&Strategy Testing <component/backtest.rst>
|
Intraday Trading: Model&Strategy Testing <component/backtest.rst>
|
||||||
Qlib Recorder: Experiment Management <component/recorder.rst>
|
Qlib Recorder: Experiment Management <component/recorder.rst>
|
||||||
Aanalysis: Evaluation & Results Analysis <component/report.rst>
|
Analysis: Evaluation & Results Analysis <component/report.rst>
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 3
|
:maxdepth: 3
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ Auto Quant Research Workflow
|
|||||||
- Run ``examples/workflow_by_code.ipynb`` with jupyter notebook
|
- Run ``examples/workflow_by_code.ipynb`` with jupyter notebook
|
||||||
Users can have portfolio analysis or prediction score (model prediction) analysis by run ``examples/workflow_by_code.ipynb``.
|
Users can have portfolio analysis or prediction score (model prediction) analysis by run ``examples/workflow_by_code.ipynb``.
|
||||||
- Graphical Reports
|
- Graphical Reports
|
||||||
Users can get graphical reports about the analysis, please refer to `Aanalysis: Evaluation & Results Analysis <../component/report.html>`_ for more details.
|
Users can get graphical reports about the analysis, please refer to `Analysis: Evaluation & Results Analysis <../component/report.html>`_ for more details.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -31,7 +31,8 @@
|
|||||||
")\n",
|
")\n",
|
||||||
"from qlib.utils import exists_qlib_data, init_instance_by_config\n",
|
"from qlib.utils import exists_qlib_data, init_instance_by_config\n",
|
||||||
"from qlib.workflow import R\n",
|
"from qlib.workflow import R\n",
|
||||||
"from qlib.workflow.record_temp import SignalRecord, PortAnaRecord"
|
"from qlib.workflow.record_temp import SignalRecord, PortAnaRecord\n",
|
||||||
|
"from qlib.utils import flatten_dict"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -129,7 +130,7 @@
|
|||||||
"\n",
|
"\n",
|
||||||
"# start exp to train model\n",
|
"# start exp to train model\n",
|
||||||
"with R.start(experiment_name=\"train_model\"):\n",
|
"with R.start(experiment_name=\"train_model\"):\n",
|
||||||
" R.log_paramters(**flatten_dict(task))\n",
|
" R.log_params(**flatten_dict(task))\n",
|
||||||
" model.fit(dataset)\n",
|
" model.fit(dataset)\n",
|
||||||
" R.save_objects(trained_model=model)\n",
|
" R.save_objects(trained_model=model)\n",
|
||||||
" rid = R.get_recorder().id\n"
|
" rid = R.get_recorder().id\n"
|
||||||
|
|||||||
@@ -243,10 +243,10 @@ class DataHandlerLP(DataHandler):
|
|||||||
|
|
||||||
# process type
|
# process type
|
||||||
PTYPE_I = "independent"
|
PTYPE_I = "independent"
|
||||||
# - self._infer will processed by infer_processors
|
# - self._infer will be processed by infer_processors
|
||||||
# - self._learn will be processed by learn_processors
|
# - self._learn will be processed by learn_processors
|
||||||
PTYPE_A = "append"
|
PTYPE_A = "append"
|
||||||
# - self._infer will processed by infer_processors
|
# - self._infer will be processed by infer_processors
|
||||||
# - self._learn will be processed by infer_processors + learn_processors
|
# - self._learn will be processed by infer_processors + learn_processors
|
||||||
# - (e.g. self._infer processed by learn_processors )
|
# - (e.g. self._infer processed by learn_processors )
|
||||||
|
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ def sys_config(config, config_path):
|
|||||||
config : dict
|
config : dict
|
||||||
configuration of the workflow
|
configuration of the workflow
|
||||||
config_path : str
|
config_path : str
|
||||||
configuration of the path
|
path of the configuration
|
||||||
"""
|
"""
|
||||||
sys_config = config.get("sys", {})
|
sys_config = config.get("sys", {})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user