pyerualjetwork 4.7.1__tar.gz → 4.7.2__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 (29) hide show
  1. {pyerualjetwork-4.7.1 → pyerualjetwork-4.7.2}/PKG-INFO +1 -1
  2. {pyerualjetwork-4.7.1 → pyerualjetwork-4.7.2}/pyerualjetwork/__init__.py +1 -1
  3. {pyerualjetwork-4.7.1 → pyerualjetwork-4.7.2}/pyerualjetwork/model_operations.py +4 -4
  4. {pyerualjetwork-4.7.1 → pyerualjetwork-4.7.2}/pyerualjetwork/model_operations_cuda.py +4 -4
  5. {pyerualjetwork-4.7.1 → pyerualjetwork-4.7.2}/pyerualjetwork/planeat.py +3 -3
  6. {pyerualjetwork-4.7.1 → pyerualjetwork-4.7.2}/pyerualjetwork/planeat_cuda.py +3 -3
  7. {pyerualjetwork-4.7.1 → pyerualjetwork-4.7.2}/pyerualjetwork.egg-info/PKG-INFO +1 -1
  8. {pyerualjetwork-4.7.1 → pyerualjetwork-4.7.2}/setup.py +1 -1
  9. {pyerualjetwork-4.7.1 → pyerualjetwork-4.7.2}/README.md +0 -0
  10. {pyerualjetwork-4.7.1 → pyerualjetwork-4.7.2}/pyerualjetwork/activation_functions.py +0 -0
  11. {pyerualjetwork-4.7.1 → pyerualjetwork-4.7.2}/pyerualjetwork/activation_functions_cuda.py +0 -0
  12. {pyerualjetwork-4.7.1 → pyerualjetwork-4.7.2}/pyerualjetwork/data_operations.py +0 -0
  13. {pyerualjetwork-4.7.1 → pyerualjetwork-4.7.2}/pyerualjetwork/data_operations_cuda.py +0 -0
  14. {pyerualjetwork-4.7.1 → pyerualjetwork-4.7.2}/pyerualjetwork/fitness_functions.py +0 -0
  15. {pyerualjetwork-4.7.1 → pyerualjetwork-4.7.2}/pyerualjetwork/help.py +0 -0
  16. {pyerualjetwork-4.7.1 → pyerualjetwork-4.7.2}/pyerualjetwork/loss_functions.py +0 -0
  17. {pyerualjetwork-4.7.1 → pyerualjetwork-4.7.2}/pyerualjetwork/loss_functions_cuda.py +0 -0
  18. {pyerualjetwork-4.7.1 → pyerualjetwork-4.7.2}/pyerualjetwork/memory_operations.py +0 -0
  19. {pyerualjetwork-4.7.1 → pyerualjetwork-4.7.2}/pyerualjetwork/metrics.py +0 -0
  20. {pyerualjetwork-4.7.1 → pyerualjetwork-4.7.2}/pyerualjetwork/metrics_cuda.py +0 -0
  21. {pyerualjetwork-4.7.1 → pyerualjetwork-4.7.2}/pyerualjetwork/plan.py +0 -0
  22. {pyerualjetwork-4.7.1 → pyerualjetwork-4.7.2}/pyerualjetwork/plan_cuda.py +0 -0
  23. {pyerualjetwork-4.7.1 → pyerualjetwork-4.7.2}/pyerualjetwork/ui.py +0 -0
  24. {pyerualjetwork-4.7.1 → pyerualjetwork-4.7.2}/pyerualjetwork/visualizations.py +0 -0
  25. {pyerualjetwork-4.7.1 → pyerualjetwork-4.7.2}/pyerualjetwork/visualizations_cuda.py +0 -0
  26. {pyerualjetwork-4.7.1 → pyerualjetwork-4.7.2}/pyerualjetwork.egg-info/SOURCES.txt +0 -0
  27. {pyerualjetwork-4.7.1 → pyerualjetwork-4.7.2}/pyerualjetwork.egg-info/dependency_links.txt +0 -0
  28. {pyerualjetwork-4.7.1 → pyerualjetwork-4.7.2}/pyerualjetwork.egg-info/top_level.txt +0 -0
  29. {pyerualjetwork-4.7.1 → pyerualjetwork-4.7.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyerualjetwork
3
- Version: 4.7.1
3
+ Version: 4.7.2
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
- __version__ = "4.7.1"
1
+ __version__ = "4.7.2"
2
2
  __update__ = """* Changes: https://github.com/HCB06/PyerualJetwork/blob/main/CHANGES
3
3
  * PyerualJetwork Homepage: https://github.com/HCB06/PyerualJetwork/tree/main
4
4
  * PyerualJetwork document: https://github.com/HCB06/PyerualJetwork/blob/main/Welcome_to_PyerualJetwork/PYERUALJETWORK_USER_MANUEL_AND_LEGAL_INFORMATION(EN).pdf
@@ -316,8 +316,8 @@ def predict_model_ssd(Input, model_name, model_path='', dtype=np.float32):
316
316
 
317
317
  if isinstance(activation_potentiation, str):
318
318
  activation_potentiation = [activation_potentiation]
319
- else:
320
- activation_potentiation = [item if isinstance(item, list) else [item] for item in activation_potentiation]
319
+ elif isinstance(activation_potentiation, list):
320
+ activation_potentiation = [item if isinstance(item, list) or isinstance(item, str) else [item] for item in activation_potentiation]
321
321
 
322
322
  Input = standard_scaler(None, Input, scaler_params)
323
323
 
@@ -400,8 +400,8 @@ def predict_model_ram(Input, W, scaler_params=None, activation_potentiation=['li
400
400
 
401
401
  if isinstance(activation_potentiation, str):
402
402
  activation_potentiation = [activation_potentiation]
403
- else:
404
- activation_potentiation = [item if isinstance(item, list) else [item] for item in activation_potentiation]
403
+ elif isinstance(activation_potentiation, list):
404
+ activation_potentiation = [item if isinstance(item, list) or isinstance(item, str) else [item] for item in activation_potentiation]
405
405
 
406
406
  if is_mlp:
407
407
 
@@ -335,8 +335,8 @@ def predict_model_ssd(Input, model_name, model_path='', dtype=cp.float32):
335
335
 
336
336
  if isinstance(activation_potentiation, str):
337
337
  activation_potentiation = [activation_potentiation]
338
- else:
339
- activation_potentiation = [item if isinstance(item, list) else [item] for item in activation_potentiation]
338
+ elif isinstance(activation_potentiation, list):
339
+ activation_potentiation = [item if isinstance(item, list) or isinstance(item, str) else [item] for item in activation_potentiation]
340
340
 
341
341
  Input = standard_scaler(None, Input, scaler_params)
342
342
 
@@ -421,8 +421,8 @@ def predict_model_ram(Input, W, scaler_params=None, activation_potentiation=['li
421
421
 
422
422
  if isinstance(activation_potentiation, str):
423
423
  activation_potentiation = [activation_potentiation]
424
- else:
425
- activation_potentiation = [item if isinstance(item, list) else [item] for item in activation_potentiation]
424
+ elif isinstance(activation_potentiation, list):
425
+ activation_potentiation = [item if isinstance(item, list) or isinstance(item, str) else [item] for item in activation_potentiation]
426
426
 
427
427
  Input = standard_scaler(None, Input, scaler_params)
428
428
 
@@ -539,9 +539,9 @@ def evaluate(Input, weights, activation_potentiations, is_mlp=False):
539
539
 
540
540
 
541
541
  if isinstance(activation_potentiations, str):
542
- activation_potentiations = [activation_potentiations]
543
- else:
544
- activation_potentiations = [item if isinstance(item, list) else [item] for item in activation_potentiations]
542
+ activation_potentiations = [activation_potentiations]
543
+ elif isinstance(activation_potentiations, list):
544
+ activation_potentiations = [item if isinstance(item, list) or isinstance(item, str) else [item] for item in activation_potentiations]
545
545
 
546
546
  if is_mlp:
547
547
  layer = Input
@@ -557,9 +557,9 @@ def evaluate(Input, weights, activation_potentiations, is_mlp=False):
557
557
  ### THE OUTPUTS ARE RETURNED WHERE EACH GENOME'S OUTPUT MATCHES ITS INDEX:
558
558
 
559
559
  if isinstance(activation_potentiations, str):
560
- activation_potentiations = [activation_potentiations]
561
- else:
562
- activation_potentiations = [item if isinstance(item, list) else [item] for item in activation_potentiations]
560
+ activation_potentiations = [activation_potentiations]
561
+ elif isinstance(activation_potentiations, list):
562
+ activation_potentiations = [item if isinstance(item, list) or isinstance(item, str) else [item] for item in activation_potentiations]
563
563
 
564
564
  if is_mlp:
565
565
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyerualjetwork
3
- Version: 4.7.1
3
+ Version: 4.7.2
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
@@ -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.7.1",
9
+ version="4.7.2",
10
10
  author="Hasan Can Beydili",
11
11
  author_email="tchasancan@gmail.com",
12
12
  description=(
File without changes
File without changes