Skip to content

Instantly share code, notes, and snippets.

@under0tech
Last active April 7, 2024 14:07
Show Gist options
  • Save under0tech/d2c9d94834221462dd8138f5568f78c0 to your computer and use it in GitHub Desktop.
Save under0tech/d2c9d94834221462dd8138f5568f78c0 to your computer and use it in GitHub Desktop.
import numpy as np
import time as tm
import datetime as dt
import tensorflow as tf
# Data preparation
from yahoo_fin import stock_info as yf
from sklearn.preprocessing import MinMaxScaler
from collections import deque
# AI
from keras.models import Sequential
from keras.layers import Dense, LSTM, Dropout
# Graphics library
import matplotlib.pyplot as plt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment