Code Monkey home page Code Monkey logo

price-prediction-by-tick's Introduction

基于 Tick 数据的单只股票价格趋势预测

> 对算法的初步探索, 不具有交易指导意义

模型使用

  • LSMT 对应文件 lstm.ipynb
  • CatBoost 对应文件 final.ipynb

*cm.ipynb 为中间文件, 可以忽略

调试尝试

  1. 五折交叉验证(5-fold cross-validation):通常用于模型选择和调参,而不是用于最终的模型训练。交叉验证的主要目的是评估模型在未见过的数据上的表现,以防止过拟合,并选择最优的模型参数。
  2. 网格搜索(Grid Search): 主要用于系统地遍历模型的多种参数组合,通过交叉验证确定最佳效果参数。它的工作原理是,你先为每一个输入参数选择一个小的有限集,然后网格搜索会穷举各种参数组合,找出在验证集上评分最高的参数组合。

模型判断

  1. 使用测试集和训练的均方误差 比值作为评判标准, 越和 1 靠近越优
  2. 曲线状态

结果

训练集 image 测试集 image

price-prediction-by-tick's People

Contributors

h3dg3h09 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.