diff --git a/docs/component/report.rst b/docs/component/report.rst index 8ea3d7abe..7d8053c78 100644 --- a/docs/component/report.rst +++ b/docs/component/report.rst @@ -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 diff --git a/docs/index.rst b/docs/index.rst index 3a7358288..1e43cf99e 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -41,7 +41,7 @@ Document Structure Interday Strategy: Portfolio Management Intraday Trading: Model&Strategy Testing Qlib Recorder: Experiment Management - Aanalysis: Evaluation & Results Analysis + Analysis: Evaluation & Results Analysis .. toctree:: :maxdepth: 3 diff --git a/docs/introduction/quick.rst b/docs/introduction/quick.rst index a367e2dde..32752fd83 100644 --- a/docs/introduction/quick.rst +++ b/docs/introduction/quick.rst @@ -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. diff --git a/examples/workflow_by_code.ipynb b/examples/workflow_by_code.ipynb index 1b4183b29..692e52078 100644 --- a/examples/workflow_by_code.ipynb +++ b/examples/workflow_by_code.ipynb @@ -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 -} \ No newline at end of file +} diff --git a/qlib/data/dataset/handler.py b/qlib/data/dataset/handler.py index 4d3d88c38..825d7e76e 100644 --- a/qlib/data/dataset/handler.py +++ b/qlib/data/dataset/handler.py @@ -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 ) diff --git a/qlib/workflow/cli.py b/qlib/workflow/cli.py index 2e087877b..7562daaca 100644 --- a/qlib/workflow/cli.py +++ b/qlib/workflow/cli.py @@ -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", {})