1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-06-06 05:51:17 +08:00
Files
qlib/examples
Christian Clauss b8d1e08010 Fix undefined names in Python code (#599)
* Update pytorch_tabnet.py

$ `flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics`
```
./qlib/qlib/contrib/model/pytorch_tabnet.py:567:38: F821 undefined name 'inp'
            self.independ.append(GLU(inp, out_dim, vbs=vbs))
                                     ^
./qlib/examples/model_rolling/task_manager_rolling.py:75:18: F821 undefined name 'task_train'
        run_task(task_train, self.task_pool, experiment_name=self.experiment_name)
                 ^
2     F821 undefined name 'task_train'
2
```

* Fix undefined names in Python code

* from qlib.model.trainer import task_train
2021-09-14 12:13:27 +08:00
..
2021-06-02 08:56:15 +00:00
2020-12-17 00:35:35 +08:00

Requirements

Here is the minimal hardware requirements to run the workflow_by_code example.

  • Memory: 16G
  • Free Disk: 5G

NOTE

The results will slightly vary on different OSs(the variance of annualized return will be less than 2%). The evaluation results in the README.md page are from Linux OS.