Code RNN

Code RNN

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Recurrent Neural Network



# Part 1 - Data Preprocessing

# Importing the libraries
import numpy as np
import matplotlib.pyplot as plt
import pandas as pd

# Importing the training set
dataset_train = pd.read_csv('Google_Stock_Price_Train.csv')
training_set = dataset_train.iloc[:, 1:2].values

# Feature Scaling
from sklearn.preprocessing import MinMaxScaler
sc = MinMaxScaler(feature_range = (0, 1))
training_set_scaled = sc.fit_transform(training_set)
Continue reading
  • page 1 of 1
Author's picture

Nguyen Tien Thanh

(o.O)


Spamer


Kanagawa,Japan