Git Product home page Git Product logo

mlops_qlib's Introduction

MLOps-stock-by-Qlib

MLOps:stock by Qlib

环境需求

新建python环境 版本:python==3.8

使用conda: conda create -n py3.8 python=3.8

更新pip:pip install --user --upgrade pip

方法一:cmd 命令行执行

到experiment路径下

cd /experiment

命令行执行

python gui.py

点击需求update_data、train_model、plot_result、test_model、deploy_model按钮

打开相应的yaml配置文件,修改,点击按钮:保存并执行或另存并执行

方法二:cmd 命令行执行以下内容

到experiment路径下 cd /experiment 执行下列命令

更新数据

需要更新pymongo包:pip install --ignore-installed pymongo

执行命令

python update_data.py

训练模型

修改配置文件train_lightgbm_Alpha158_stock_dates.yaml

执行命令

python train_model.py train_lightgbm_Alpha158_stock_dates.yaml

绘制图像

修改配置文件plot_lightgbm.yaml

执行命令

python plot_result.py plot_lightgbm.yaml

测试模型

修改配置文件test_lightgbm.yaml

执行命令

python test_model.py test_lightgbm.yaml

持续部署

修改配置文件deploy_lightgbm.yaml

执行命令

python deploy_model.py deploy_lightgbm.yaml

mlops_qlib's People

Contributors

qidian1029 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.