pyerualjetwork 4.2.9b2__tar.gz → 4.2.9b3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. {pyerualjetwork-4.2.9b2 → pyerualjetwork-4.2.9b3}/PKG-INFO +1 -1
  2. {pyerualjetwork-4.2.9b2 → pyerualjetwork-4.2.9b3}/pyerualjetwork/__init__.py +1 -1
  3. {pyerualjetwork-4.2.9b2 → pyerualjetwork-4.2.9b3}/pyerualjetwork/plan_cuda.py +12 -1
  4. {pyerualjetwork-4.2.9b2 → pyerualjetwork-4.2.9b3}/pyerualjetwork.egg-info/PKG-INFO +1 -1
  5. {pyerualjetwork-4.2.9b2 → pyerualjetwork-4.2.9b3}/setup.py +1 -1
  6. {pyerualjetwork-4.2.9b2 → pyerualjetwork-4.2.9b3}/README.md +0 -0
  7. {pyerualjetwork-4.2.9b2 → pyerualjetwork-4.2.9b3}/pyerualjetwork/activation_functions.py +0 -0
  8. {pyerualjetwork-4.2.9b2 → pyerualjetwork-4.2.9b3}/pyerualjetwork/activation_functions_cuda.py +0 -0
  9. {pyerualjetwork-4.2.9b2 → pyerualjetwork-4.2.9b3}/pyerualjetwork/data_operations.py +0 -0
  10. {pyerualjetwork-4.2.9b2 → pyerualjetwork-4.2.9b3}/pyerualjetwork/data_operations_cuda.py +0 -0
  11. {pyerualjetwork-4.2.9b2 → pyerualjetwork-4.2.9b3}/pyerualjetwork/help.py +0 -0
  12. {pyerualjetwork-4.2.9b2 → pyerualjetwork-4.2.9b3}/pyerualjetwork/loss_functions.py +0 -0
  13. {pyerualjetwork-4.2.9b2 → pyerualjetwork-4.2.9b3}/pyerualjetwork/loss_functions_cuda.py +0 -0
  14. {pyerualjetwork-4.2.9b2 → pyerualjetwork-4.2.9b3}/pyerualjetwork/memory_operations.py +0 -0
  15. {pyerualjetwork-4.2.9b2 → pyerualjetwork-4.2.9b3}/pyerualjetwork/metrics.py +0 -0
  16. {pyerualjetwork-4.2.9b2 → pyerualjetwork-4.2.9b3}/pyerualjetwork/metrics_cuda.py +0 -0
  17. {pyerualjetwork-4.2.9b2 → pyerualjetwork-4.2.9b3}/pyerualjetwork/model_operations.py +0 -0
  18. {pyerualjetwork-4.2.9b2 → pyerualjetwork-4.2.9b3}/pyerualjetwork/model_operations_cuda.py +0 -0
  19. {pyerualjetwork-4.2.9b2 → pyerualjetwork-4.2.9b3}/pyerualjetwork/plan.py +0 -0
  20. {pyerualjetwork-4.2.9b2 → pyerualjetwork-4.2.9b3}/pyerualjetwork/planeat.py +0 -0
  21. {pyerualjetwork-4.2.9b2 → pyerualjetwork-4.2.9b3}/pyerualjetwork/planeat_cuda.py +0 -0
  22. {pyerualjetwork-4.2.9b2 → pyerualjetwork-4.2.9b3}/pyerualjetwork/ui.py +0 -0
  23. {pyerualjetwork-4.2.9b2 → pyerualjetwork-4.2.9b3}/pyerualjetwork/visualizations.py +0 -0
  24. {pyerualjetwork-4.2.9b2 → pyerualjetwork-4.2.9b3}/pyerualjetwork/visualizations_cuda.py +0 -0
  25. {pyerualjetwork-4.2.9b2 → pyerualjetwork-4.2.9b3}/pyerualjetwork.egg-info/SOURCES.txt +0 -0
  26. {pyerualjetwork-4.2.9b2 → pyerualjetwork-4.2.9b3}/pyerualjetwork.egg-info/dependency_links.txt +0 -0
  27. {pyerualjetwork-4.2.9b2 → pyerualjetwork-4.2.9b3}/pyerualjetwork.egg-info/top_level.txt +0 -0
  28. {pyerualjetwork-4.2.9b2 → pyerualjetwork-4.2.9b3}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyerualjetwork
3
- Version: 4.2.9b2
3
+ Version: 4.2.9b3
4
4
  Summary: PyerualJetwork is a machine learning library supported with GPU(CUDA) acceleration written in Python for professionals and researchers including with PLAN algorithm, PLANEAT algorithm (genetic optimization). Also includes data pre-process and memory manegament
5
5
  Author: Hasan Can Beydili
6
6
  Author-email: tchasancan@gmail.com
@@ -1,4 +1,4 @@
1
- __version__ = "4.2.9b2"
1
+ __version__ = "4.2.9b3"
2
2
  __update__ = "* Changes: https://github.com/HCB06/PyerualJetwork/blob/main/CHANGES\n* PyerualJetwork Homepage: https://github.com/HCB06/PyerualJetwork/tree/main\n* PyerualJetwork document: https://github.com/HCB06/PyerualJetwork/blob/main/Welcome_to_PyerualJetwork/PYERUALJETWORK_USER_MANUEL_AND_LEGAL_INFORMATION(EN).pdf\n* YouTube tutorials: https://www.youtube.com/@HasanCanBeydili"
3
3
 
4
4
  def print_version(__version__):
@@ -598,6 +598,17 @@ def evaluate(
598
598
  tuple: Model (list).
599
599
  """
600
600
 
601
+ if memory == 'gpu':
602
+ x_test = transfer_to_gpu(x_test, dtype=dtype)
603
+ y_test = transfer_to_gpu(y_test, dtype=y_test.dtype)
604
+
605
+ elif memory == 'cpu':
606
+ x_test = transfer_to_cpu(x_test, dtype=dtype)
607
+ y_test = transfer_to_cpu(y_test, dtype=y_test.dtype)
608
+
609
+ else:
610
+ raise ValueError("memory parameter must be 'cpu' or 'gpu'.")
611
+
601
612
  predict_probabilitys = cp.empty((len(x_test), W.shape[0]), dtype=dtype)
602
613
  real_classes = cp.empty(len(x_test), dtype=y_test.dtype)
603
614
  predict_classes = cp.empty(len(x_test), dtype=y_test.dtype)
@@ -609,7 +620,7 @@ def evaluate(
609
620
  loading_bar = initialize_loading_bar(total=len(x_test), ncols=64, desc='Testing', bar_format=bar_format_normal)
610
621
 
611
622
  for inpIndex in range(len(x_test)):
612
- Input = x_test[inpIndex].ravel()
623
+ Input = x_test[inpIndex]
613
624
  neural_layer = Input
614
625
 
615
626
  neural_layer = feed_forward(neural_layer, cp.copy(W), is_training=False, Class='?', activation_potentiation=activation_potentiation)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyerualjetwork
3
- Version: 4.2.9b2
3
+ Version: 4.2.9b3
4
4
  Summary: PyerualJetwork is a machine learning library supported with GPU(CUDA) acceleration written in Python for professionals and researchers including with PLAN algorithm, PLANEAT algorithm (genetic optimization). Also includes data pre-process and memory manegament
5
5
  Author: Hasan Can Beydili
6
6
  Author-email: tchasancan@gmail.com
@@ -6,7 +6,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
6
6
  # Setting Up
7
7
  setup(
8
8
  name="pyerualjetwork",
9
- version="4.2.9b2",
9
+ version="4.2.9b3",
10
10
  author="Hasan Can Beydili",
11
11
  author_email="tchasancan@gmail.com",
12
12
  description=(