Daniel Carter
1 min readApr 16, 2020

--

Hi Yacoub,

Great article! I have a quick question about a couple lines in your code:

next_day_open_values = np.array([data[:,0][i + history_points].copy() for i in range(len(data) — history_points)])7 next_day_open_values = np.expand_dims(next_day_open_values_normalised, -1)

When you use the np.expand_dims in the second line here, did you mean to have next_day_open_values (un-normalized) instead of next_day_open_values_normalised (normalized)?

Thank you,

Daniel

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

No responses yet

Write a response