pyerualjetwork 4.2.9b0__tar.gz → 4.2.9b2__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.9b0 → pyerualjetwork-4.2.9b2}/PKG-INFO +1 -1
  2. {pyerualjetwork-4.2.9b0 → pyerualjetwork-4.2.9b2}/pyerualjetwork/__init__.py +1 -1
  3. {pyerualjetwork-4.2.9b0 → pyerualjetwork-4.2.9b2}/pyerualjetwork/plan_cuda.py +2 -13
  4. {pyerualjetwork-4.2.9b0 → pyerualjetwork-4.2.9b2}/pyerualjetwork.egg-info/PKG-INFO +1 -1
  5. {pyerualjetwork-4.2.9b0 → pyerualjetwork-4.2.9b2}/setup.py +1 -1
  6. {pyerualjetwork-4.2.9b0 → pyerualjetwork-4.2.9b2}/README.md +0 -0
  7. {pyerualjetwork-4.2.9b0 → pyerualjetwork-4.2.9b2}/pyerualjetwork/activation_functions.py +0 -0
  8. {pyerualjetwork-4.2.9b0 → pyerualjetwork-4.2.9b2}/pyerualjetwork/activation_functions_cuda.py +0 -0
  9. {pyerualjetwork-4.2.9b0 → pyerualjetwork-4.2.9b2}/pyerualjetwork/data_operations.py +0 -0
  10. {pyerualjetwork-4.2.9b0 → pyerualjetwork-4.2.9b2}/pyerualjetwork/data_operations_cuda.py +0 -0
  11. {pyerualjetwork-4.2.9b0 → pyerualjetwork-4.2.9b2}/pyerualjetwork/help.py +0 -0
  12. {pyerualjetwork-4.2.9b0 → pyerualjetwork-4.2.9b2}/pyerualjetwork/loss_functions.py +0 -0
  13. {pyerualjetwork-4.2.9b0 → pyerualjetwork-4.2.9b2}/pyerualjetwork/loss_functions_cuda.py +0 -0
  14. {pyerualjetwork-4.2.9b0 → pyerualjetwork-4.2.9b2}/pyerualjetwork/memory_operations.py +0 -0
  15. {pyerualjetwork-4.2.9b0 → pyerualjetwork-4.2.9b2}/pyerualjetwork/metrics.py +0 -0
  16. {pyerualjetwork-4.2.9b0 → pyerualjetwork-4.2.9b2}/pyerualjetwork/metrics_cuda.py +0 -0
  17. {pyerualjetwork-4.2.9b0 → pyerualjetwork-4.2.9b2}/pyerualjetwork/model_operations.py +0 -0
  18. {pyerualjetwork-4.2.9b0 → pyerualjetwork-4.2.9b2}/pyerualjetwork/model_operations_cuda.py +0 -0
  19. {pyerualjetwork-4.2.9b0 → pyerualjetwork-4.2.9b2}/pyerualjetwork/plan.py +0 -0
  20. {pyerualjetwork-4.2.9b0 → pyerualjetwork-4.2.9b2}/pyerualjetwork/planeat.py +0 -0
  21. {pyerualjetwork-4.2.9b0 → pyerualjetwork-4.2.9b2}/pyerualjetwork/planeat_cuda.py +0 -0
  22. {pyerualjetwork-4.2.9b0 → pyerualjetwork-4.2.9b2}/pyerualjetwork/ui.py +0 -0
  23. {pyerualjetwork-4.2.9b0 → pyerualjetwork-4.2.9b2}/pyerualjetwork/visualizations.py +0 -0
  24. {pyerualjetwork-4.2.9b0 → pyerualjetwork-4.2.9b2}/pyerualjetwork/visualizations_cuda.py +0 -0
  25. {pyerualjetwork-4.2.9b0 → pyerualjetwork-4.2.9b2}/pyerualjetwork.egg-info/SOURCES.txt +0 -0
  26. {pyerualjetwork-4.2.9b0 → pyerualjetwork-4.2.9b2}/pyerualjetwork.egg-info/dependency_links.txt +0 -0
  27. {pyerualjetwork-4.2.9b0 → pyerualjetwork-4.2.9b2}/pyerualjetwork.egg-info/top_level.txt +0 -0
  28. {pyerualjetwork-4.2.9b0 → pyerualjetwork-4.2.9b2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyerualjetwork
3
- Version: 4.2.9b0
3
+ Version: 4.2.9b2
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.9b0"
1
+ __version__ = "4.2.9b2"
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,17 +598,6 @@ 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
-
612
601
  predict_probabilitys = cp.empty((len(x_test), W.shape[0]), dtype=dtype)
613
602
  real_classes = cp.empty(len(x_test), dtype=y_test.dtype)
614
603
  predict_classes = cp.empty(len(x_test), dtype=y_test.dtype)
@@ -627,9 +616,9 @@ def evaluate(
627
616
 
628
617
  predict_probabilitys[inpIndex] = Softmax(neural_layer)
629
618
 
630
- RealOutput = cp.argmax(y_test[inpIndex], dtype=y_test[inpIndex].dtype)
619
+ RealOutput = cp.argmax(y_test[inpIndex])
631
620
  real_classes[inpIndex] = RealOutput
632
- PredictedOutput = cp.argmax(neural_layer, dtype=neural_layer.dtype)
621
+ PredictedOutput = cp.argmax(neural_layer)
633
622
  predict_classes[inpIndex] = PredictedOutput
634
623
 
635
624
  if RealOutput == PredictedOutput:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyerualjetwork
3
- Version: 4.2.9b0
3
+ Version: 4.2.9b2
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.9b0",
9
+ version="4.2.9b2",
10
10
  author="Hasan Can Beydili",
11
11
  author_email="tchasancan@gmail.com",
12
12
  description=(