[![Contributors][contributors-shield]][contributors-url]
[![Forks][forks-shield]][forks-url]
[![Stargazers][stars-shield]][stars-url]
[![Issues][issues-shield]][issues-url]
[![MIT License][license-shield]][license-url]
[![LinkedIn][linkedin-shield]][linkedin-url]
<a href="https://www.buymeacoffee.com/lastancientone" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a>
<!-- MARKDOWN LINKS & IMAGES -->
<!-- https://www.markdownguide.org/basic-syntax/#reference-style-links -->
[contributors-shield]: https://img.shields.io/github/contributors/LastAncientOne/Deep-Learning-Machine-Learning-Stock.svg?style=for-the-badge
[contributors-url]: https://github.com/LastAncientOne/Deep-Learning-Machine-Learning-Stock/graphs/contributors
[forks-shield]: https://img.shields.io/github/forks/LastAncientOne/Deep-Learning-Machine-Learning-Stock.svg?style=for-the-badge
[forks-url]: https://github.com/LastAncientOne/Deep-Learning-Machine-Learning-Stock/network/members
[stars-shield]: https://img.shields.io/github/stars/LastAncientOne/Deep-Learning-Machine-Learning-Stock.svg?style=for-the-badge
[stars-url]: https://github.com/LastAncientOne/Deep-Learning-Machine-Learning-Stock/stargazers
[issues-shield]: https://img.shields.io/github/issues/LastAncientOne/Deep-Learning-Machine-Learning-Stock.svg?style=for-the-badge
[issues-url]: https://github.com/LastAncientOne/Deep-Learning-Machine-Learning-Stock/issues
[license-shield]: https://img.shields.io/github/license/LastAncientOne/Deep-Learning-Machine-Learning-Stock.svg?style=for-the-badge
[license-url]: LICENSE
[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=for-the-badge&logo=linkedin&colorB=555
[linkedin-url]: https://linkedin.com/in/tin-hang
<img src="DL_Title.PNG">
<h1 align="center">Deep Learning and Machine Learning for Stock Predictions</h1>
Description: This is a comprehensive study and analysis of stocks using deep learning (DL) and machine learning (ML) techniques. Both machine learning and deep learning are types of artificial intelligence (AI). The objective is to predict stock behavior by employing various machine learning and deep learning algorithms. The focus is on experimenting with stock data to understand how and why certain methods are effective, as well as identifying reasons for their potential limitations. Different stock strategies are explored within the context of machine learning and deep learning. Technical Analysis and Fundamental Analysis are utilized to predict future stock prices using these AI techniques, encompassing both long-term and short-term predictions.
Machine learning is a branch of artificial intelligence that involves the development of algorithms capable of automatically adapting and generating outputs by processing structured data. On the other hand, deep learning is a subset of machine learning that employs similar algorithms but with additional layers of complexity, enabling different interpretations of the data. The network of algorithms used in deep learning is known as artificial neural networks, which mimic the interconnectedness of neural pathways in the human brain.
Deep learning and machine learning are powerful approaches that have revolutionized the AI landscape. Understanding the fundamentals of these techniques and the commonly used algorithms is essential for aspiring data scientists and AI enthusiasts. Regression, as a fundamental concept in predictive modeling, plays a crucial role in analyzing and predicting continuous variables. By harnessing the capabilities of these algorithms and techniques, we can unlock incredible potential in various domains, leading to advancements and improvements in numerous industries.
### Machine Learning Step-by-Step
1. Collecting/Gathering Data.
2. Preparing the Data - load data and prepare it for the machine learning training.
3. Choosing a Model.
4. Training the Model.
5. Evaluating the Model.
6. Parameter Tuning.
7. Make a Predictions.
### Deep Learning Model Step-by-Step
1. Define the Model.
2. Complie the Model.
3. Fit the Model with training dataset.
4. Make a Predictions.
<h3 align="left">Programming Languages and Tools:</h3>
<p align="left"> </a> <a href="https://www.python.org" target="_blank"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/python/python-original.svg" alt="python" width="50" height="50"/> </a> <a href="https://nteract.io/" target="_blank"> <img src="https://avatars.githubusercontent.com/u/12401040?s=200&v=4" alt="Nteract" width="50" height="50"/> </a> <a href="https://anaconda.org/" target="_blank"> <img src="https://www.clipartkey.com/mpngs/m/227-2271689_transparent-anaconda-logo-png.png" alt="Anaconda" width="50" height="50"/> </a> <a href="https://www.spyder-ide.org/" target="_blank"> <img src="https://www.pinclipart.com/picdir/middle/180-1807410_spyder-icon-clipart.png" alt="Spyder" width="50" height="50"/> </a> <a href="https://jupyter.org/" target="_blank"> <img src="https://upload.wikimedia.org/wikipedia/commons/3/38/Jupyter_logo.svg" alt="Jupyter Notebook" width="50" height="50"/> </a> <a href="https://notepad-plus-plus.org/" target="_blank"> <img src="https://logos-download.com/wp-content/uploads/2019/07/Notepad_Logo.png" alt="Notepad++" width="50" height="50"/> </a> </p>
### Three main types of data: Categorical, Discrete, and Continuous variables
1. Categorical variable(Qualitative): Label data or distinct groups.
Example: location, gender, material type, payment, highest level of education
2. Discrete variable (Class Data): Numerica variables but the data is countable number of values between any two values.
Example: customer complaints or number of flaws or defects, Children per Household, age (number of years)
3. Continuous variable (Quantitative): Numeric variables that have an infinite number of values between any two values.
Example: length of a part or the date and time a payment is received, running distance, age (infinitly accurate and use an infinite number of decimal places)
### Data Use
1. For 'Quantitative data' is used with all three centre measures (mean, median and mode) and all spread measures.
2. For 'Class data' is used with median and mode.
3. For 'Qualitative data' is for only with mode.
### Two types of problems:
1. Classification (predict label)
2. Regression (predict values)
### Bias-Variance Tradeoff
#### Bias
- Bias is the difference between our actual and predicted values.
- Bias is the simple assumptions that our model makes about our data to be able to predict new data.
- Assumptions made by a model to make a function easier to learn.
#### Variance
- Variance is opposite of bias.
- Variance is variability of model prediction for a given data point or a value that tells us the spread of our data.
- If you train your data on training data and obtain a very low error, upon changing the data and then training the same.
### Overfitting, Underfitting, and the bias-variance tradeoff
Overfitted is when the model memorizes the noise and fits too closely to the training set. Good fit is a model that learns the training dataset and genernalizes well with the old out dataset. Underfitting is when it cannot establish the dominant trend within the data; as a result, in training errors and poor performance of the model.
#### Overfitting:
Overfitting model is a good model with the training data that fit or at lease with near each observation; however, the model mist the point and random noise is capture inside the model. The model have low training error and high CV error, low in-sample error and high out-of-sample error, and high variance.
1. High Train Accuracy
2. Low Test Accuracy
#### Avoiding Overfitting:
1. Early stopping - stop the training before the model starts learnin
没有合适的资源?快使用搜索试试~ 我知道了~
基于机器学习和深度学习的长短时量化交易算法.zip
共240个文件
ipynb:228个
py:5个
png:4个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 178 浏览量
2024-04-13
16:43:40
上传
评论
收藏 18.79MB ZIP 举报
温馨提示
基于机器学习和深度学习的长短时量化交易算法.zip
资源推荐
资源详情
资源评论
收起资源包目录
基于机器学习和深度学习的长短时量化交易算法.zip (240个子文件)
Features_Analysis.ipynb 2.49MB
Decision_Tree_Classifier_Visualize.ipynb 2.33MB
006_Data_Visualization.ipynb 1.77MB
007_Understand_Data.ipynb 1.72MB
Understand_Data.ipynb 1.72MB
shap_prediction.ipynb 1.1MB
Train_Validate_Test.ipynb 1.05MB
Hierarchical_Clustering.ipynb 947KB
Stationary_Check.ipynb 755KB
008_Basic_Statistics.ipynb 572KB
XGBoost_Classification_Part_2.ipynb 535KB
scikit-learn_Prediction.ipynb 498KB
Time_Series_Decomposition_Random_Walks.ipynb 466KB
NetworkX.ipynb 456KB
NetworkX.ipynb 456KB
Features_Scores.ipynb 432KB
ARIMA_Models.ipynb 398KB
Features_Selections_Stock.ipynb 340KB
RNN_Tensorflow.ipynb 243KB
PyCaret_Stock_Prediction_Part2.ipynb 234KB
Principal_Component_Analysis_(PCA)_Stock.ipynb 229KB
Underfitting_Overfitting_Check_Regression.ipynb 227KB
Basic_Regressions.ipynb 205KB
In_Sample_Out_Sample.ipynb 200KB
Column_Selection_Pandas.ipynb 169KB
LSTM_RNN_Part2.ipynb 168KB
Descriptive_Statistics.ipynb 165KB
Features_Extraction.ipynb 156KB
Decision_Trees_Regression_Part2.ipynb 146KB
Quantile_Regression.ipynb 138KB
K_Means.ipynb 130KB
Neural_Network_Part2.ipynb 129KB
Time_Series_Forecasting_Model.ipynb 128KB
Discrete_Probability_Distributions.ipynb 123KB
Decision_Trees_Classification_Part4.ipynb 120KB
LSTM_Neural_Networks.ipynb 119KB
NetworkX_Part2.ipynb 116KB
Linear_Regression_Continuous.ipynb 113KB
Simple_Linear_Regression_Part2.ipynb 110KB
XGBoost_Regressor_Part_2.ipynb 105KB
LSTM_RNN.ipynb 101KB
Robust_Linear_Models.ipynb 100KB
Multiple_Linear_Regression.ipynb 98KB
Non_Linear_Least_Squares_Curve_Fitting.ipynb 97KB
Classification_Cluster_3.ipynb 96KB
CatBoost_Algorithms_Part2.ipynb 93KB
Simple_Linear_Regression.ipynb 92KB
Least_Squares_Regression.ipynb 84KB
Linear_Regression_Stock.ipynb 83KB
Linear_Regression.ipynb 82KB
Linear_Regression_Classification.ipynb 82KB
Logistic_Regression_Stock.ipynb 81KB
Probabilities.ipynb 79KB
PyCaret_Stock_Prediction.ipynb 79KB
Decision_Trees_Classification_Explained.ipynb 76KB
Classification_Cluster.ipynb 70KB
Multivariate_relationships.ipynb 68KB
Anomaly_Detection_SVM.ipynb 67KB
Ridge_Regression.ipynb 66KB
Linear_Regression_Using_Linear_Algebra.ipynb 65KB
Logistic_Regression.ipynb 65KB
Isotonic_Regression.ipynb 64KB
Neural_Networks_Regression.ipynb 63KB
001_Pandas.ipynb 62KB
PyTorch_Regression.ipynb 62KB
TensorFlow_LinearRegression_Basic.ipynb 60KB
Stationary_Check_Part_2.ipynb 60KB
K_Nearest_Neighbors.ipynb 59KB
Polynomial_Regression_Part2.ipynb 59KB
Logistic_Regression_Classification_Part4.ipynb 59KB
Lasso_Regression.ipynb 57KB
Radius_Neighbors_Regressor.ipynb 57KB
Pynamical_Prediction.ipynb 57KB
Linear_Regression_Prediction_Part2.ipynb 55KB
Classification_Cluster_2.ipynb 55KB
Features_Selections.ipynb 53KB
Linear_Regression_Prediction_Part3.ipynb 53KB
Locally_Weighted_Scatterplot_Smoothing_LOWESS.ipynb 53KB
Logistic_Model.ipynb 53KB
PyTorch_Linear_Regression.ipynb 52KB
Nested_Cross-Validation.ipynb 51KB
Neural_Networks_Classification.ipynb 51KB
XGBoost_Regression.ipynb 51KB
002_Numpy.ipynb 49KB
Poisson_Regression.ipynb 49KB
Polynomial_Regression.ipynb 46KB
Random_Forests_Classification_Part2.ipynb 44KB
Scaling_and_Transformations.ipynb 44KB
K_Nearest_Neighbors_Part2.ipynb 44KB
Support_Vector_Machine_Part2.ipynb 43KB
Isotonic_Regression_Linear_Regression.ipynb 43KB
Implementing_Logistic_Regression.ipynb 42KB
Gradient_Ascent.ipynb 42KB
Linear_Regression_Prediction.ipynb 41KB
TensorFlow_LinearRegression2.ipynb 40KB
Huber_Regression_Part2.ipynb 40KB
Quantile_Regression_Part2.ipynb 39KB
K_Means_Clustering.ipynb 39KB
Linear_Regression_Predict_Future_Price.ipynb 39KB
Simple_Linear_Regression_with_Normalize_Data.ipynb 38KB
共 240 条
- 1
- 2
- 3
资源评论
小码蚁.
- 粉丝: 2520
- 资源: 4067
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- Picasso_v3.1 2.ipa
- chromedriver-mac-arm64.zip
- 蓝zapro.apk
- chromedriver-linux64.zip
- UCAS研一深度学习实验-MNIST手写数字识别python源码+详细注释(高分项目)
- 基于Python和PyTorch框架完成的一个手写数字识别实验源码(带MINIST手写数字数据集)+详细注释(高分项目)
- 基于Matlab在MNIST数据集上利用CNN完成手写体数字识别任务,并实现单层CNN反向传播算法+源代码+文档说明(高分项目)
- NVIDIA驱动、CUDA和Pytorch及其依赖
- 基于SVM多特征融合的微表情识别python源码+项目说明+详细注释(高分课程设计)
- html动态爱心代码一(附源码)
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功