Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Data Fetching and Preprocessing: I use yfinance to download the stock prices, then scale the prices using MinMaxScaler to make them suitable for training the LSTM, which is sensitive to the scale of input data. Data Preparation: I convert the time series data into sequences that the LSTM can use to learn (using the past n_steps data points to predict the next one). Model Building: The LSTM network is constructed with dropout layers to prevent overfitting. Training: The model is trained on the prepared data. Prediction and Visualization: After training, the model predicts stock prices for the test data, and the predictions are plotted against the actual prices to visualize the model’s performance.Figure_1

About

Neural networks for Sequential Data

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages