pyerualjetwork 4.7__py3-none-any.whl → 4.7.2__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.
- pyerualjetwork/__init__.py +1 -1
- pyerualjetwork/activation_functions.py +1 -1
- pyerualjetwork/activation_functions_cuda.py +1 -1
- pyerualjetwork/model_operations.py +4 -4
- pyerualjetwork/model_operations_cuda.py +4 -4
- pyerualjetwork/planeat.py +3 -3
- pyerualjetwork/planeat_cuda.py +3 -3
- {pyerualjetwork-4.7.dist-info → pyerualjetwork-4.7.2.dist-info}/METADATA +1 -1
- {pyerualjetwork-4.7.dist-info → pyerualjetwork-4.7.2.dist-info}/RECORD +11 -11
- {pyerualjetwork-4.7.dist-info → pyerualjetwork-4.7.2.dist-info}/WHEEL +0 -0
- {pyerualjetwork-4.7.dist-info → pyerualjetwork-4.7.2.dist-info}/top_level.txt +0 -0
pyerualjetwork/__init__.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
__version__ = "4.7"
|
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
|
@@ -7,7 +7,7 @@ import warnings
|
|
7
7
|
|
8
8
|
def all_activations():
|
9
9
|
|
10
|
-
activations_list = ['linear', 'sigmoid', 'relu', 'tanh', 'circular', 'spiral', 'swish', 'sin_plus', 'mod_circular', 'tanh_circular', 'leaky_relu', 'softplus', 'elu', 'gelu', 'selu', 'sinakt', 'p_squared', 'sglu', 'dlrelu', 'exsig', 'acos', '
|
10
|
+
activations_list = ['linear', 'sigmoid', 'relu', 'tanh', 'circular', 'spiral', 'swish', 'sin_plus', 'mod_circular', 'tanh_circular', 'leaky_relu', 'softplus', 'elu', 'gelu', 'selu', 'sinakt', 'p_squared', 'sglu', 'dlrelu', 'exsig', 'acos', 'srelu', 'qelu', 'isra', 'waveakt', 'arctan', 'bent_identity', 'sech', 'softsign', 'pwl', 'cubic', 'gaussian', 'sine', 'tanh_square', 'mod_sigmoid', 'quartic', 'square_quartic', 'cubic_quadratic', 'sine_square', 'logarithmic', 'scaled_cubic', 'sine_offset']
|
11
11
|
|
12
12
|
return activations_list
|
13
13
|
|
@@ -6,7 +6,7 @@ import warnings
|
|
6
6
|
|
7
7
|
def all_activations():
|
8
8
|
|
9
|
-
activations_list = ['linear', 'sigmoid', 'relu', 'tanh', 'circular', 'spiral', 'swish', 'sin_plus', 'mod_circular', 'tanh_circular', 'leaky_relu', 'softplus', 'elu', 'gelu', 'selu', 'sinakt', 'p_squared', 'sglu', 'dlrelu', 'exsig', 'acos', '
|
9
|
+
activations_list = ['linear', 'sigmoid', 'relu', 'tanh', 'circular', 'spiral', 'swish', 'sin_plus', 'mod_circular', 'tanh_circular', 'leaky_relu', 'softplus', 'elu', 'gelu', 'selu', 'sinakt', 'p_squared', 'sglu', 'dlrelu', 'exsig', 'acos', 'srelu', 'qelu', 'isra', 'waveakt', 'arctan', 'bent_identity', 'sech', 'softsign', 'pwl', 'cubic', 'gaussian', 'sine', 'tanh_square', 'mod_sigmoid', 'quartic', 'square_quartic', 'cubic_quadratic', 'sine_square', 'logarithmic', 'scaled_cubic', 'sine_offset']
|
10
10
|
|
11
11
|
return activations_list
|
12
12
|
|
@@ -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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
|
pyerualjetwork/planeat.py
CHANGED
@@ -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
|
-
|
543
|
-
|
544
|
-
|
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
|
pyerualjetwork/planeat_cuda.py
CHANGED
@@ -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
|
-
|
561
|
-
|
562
|
-
|
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
|
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,6 +1,6 @@
|
|
1
|
-
pyerualjetwork/__init__.py,sha256=
|
2
|
-
pyerualjetwork/activation_functions.py,sha256=
|
3
|
-
pyerualjetwork/activation_functions_cuda.py,sha256=
|
1
|
+
pyerualjetwork/__init__.py,sha256=hgsCywyfA2zoxYuwVY5frkHQxzZiurKJH7nWkbg4_pY,1279
|
2
|
+
pyerualjetwork/activation_functions.py,sha256=X7Kv8qv8oZq8hvTdUiV-GkFjKHRlKIQypRPXh6gdkm4,7614
|
3
|
+
pyerualjetwork/activation_functions_cuda.py,sha256=pefklsl9QuSVbKwiUUHeF_ExN0bICH7QIF1MfoMU40Q,7665
|
4
4
|
pyerualjetwork/data_operations.py,sha256=XKYG9-mLa3qKAXUjejuD7V8aJKjpl5PdQwKzPFjpKgs,15437
|
5
5
|
pyerualjetwork/data_operations_cuda.py,sha256=REvZxtxcKmQNy2wekkbUOVi2Fg1VV9tomi2_ykXWXsM,17627
|
6
6
|
pyerualjetwork/fitness_functions.py,sha256=urRdeMvUhNgWxD4ZGHCRdQlIf9cTWYMvF3_aVBojRqY,1235
|
@@ -10,16 +10,16 @@ pyerualjetwork/loss_functions_cuda.py,sha256=C93IZJcrOpT6HMK9x1O4AHJWXYTkN5WZiqd
|
|
10
10
|
pyerualjetwork/memory_operations.py,sha256=0yCOHcgiNyF4ccMcRlL1Q9F_byG4nzjhmkbpXE_yU6E,13401
|
11
11
|
pyerualjetwork/metrics.py,sha256=q7MkhnZDRbCjFBDDfUgrl8lBYnUT_1ro1LxeBq105pI,6077
|
12
12
|
pyerualjetwork/metrics_cuda.py,sha256=73h9GC7XwmnFCVzFEEiPQfF8CwHIz2wsCbxpZrJtYgw,5061
|
13
|
-
pyerualjetwork/model_operations.py,sha256=
|
14
|
-
pyerualjetwork/model_operations_cuda.py,sha256=
|
13
|
+
pyerualjetwork/model_operations.py,sha256=kTLhHlu8NSFBTTWDVyMdN7PsDk2emFU9_6JgH6_Mh8k,15268
|
14
|
+
pyerualjetwork/model_operations_cuda.py,sha256=bK1SKi_ar7UVL7jwDftSyg4g5wMLsYT1z_ZPqFAsrKo,16329
|
15
15
|
pyerualjetwork/plan.py,sha256=cjVblo8TxTHX-GZPvgQvJZ34nOmzxSvtCrQi9K-Mhog,23268
|
16
16
|
pyerualjetwork/plan_cuda.py,sha256=ZEU_b_EoA-zPk7Gn94L_XBZz1v4mn8DOUsjTNV6fp8Q,24230
|
17
|
-
pyerualjetwork/planeat.py,sha256=
|
18
|
-
pyerualjetwork/planeat_cuda.py,sha256=
|
17
|
+
pyerualjetwork/planeat.py,sha256=_AkG-EJj8M7M1fCoXLQpttXud34X6bbaFkaD117UmAc,44717
|
18
|
+
pyerualjetwork/planeat_cuda.py,sha256=YEpqxwhFYxHBxZNbDFXlI4d-r2S46OalLmKhk86pFBI,45311
|
19
19
|
pyerualjetwork/ui.py,sha256=JBTFYz5R24XwNKhA3GSW-oYAoiIBxAE3kFGXkvm5gqw,656
|
20
20
|
pyerualjetwork/visualizations.py,sha256=utnX9zQhzmtvBJLOLNGm2jecVVk4zHXABQdjb0XzJac,28352
|
21
21
|
pyerualjetwork/visualizations_cuda.py,sha256=gnoaaazZ-nc9E1ImqXrZBRgQ4Rnpi2qh2yGJ2eLKMlE,28807
|
22
|
-
pyerualjetwork-4.7.dist-info/METADATA,sha256=
|
23
|
-
pyerualjetwork-4.7.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
24
|
-
pyerualjetwork-4.7.dist-info/top_level.txt,sha256=BRyt62U_r3ZmJpj-wXNOoA345Bzamrj6RbaWsyW4tRg,15
|
25
|
-
pyerualjetwork-4.7.dist-info/RECORD,,
|
22
|
+
pyerualjetwork-4.7.2.dist-info/METADATA,sha256=qNbqS7ETCQ3sKRg5of3a_EkvW-rth4zDvaaCaMjKmwo,7505
|
23
|
+
pyerualjetwork-4.7.2.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
24
|
+
pyerualjetwork-4.7.2.dist-info/top_level.txt,sha256=BRyt62U_r3ZmJpj-wXNOoA345Bzamrj6RbaWsyW4tRg,15
|
25
|
+
pyerualjetwork-4.7.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|