From 36dab3ba40f847afc12b9ad137fce9b3188c2407 Mon Sep 17 00:00:00 2001 From: The Data Lady Date: Tue, 27 Apr 2021 18:08:00 -0700 Subject: [PATCH 1/5] Rename k_means_clustering_tensorflow.py_tf to k_means_clustering_tensorflow.py --- ...ustering_tensorflow.py_tf => k_means_clustering_tensorflow.py} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename dynamic_programming/{k_means_clustering_tensorflow.py_tf => k_means_clustering_tensorflow.py} (100%) diff --git a/dynamic_programming/k_means_clustering_tensorflow.py_tf b/dynamic_programming/k_means_clustering_tensorflow.py similarity index 100% rename from dynamic_programming/k_means_clustering_tensorflow.py_tf rename to dynamic_programming/k_means_clustering_tensorflow.py From 33b08aa8195c66d89ed8947cb42be2743a565ea8 Mon Sep 17 00:00:00 2001 From: The Data Lady Date: Tue, 27 Apr 2021 18:09:55 -0700 Subject: [PATCH 2/5] Rename lstm_prediction.py_tf to lstm_prediction.py --- .../lstm/{lstm_prediction.py_tf => lstm_prediction.py} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename machine_learning/lstm/{lstm_prediction.py_tf => lstm_prediction.py} (100%) diff --git a/machine_learning/lstm/lstm_prediction.py_tf b/machine_learning/lstm/lstm_prediction.py similarity index 100% rename from machine_learning/lstm/lstm_prediction.py_tf rename to machine_learning/lstm/lstm_prediction.py From 88a5e559c85865d6ada2985a4a1aa90c307a9ed7 Mon Sep 17 00:00:00 2001 From: The Data Lady Date: Tue, 27 Apr 2021 18:32:18 -0700 Subject: [PATCH 3/5] Update requirements.txt --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 349d88944656..e9bf96843708 100644 --- a/requirements.txt +++ b/requirements.txt @@ -13,5 +13,5 @@ scikit-fuzzy sklearn statsmodels sympy -tensorflow; python_version < '3.9' +tensorflow xgboost From a45de55ad0f16d97e55593f614c5785dc3f9898e Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Wed, 28 Apr 2021 07:38:19 +0200 Subject: [PATCH 4/5] isort the imports --- dynamic_programming/k_means_clustering_tensorflow.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dynamic_programming/k_means_clustering_tensorflow.py b/dynamic_programming/k_means_clustering_tensorflow.py index 4fbcedeaa0dc..e844da7141f7 100644 --- a/dynamic_programming/k_means_clustering_tensorflow.py +++ b/dynamic_programming/k_means_clustering_tensorflow.py @@ -1,6 +1,7 @@ -import tensorflow as tf from random import shuffle + from numpy import array +import tensorflow as tf def TFKMeansCluster(vectors, noofclusters): From fd9d482c0bd1a52a4540e21d8a608c9308598c42 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Wed, 28 Apr 2021 07:44:18 +0200 Subject: [PATCH 5/5] Update k_means_clustering_tensorflow.py --- dynamic_programming/k_means_clustering_tensorflow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dynamic_programming/k_means_clustering_tensorflow.py b/dynamic_programming/k_means_clustering_tensorflow.py index e844da7141f7..b19ffb64c5e9 100644 --- a/dynamic_programming/k_means_clustering_tensorflow.py +++ b/dynamic_programming/k_means_clustering_tensorflow.py @@ -1,7 +1,7 @@ from random import shuffle -from numpy import array import tensorflow as tf +from numpy import array def TFKMeansCluster(vectors, noofclusters):