pyerualjetwork 5.2__py3-none-any.whl → 5.21b0__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.
@@ -42,7 +42,7 @@ PyerualJetwork document: https://github.com/HCB06/PyerualJetwork/blob/main/Welco
42
42
  - Contact: tchasancan@gmail.com
43
43
  """
44
44
 
45
- __version__ = "5.2"
45
+ __version__ = "5.21b0"
46
46
  __update__ = """* Changes: https://github.com/HCB06/PyerualJetwork/blob/main/CHANGES
47
47
  * PyerualJetwork Homepage: https://github.com/HCB06/PyerualJetwork/tree/main
48
48
  * PyerualJetwork document: https://github.com/HCB06/PyerualJetwork/blob/main/Welcome_to_PyerualJetwork/PYERUALJETWORK_USER_MANUEL_AND_LEGAL_INFORMATION(EN).pdf
pyerualjetwork/neu_cpu.py CHANGED
@@ -451,8 +451,9 @@ def learn(x_train, y_train, optimizer, gen, pop_size, fit_start=True, batch_size
451
451
  if model_type == 'PLAN': weight_pop = np.array(weight_pop, copy=False, dtype=dtype)
452
452
  else: weight_pop = np.array(weight_pop, copy=False, dtype=object)
453
453
 
454
- weight_pop, act_pop = optimizer(weight_pop, act_pop, i, np.array(target_pop, dtype=dtype, copy=False), weight_evolve=weight_evolve, is_mlp=is_mlp, bar_status=False)
455
- target_pop = []
454
+ if i != len(gen) -1:
455
+ weight_pop, act_pop = optimizer(weight_pop, act_pop, i, np.array(target_pop, dtype=dtype, copy=False), weight_evolve=weight_evolve, is_mlp=is_mlp, bar_status=False)
456
+ target_pop = []
456
457
 
457
458
  # Early stopping check
458
459
  if early_stop == True and i > 0:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyerualjetwork
3
- Version: 5.2
3
+ Version: 5.21b0
4
4
  Summary: PyereualJetwork is a GPU-accelerated machine learning library in Python for professionals and researchers. It features PLAN, MLP, Deep Learning training, and ENE (Eugenic NeuroEvolution) for genetic optimization, applicable to genetic algorithms or Reinforcement Learning (RL). The library includes data pre-processing, visualizations, model saving/loading, prediction, evaluation, training, and detailed or simplified memory management.
5
5
  Author: Hasan Can Beydili
6
6
  Author-email: tchasancan@gmail.com
@@ -1,4 +1,4 @@
1
- pyerualjetwork/__init__.py,sha256=GS7DC528BW8CeyMs_fCBiH5ZnHwOpCsPBJuTI2W_mCc,2732
1
+ pyerualjetwork/__init__.py,sha256=_fx78wV0Shu3TXPCLzNB798xe0YbYGkZMlDaSW_M7fg,2735
2
2
  pyerualjetwork/activation_functions_cpu.py,sha256=qP_Ipi2-c5tyJ7Jb9gWJZCj2AgeOIzLBdoEqQOUXD-s,5885
3
3
  pyerualjetwork/activation_functions_cuda.py,sha256=IJAqlbVdE01MrtOCX8TvxkGmqqhEcr1p9qozy0Sjpjw,5673
4
4
  pyerualjetwork/data_operations_cpu.py,sha256=HemqiYfSdlQKTTYNzpCh_9lTtS3AimMI4DvqJBAGjGw,16186
@@ -15,12 +15,12 @@ pyerualjetwork/metrics_cpu.py,sha256=vbfMwS0ay2heMSa0GNo-ydLjQ8cfexbLwaREp4FKAtY
15
15
  pyerualjetwork/metrics_cuda.py,sha256=PWyJyexeqlPKb09LAcF55JvhZVeXLCu3P_siYq5m2gg,5065
16
16
  pyerualjetwork/model_operations_cpu.py,sha256=Y0uPkLVbdodP7lC-fOPdja3RWi2J9z2rwWIS2pxzotU,20523
17
17
  pyerualjetwork/model_operations_cuda.py,sha256=9KfaO3NwvA-bwZqshYQwfc5e-4AYPp53EwFHMvDHS3I,21537
18
- pyerualjetwork/neu_cpu.py,sha256=4jjW9xIuB5WKJRMAR0BgkUra3OYERfUhehbqeYFgiIA,31197
18
+ pyerualjetwork/neu_cpu.py,sha256=SfWt-kia5IcanAjCyVV2VIsq8aAvDNWZr1uOneSyH9Q,31235
19
19
  pyerualjetwork/neu_cuda.py,sha256=nK74JgfyJDbaPmSR1CmtZc_PaSKk0FeFmNcWHe5-8U0,32354
20
20
  pyerualjetwork/ui.py,sha256=JBTFYz5R24XwNKhA3GSW-oYAoiIBxAE3kFGXkvm5gqw,656
21
21
  pyerualjetwork/visualizations_cpu.py,sha256=StyD1Hl1Gt55EMqR6tO3yVJZdPyGkOgCnQ75Zn8K6J8,28252
22
22
  pyerualjetwork/visualizations_cuda.py,sha256=7lYrkOdrjwQGB3T4k_vI8UDxsm_TRjzaSSg9GhlNczs,28667
23
- pyerualjetwork-5.2.dist-info/METADATA,sha256=2SrecFqAui78-WdiagwZa-JqJ197vpkzF_g765a5OiA,8132
24
- pyerualjetwork-5.2.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
25
- pyerualjetwork-5.2.dist-info/top_level.txt,sha256=BRyt62U_r3ZmJpj-wXNOoA345Bzamrj6RbaWsyW4tRg,15
26
- pyerualjetwork-5.2.dist-info/RECORD,,
23
+ pyerualjetwork-5.21b0.dist-info/METADATA,sha256=iwOn-XtAoF5BFJdNt6IGpg5oBESTkFJxvuQbXQP6VYA,8135
24
+ pyerualjetwork-5.21b0.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
25
+ pyerualjetwork-5.21b0.dist-info/top_level.txt,sha256=BRyt62U_r3ZmJpj-wXNOoA345Bzamrj6RbaWsyW4tRg,15
26
+ pyerualjetwork-5.21b0.dist-info/RECORD,,