pyerualjetwork 4.2.6b8__py3-none-any.whl → 4.2.7b0__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.6b8"
1
+ __version__ = "4.2.7b0"
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
@@ -626,7 +626,6 @@ def cross_over(first_parent_W,
626
626
 
627
627
  if len(dominant_parent_act) > new_threshold:
628
628
  new_threshold += threshold
629
- pass
630
629
 
631
630
  else:
632
631
  break
@@ -649,7 +648,6 @@ def cross_over(first_parent_W,
649
648
 
650
649
  if len(dominant_parent_act) > new_threshold:
651
650
  new_threshold += threshold
652
- pass
653
651
 
654
652
  else:
655
653
  break
@@ -729,9 +727,10 @@ def mutation(weight,
729
727
  selected_col = int(random.uniform(start, col_end))
730
728
 
731
729
  weight[selected_row, selected_col] = random.uniform(-1, 1)
730
+ new_threshold += threshold
732
731
 
733
732
  if max_threshold > new_threshold:
734
- new_threshold += threshold
733
+ pass
735
734
 
736
735
  else:
737
736
  break
@@ -618,7 +618,7 @@ def cross_over(first_parent_W,
618
618
 
619
619
  if potential_activation_selection_add > activation_selection_add_prob:
620
620
 
621
- threshold = threshold / succes
621
+ threshold = abs(threshold / succes)
622
622
  new_threshold = threshold
623
623
 
624
624
  while True:
@@ -627,9 +627,9 @@ def cross_over(first_parent_W,
627
627
  random_undominant_activation = undominant_parent_act[random_index]
628
628
 
629
629
  child_act.append(random_undominant_activation)
630
+ new_threshold += threshold
630
631
 
631
632
  if len(dominant_parent_act) > new_threshold:
632
- new_threshold += threshold
633
633
  pass
634
634
 
635
635
  else:
@@ -640,7 +640,7 @@ def cross_over(first_parent_W,
640
640
 
641
641
  if potential_activation_selection_change_prob > activation_selection_change_prob:
642
642
 
643
- threshold = threshold / succes
643
+ threshold = abs(threshold / succes)
644
644
  new_threshold = threshold
645
645
 
646
646
  while True:
@@ -650,9 +650,9 @@ def cross_over(first_parent_W,
650
650
  random_undominant_activation = undominant_parent_act[random_index_undominant]
651
651
 
652
652
  child_act[random_index_dominant] = random_undominant_activation
653
+ new_threshold += threshold
653
654
 
654
655
  if len(dominant_parent_act) > new_threshold:
655
- new_threshold += threshold
656
656
  pass
657
657
 
658
658
  else:
@@ -734,9 +734,10 @@ def mutation(weight,
734
734
  selected_col = int(random.uniform(start, col_end))
735
735
 
736
736
  weight[selected_row, selected_col] = random.uniform(-1, 1)
737
+ new_threshold += threshold
737
738
 
738
739
  if max_threshold > new_threshold:
739
- new_threshold += threshold
740
+ pass
740
741
 
741
742
  else:
742
743
  break
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyerualjetwork
3
- Version: 4.2.6b8
3
+ Version: 4.2.7b0
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=YWqrIcXhOQjha7hQXj1uWc-ZjE13OkHcsVXv3_-IGX4,641
1
+ pyerualjetwork/__init__.py,sha256=ATsdY6XagZY8d3RYpOmbFb_FXtIG2nPE8V_KgIBAeDs,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=cDr0QfOD4FFibcpgsnyQiSpRUwkfYHkBJGqxBnyzx9Q,38893
17
- pyerualjetwork/planeat_cuda.py,sha256=uwbEU_GG3TSaIYUhaU8k13n3bSwFDhCWug4kSLvOHb4,38846
16
+ pyerualjetwork/planeat.py,sha256=3zCCtrPPs1zxysL73uMdEjYAFcDyJwDtT7y6Jvu4iLk,38872
17
+ pyerualjetwork/planeat_cuda.py,sha256=3y-fC79rRdPa27HwzxUzlBN8y9j--1DezOv7SowVvgM,38865
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.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,,
21
+ pyerualjetwork-4.2.7b0.dist-info/METADATA,sha256=dICXjXgUm_nrIuFQk45yD0x4JbFfokscOM17gN0_y30,7454
22
+ pyerualjetwork-4.2.7b0.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
23
+ pyerualjetwork-4.2.7b0.dist-info/top_level.txt,sha256=BRyt62U_r3ZmJpj-wXNOoA345Bzamrj6RbaWsyW4tRg,15
24
+ pyerualjetwork-4.2.7b0.dist-info/RECORD,,