1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-05 03:50:57 +08:00

fix some typo and bug

This commit is contained in:
Young
2020-11-26 08:42:54 +00:00
parent d780daaa87
commit e2935f214a
6 changed files with 11 additions and 10 deletions

View File

@@ -1,13 +1,13 @@
.. _report:
==========================================
Aanalysis: Evaluation & Results Analysis
Analysis: Evaluation & Results Analysis
==========================================
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
- report_graph

View File

@@ -41,7 +41,7 @@ Document Structure
Interday Strategy: Portfolio Management <component/strategy.rst>
Intraday Trading: Model&Strategy Testing <component/backtest.rst>
Qlib Recorder: Experiment Management <component/recorder.rst>
Aanalysis: Evaluation & Results Analysis <component/report.rst>
Analysis: Evaluation & Results Analysis <component/report.rst>
.. toctree::
:maxdepth: 3

View File

@@ -84,7 +84,7 @@ Auto Quant Research Workflow
- 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``.
- 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.

View File

@@ -31,7 +31,8 @@
")\n",
"from qlib.utils import exists_qlib_data, init_instance_by_config\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",
"# start exp to 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",
" R.save_objects(trained_model=model)\n",
" rid = R.get_recorder().id\n"
@@ -337,4 +338,4 @@
},
"nbformat": 4,
"nbformat_minor": 4
}
}

View File

@@ -243,10 +243,10 @@ class DataHandlerLP(DataHandler):
# process type
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
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
# - (e.g. self._infer processed by learn_processors )

View File

@@ -29,7 +29,7 @@ def sys_config(config, config_path):
config : dict
configuration of the workflow
config_path : str
configuration of the path
path of the configuration
"""
sys_config = config.get("sys", {})