Skip to content

Conversation

@slowy07
Copy link
Member

@slowy07 slowy07 commented Mar 28, 2023

Deskripsi (Description)

menambahkan contoh sederhana dari implementasi long short term memory

Checklist:

Umum:

  • Saya menambah algoritma terbaru.
  • Saya memperbaiki algoritma yang sudah ada.
  • Saya memperbaiki dokumentasi.
  • Saya menambah dokumentasi.

Contributor Requirements (Syarat Kontributor) dan Lain-Lain:

  • Saya sudah membaca (I have read) CONTRIBUTING dan sudah menyetujui semua syarat.
  • Saya telah menambahkan docstring yang memberikan penjelasan maksud dari kode yang saya buat.
  • Saya menggunakan bahasa Indonesia untuk memberikan penjelasan dari kode yang saya buat.

Unit Testing dan Linting:

  • pytest
  • flake8

Environment

Saya menggunakan (I'm using):

  • os = linux
  • python = python 3.10.10

linked issue #246

slowy07 and others added 2 commits March 28, 2023 18:08
Signed-off-by: slowy07 <slowy.arfy@gmail.com>
x_train = np.array(train_x)
x_test = np.array(test_x)
y_train = np.array([list(i.ravel()) for i in train_y])
y_test = np.array([list(i.ravel()) for i in test_y])

Check notice

Code scanning / CodeQL

Unused global variable

The global variable 'y_test' is not used.
model.add(LSTM(64, input_shape=(128, 1)))
model.add(Dense(hari_berikut))
model.compile(loss="mean_squared_error", optimizer="adam")
history = model.fit(

Check notice

Code scanning / CodeQL

Unused global variable

The global variable 'history' is not used.
history = model.fit(
x_train, y_train, epochs=150, verbose=1, shuffle=True, batch_size=4
)
prediksi = model.predict(x_test)

Check notice

Code scanning / CodeQL

Unused global variable

The global variable 'prediksi' is not used.
@slowy07 slowy07 added ready-to-merge ok to merge to branch main false-positive-merge labels Mar 28, 2023
@mergify mergify bot merged commit 4ebf16a into bellshade:main Mar 28, 2023
@mergify
Copy link

mergify bot commented Mar 28, 2023

terima kasih atas kontribusinya @slowy07!

@slowy07 slowy07 deleted the lstm branch March 28, 2023 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant