pyerualjetwork 4.2.6b0__py3-none-any.whl → 4.2.6b2__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.6b0"
1
+ __version__ = "4.2.6b2"
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
@@ -271,6 +271,7 @@ def evolver(weights,
271
271
 
272
272
  if target_fitness == 'max': sort_indices = np.argsort(fitness)
273
273
  elif target_fitness == 'min': sort_indices = np.argsort(-fitness)
274
+ else: raise ValueError("target_fitness value just be 'max' or 'min'")
274
275
 
275
276
  fitness = fitness[sort_indices]
276
277
  weights = weights[sort_indices]
@@ -271,6 +271,7 @@ def evolver(weights,
271
271
 
272
272
  if target_fitness == 'max': sort_indices = cp.argsort(fitness)
273
273
  elif target_fitness == 'min': sort_indices = cp.argsort(-fitness)
274
+ else: raise ValueError("target_fitness value just be 'max' or 'min'")
274
275
 
275
276
  fitness = fitness[sort_indices]
276
277
  weights = weights[sort_indices]
@@ -392,9 +393,9 @@ def evolver(weights,
392
393
  print("*** Performance ***")
393
394
  print(" MAX FITNESS: ", str(cp.round(max(fitness) if target_fitness == 'max' else min(fitness), 2)))
394
395
  print(" MEAN FITNESS: ", str(cp.round(cp.mean(fitness), 2)))
395
- print(" MIN FITNESS: ", str(cp.round(min(fitness) if target_fitness == 'max' else max(fitness), 2) + '\n'))
396
+ print(" MIN FITNESS: ", str(cp.round(min(fitness) if target_fitness == 'max' else max(fitness), 2)) + '\n')
396
397
 
397
- print(" BEST GENOME ACTIVATION LENGTH: ", str(len(activation_potentiations)))
398
+ print(" BEST GENOME ACTIVATION LENGTH: ", str(len(best_activations)))
398
399
  print(" BEST GENOME INDEX: ", str(0))
399
400
  print(" NOTE: The returned genome at the first index is the best of the previous generation." + '\n')
400
401
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyerualjetwork
3
- Version: 4.2.6b0
3
+ Version: 4.2.6b2
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=5Q_IDP42nmiUsbHkGLrLVdByvpq6dkNmbqNexzo3eVs,641
1
+ pyerualjetwork/__init__.py,sha256=TkkfXhZhTJcL0Da-9KR2YWAvprYxucAKXUFha-Ax1lE,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=pjHe5nlztfKuBovDDYixY9J2V1uedmAj4sZFXGqIGEU,39397
17
- pyerualjetwork/planeat_cuda.py,sha256=CJ_yZxeaSDOHs7ZPfvs6kRtd0r-V_G-cYTdRSFIHVGA,39371
16
+ pyerualjetwork/planeat.py,sha256=Z1GkhcD-zIQrSy8HY6ywT4xz6hM7HTKVJewMaFl9_k0,39471
17
+ pyerualjetwork/planeat_cuda.py,sha256=r2wh_d0otzbBtoac5lmSrQ4NRRcEBI6smkepZttpfoU,39437
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.6b0.dist-info/METADATA,sha256=ljIt-Zi7r0oKju3m6DmMWoOLQ238XLkUq6lEj_t7DBo,7454
22
- pyerualjetwork-4.2.6b0.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
23
- pyerualjetwork-4.2.6b0.dist-info/top_level.txt,sha256=BRyt62U_r3ZmJpj-wXNOoA345Bzamrj6RbaWsyW4tRg,15
24
- pyerualjetwork-4.2.6b0.dist-info/RECORD,,
21
+ pyerualjetwork-4.2.6b2.dist-info/METADATA,sha256=q6-rQlbQzwif2uycbMCcasCyy5tl5tSO5saKzfmUqOo,7454
22
+ pyerualjetwork-4.2.6b2.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
23
+ pyerualjetwork-4.2.6b2.dist-info/top_level.txt,sha256=BRyt62U_r3ZmJpj-wXNOoA345Bzamrj6RbaWsyW4tRg,15
24
+ pyerualjetwork-4.2.6b2.dist-info/RECORD,,