专栏名称: 机器学习研究会
机器学习研究会是北京大学大数据与机器学习创新中心旗下的学生组织,旨在构建一个机器学习从事者交流的平台。除了及时分享领域资讯外,协会还会举办各种业界巨头/学术神牛讲座、学术大牛沙龙分享会、real data 创新竞赛等活动。
目录
相关文章推荐
51好读  ›  专栏  ›  机器学习研究会

【推荐】(Keras/TensorFlow)神经网络金融时序数据处理

机器学习研究会  · 公众号  · AI  · 2017-05-27 19:44

正文

请到「今天看啥」查看全文




点击上方 “机器学习研究会” 可以订阅哦


摘要

转自:爱可可-爱生活

Introduction:

Time series is an important part of financial analysis. Today, you have more data, more data sources, and higher frequency of data. New sources include new exchanges, social media and news sources. Today, delivery frequency has been increased from dozens of messages every day to hundreds of thousands of messages per second. Therefore, the results will bring more and more analytical techniques. Most modern analytical techniques are not different, and they all have a statistical basis, but their applicability follows the available computational capabilities. The increase in available computing power is faster than the increase in the number of time series data, so it is now possible to analyze large-scale time series in an unprecedented way. This neural network predicts the future movement of the index and achieves a reasonably well result.

Content:

It downloads the stock/ index data from an online information provider, then forms a pandas DataFrame that contains open, high, low, close and is compatible with the TensorFlow library and Keras. Finally, a LSTM recurrent neural network will be implemented to train and predict. It also creates a visualized result for the ease of presentation. Optimized Hyperparameters arre also provided at the end.

Error

  1. Please notice that I created this model with pandas 0.19.2 and I will update it to support pandas 0.20

  2. Recently, pandas datareader is not available for downloading stock data, I am currently working on downloading data from Quandl.

How it works:

The efficient market hypothesis (EMH) states that price cannot be predicted based on previous price and this model clearly violates the EMH. It attempts to understand the market sentiment behind price trends rather than analyzing a security's fundamental attributes. In order to strengthen the market sentiment analysis, a sentiment analysis model or event driven prediction model will be added. Hopefully, the result would be slightly better than a random guess. The model is currently overfitting and more updates will be provided.


链接:

https://github.com/BenjiKCF/Neural-Network-with-Financial-Time-Series-Data


原文链接:

http://weibo.com/1402400261/F4W0JxQlR?type=comment#_rnd1495881433980

“完整内容”请点击【阅读原文】
↓↓↓






请到「今天看啥」查看全文