pyerualjetwork 4.1.8b8__tar.gz → 4.1.9__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.1.8b8 → pyerualjetwork-4.1.9}/PKG-INFO +1 -1
  2. {pyerualjetwork-4.1.8b8 → pyerualjetwork-4.1.9}/pyerualjetwork/__init__.py +1 -1
  3. {pyerualjetwork-4.1.8b8 → pyerualjetwork-4.1.9}/pyerualjetwork/data_operations.py +1 -1
  4. {pyerualjetwork-4.1.8b8 → pyerualjetwork-4.1.9}/pyerualjetwork/plan.py +1 -0
  5. {pyerualjetwork-4.1.8b8 → pyerualjetwork-4.1.9}/pyerualjetwork/plan_cuda.py +0 -1
  6. {pyerualjetwork-4.1.8b8 → pyerualjetwork-4.1.9}/pyerualjetwork/planeat.py +1 -1
  7. {pyerualjetwork-4.1.8b8 → pyerualjetwork-4.1.9}/pyerualjetwork/planeat_cuda.py +1 -1
  8. {pyerualjetwork-4.1.8b8 → pyerualjetwork-4.1.9}/pyerualjetwork/visualizations_cuda.py +1 -1
  9. {pyerualjetwork-4.1.8b8 → pyerualjetwork-4.1.9}/pyerualjetwork.egg-info/PKG-INFO +1 -1
  10. {pyerualjetwork-4.1.8b8 → pyerualjetwork-4.1.9}/setup.py +1 -1
  11. {pyerualjetwork-4.1.8b8 → pyerualjetwork-4.1.9}/README.md +0 -0
  12. {pyerualjetwork-4.1.8b8 → pyerualjetwork-4.1.9}/pyerualjetwork/activation_functions.py +0 -0
  13. {pyerualjetwork-4.1.8b8 → pyerualjetwork-4.1.9}/pyerualjetwork/activation_functions_cuda.py +0 -0
  14. {pyerualjetwork-4.1.8b8 → pyerualjetwork-4.1.9}/pyerualjetwork/data_operations_cuda.py +0 -0
  15. {pyerualjetwork-4.1.8b8 → pyerualjetwork-4.1.9}/pyerualjetwork/help.py +0 -0
  16. {pyerualjetwork-4.1.8b8 → pyerualjetwork-4.1.9}/pyerualjetwork/loss_functions.py +0 -0
  17. {pyerualjetwork-4.1.8b8 → pyerualjetwork-4.1.9}/pyerualjetwork/loss_functions_cuda.py +0 -0
  18. {pyerualjetwork-4.1.8b8 → pyerualjetwork-4.1.9}/pyerualjetwork/memory_operations.py +0 -0
  19. {pyerualjetwork-4.1.8b8 → pyerualjetwork-4.1.9}/pyerualjetwork/metrics.py +0 -0
  20. {pyerualjetwork-4.1.8b8 → pyerualjetwork-4.1.9}/pyerualjetwork/metrics_cuda.py +0 -0
  21. {pyerualjetwork-4.1.8b8 → pyerualjetwork-4.1.9}/pyerualjetwork/model_operations.py +0 -0
  22. {pyerualjetwork-4.1.8b8 → pyerualjetwork-4.1.9}/pyerualjetwork/model_operations_cuda.py +0 -0
  23. {pyerualjetwork-4.1.8b8 → pyerualjetwork-4.1.9}/pyerualjetwork/ui.py +0 -0
  24. {pyerualjetwork-4.1.8b8 → pyerualjetwork-4.1.9}/pyerualjetwork/visualizations.py +0 -0
  25. {pyerualjetwork-4.1.8b8 → pyerualjetwork-4.1.9}/pyerualjetwork.egg-info/SOURCES.txt +0 -0
  26. {pyerualjetwork-4.1.8b8 → pyerualjetwork-4.1.9}/pyerualjetwork.egg-info/dependency_links.txt +0 -0
  27. {pyerualjetwork-4.1.8b8 → pyerualjetwork-4.1.9}/pyerualjetwork.egg-info/top_level.txt +0 -0
  28. {pyerualjetwork-4.1.8b8 → pyerualjetwork-4.1.9}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyerualjetwork
3
- Version: 4.1.8b8
3
+ Version: 4.1.9
4
4
  Summary: PyerualJetwork is a machine learning library written in Python for professionals, incorporating advanced, unique, new, and modern techniques.
5
5
  Author: Hasan Can Beydili
6
6
  Author-email: tchasancan@gmail.com
@@ -48,7 +48,7 @@ for package_name in package_names:
48
48
 
49
49
  print(f"PyerualJetwork is ready to use with {err} errors")
50
50
 
51
- __version__ = "4.1.8b8"
51
+ __version__ = "4.1.9"
52
52
  __update__ = "* Changes: https://github.com/HCB06/PyerualJetwork/blob/main/CHANGES\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"
53
53
 
54
54
  def print_version(__version__):
@@ -11,7 +11,7 @@ def encode_one_hot(y_train, y_test=None, summary=False):
11
11
  Args:
12
12
  y_train (numpy.ndarray): Train label data.
13
13
  y_test (numpy.ndarray): Test label data one-hot encoded. (optional).
14
- summary (bool): If True, prints the class-to-index mapping. Default: False
14
+ summary (bool, optional): If True, prints the class-to-index mapping. Default: False
15
15
 
16
16
  Returns:
17
17
  tuple: One-hot encoded y_train and (if given) y_test.
@@ -16,6 +16,7 @@ PYERUALJETWORK document: https://github.com/HCB06/PyerualJetwork/blob/main/Welco
16
16
  import numpy as np
17
17
  from colorama import Fore
18
18
  import math
19
+ import random
19
20
 
20
21
  ### LIBRARY IMPORTS ###
21
22
  from .ui import loading_bars, initialize_loading_bar
@@ -642,7 +642,6 @@ def evaluate(
642
642
  Returns:
643
643
  tuple: Model (list).
644
644
  """
645
- from memory_operations import transfer_to_cpu, transfer_to_gpu
646
645
 
647
646
  if memory == 'gpu':
648
647
  x_test = transfer_to_gpu(x_test, dtype=dtype)
@@ -255,7 +255,7 @@ Example:
255
255
 
256
256
  bar_format = loading_bars()[0]
257
257
 
258
- if bar_status: progress = initialize_loading_bar(len(bad_weights), desc="GENERATION: " + str(what_gen), bar_format=bar_format, ncols=50, ascii="▱▰")
258
+ if bar_status: progress = initialize_loading_bar(len(bad_weights), desc="GENERATION: " + str(what_gen), bar_format=bar_format, ncols=50)
259
259
 
260
260
  for i in range(len(bad_weights)):
261
261
 
@@ -255,7 +255,7 @@ Example:
255
255
 
256
256
  bar_format = loading_bars()[0]
257
257
 
258
- if bar_status: progress = initialize_loading_bar(len(bad_weights), desc="GENERATION: " + str(what_gen), bar_format=bar_format, ncols=50, ascii="▱▰")
258
+ if bar_status: progress = initialize_loading_bar(len(bad_weights), desc="GENERATION: " + str(what_gen), bar_format=bar_format, ncols=50)
259
259
 
260
260
  for i in range(len(bad_weights)):
261
261
 
@@ -358,7 +358,7 @@ def plot_evaluate(x_test, y_test, y_preds, acc_list, W, activation_potentiation)
358
358
  fpr, tpr, thresholds = roc_curve(y_true, y_preds)
359
359
 
360
360
  roc_auc = cp.trapz(tpr, fpr)
361
- axs[1, 0].plot(fpr, tpr, color='darkorange', lw=2, label=f'ROC curve (area = {roc_auc:.2f})')
361
+ axs[1, 0].plot(fpr.get(), tpr.get(), color='darkorange', lw=2, label=f'ROC curve (area = {roc_auc:.2f})')
362
362
  axs[1, 0].plot([0, 1], [0, 1], color='navy', lw=2, linestyle='--')
363
363
  axs[1, 0].set_xlim([0.0, 1.0])
364
364
  axs[1, 0].set_ylim([0.0, 1.05])
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyerualjetwork
3
- Version: 4.1.8b8
3
+ Version: 4.1.9
4
4
  Summary: PyerualJetwork is a machine learning library written in Python for professionals, incorporating advanced, unique, new, and modern techniques.
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.1.8b8",
9
+ version="4.1.9",
10
10
  author="Hasan Can Beydili",
11
11
  author_email="tchasancan@gmail.com",
12
12
  description=(