pyerualjetwork 4.2.6b6__py3-none-any.whl → 4.2.6b8__py3-none-any.whl

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.
@@ -1,4 +1,4 @@
1
- __version__ = "4.2.6b6"
1
+ __version__ = "4.2.6b8"
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__):
pyerualjetwork/planeat.py CHANGED
@@ -614,7 +614,7 @@ def cross_over(first_parent_W,
614
614
 
615
615
  if potential_activation_selection_add > activation_selection_add_prob:
616
616
 
617
- threshold = threshold / succes
617
+ threshold = abs(threshold / succes)
618
618
  new_threshold = threshold
619
619
 
620
620
  while True:
@@ -636,7 +636,7 @@ def cross_over(first_parent_W,
636
636
 
637
637
  if potential_activation_selection_change_prob > activation_selection_change_prob:
638
638
 
639
- threshold = threshold / succes
639
+ threshold = abs(threshold / succes)
640
640
  new_threshold = threshold
641
641
 
642
642
  while True:
@@ -721,26 +721,21 @@ def mutation(weight,
721
721
  max_threshold = row_end * col_end
722
722
 
723
723
  threshold = threshold * genome_fitness
724
- performance_control = 0
725
724
  new_threshold = threshold
726
725
 
727
- while True:
726
+ for _ in range(max_threshold):
728
727
 
729
728
  selected_row = int(random.uniform(start, row_end))
730
729
  selected_col = int(random.uniform(start, col_end))
731
730
 
732
731
  weight[selected_row, selected_col] = random.uniform(-1, 1)
733
- performance_control += 1
734
732
 
735
733
  if max_threshold > new_threshold:
736
734
  new_threshold += threshold
737
- pass
738
735
 
739
736
  else:
740
737
  break
741
738
 
742
- if performance_control == max_threshold:
743
- break
744
739
 
745
740
  activation_mutate_prob = 1 - activation_mutate_prob
746
741
  potential_activation_mutation = random.uniform(0, 1)
@@ -727,25 +727,19 @@ def mutation(weight,
727
727
 
728
728
  threshold = threshold * genome_fitness
729
729
  new_threshold = threshold
730
- performance_control = 0
731
730
 
732
- while True:
731
+ for _ in range(max_threshold):
733
732
 
734
733
  selected_row = int(random.uniform(start, row_end))
735
734
  selected_col = int(random.uniform(start, col_end))
736
735
 
737
736
  weight[selected_row, selected_col] = random.uniform(-1, 1)
738
- performance_control += 1
739
737
 
740
738
  if max_threshold > new_threshold:
741
739
  new_threshold += threshold
742
- pass
743
740
 
744
741
  else:
745
742
  break
746
-
747
- if performance_control >= max_threshold:
748
- break
749
743
 
750
744
  activation_mutate_prob = 1 - activation_mutate_prob
751
745
  potential_activation_mutation = random.uniform(0, 1)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyerualjetwork
3
- Version: 4.2.6b6
3
+ Version: 4.2.6b8
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
- pyerualjetwork/__init__.py,sha256=KsGMr2ZpX2T1faElx2xauUBN1vZczPrtY7ZHSQ4vhYU,641
1
+ pyerualjetwork/__init__.py,sha256=YWqrIcXhOQjha7hQXj1uWc-ZjE13OkHcsVXv3_-IGX4,641
2
2
  pyerualjetwork/activation_functions.py,sha256=WWOdMd5pI6ZKe-ieKCIsKAYPQODHuXYxx7tzhA5xjes,11767
3
3
  pyerualjetwork/activation_functions_cuda.py,sha256=KmXJ5Cdig46XAMYakXFPEOlxSxtFJjD21-i3nGtxPjE,11807
4
4
  pyerualjetwork/data_operations.py,sha256=pb5CqJ0Th6fCjTNMCtqQMiwH3KezTxAijacglsKUxmY,14730
@@ -13,12 +13,12 @@ pyerualjetwork/model_operations.py,sha256=RKqnh7-MByFosxqme4q4jC1lOndX26O-OVXYV6
13
13
  pyerualjetwork/model_operations_cuda.py,sha256=XnKKq54ZLaqCm-NaJ6d8IToACKcKg2Ttq6moowVRRWo,13365
14
14
  pyerualjetwork/plan.py,sha256=UzCTFCA9cTv9ITCtsqfJ1g02rCMyescoIV6j1amvYGw,32134
15
15
  pyerualjetwork/plan_cuda.py,sha256=hpXZl3h7B1qAVYW-gZebwKMZd4-ftAZ-u05teOJjsno,33525
16
- pyerualjetwork/planeat.py,sha256=3AsDgTtv_23shY7-ToRVKV__3l77X4fopeBwxLKInMg,39018
17
- pyerualjetwork/planeat_cuda.py,sha256=Jyw0MiP4nkEY4I7pq2URR4a40WMPZCYzRts3dcvWtXg,38983
16
+ pyerualjetwork/planeat.py,sha256=cDr0QfOD4FFibcpgsnyQiSpRUwkfYHkBJGqxBnyzx9Q,38893
17
+ pyerualjetwork/planeat_cuda.py,sha256=uwbEU_GG3TSaIYUhaU8k13n3bSwFDhCWug4kSLvOHb4,38846
18
18
  pyerualjetwork/ui.py,sha256=wu2BhU1k-w3Kcho5Jtq4SEKe68ftaUeRGneUOSCVDjU,575
19
19
  pyerualjetwork/visualizations.py,sha256=1SKMZaJ80OD2qHUyMxW1IOv8zwmxzMPxclfbeq1Xr4g,28772
20
20
  pyerualjetwork/visualizations_cuda.py,sha256=KbMhfsLlxujy_i3QrwCf734Q-k6d7Zn_7CEbm3gzK9w,29186
21
- pyerualjetwork-4.2.6b6.dist-info/METADATA,sha256=5eApPMv8rbPgFb3Cg0jYVWbFiwcYrSF3riuF7VBBeYc,7454
22
- pyerualjetwork-4.2.6b6.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
23
- pyerualjetwork-4.2.6b6.dist-info/top_level.txt,sha256=BRyt62U_r3ZmJpj-wXNOoA345Bzamrj6RbaWsyW4tRg,15
24
- pyerualjetwork-4.2.6b6.dist-info/RECORD,,
21
+ pyerualjetwork-4.2.6b8.dist-info/METADATA,sha256=y-mt0kx3VmyrZE-0FYe3VOlHSTL0qweaLW2moncD0A0,7454
22
+ pyerualjetwork-4.2.6b8.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
23
+ pyerualjetwork-4.2.6b8.dist-info/top_level.txt,sha256=BRyt62U_r3ZmJpj-wXNOoA345Bzamrj6RbaWsyW4tRg,15
24
+ pyerualjetwork-4.2.6b8.dist-info/RECORD,,