pyerualjetwork 4.7.1__py3-none-any.whl → 4.7.2b0__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/model_operations.py +8 -8
- pyerualjetwork/model_operations_cuda.py +8 -8
- pyerualjetwork/planeat.py +3 -3
- pyerualjetwork/planeat_cuda.py +3 -3
- {pyerualjetwork-4.7.1.dist-info → pyerualjetwork-4.7.2b0.dist-info}/METADATA +1 -1
- {pyerualjetwork-4.7.1.dist-info → pyerualjetwork-4.7.2b0.dist-info}/RECORD +9 -9
- {pyerualjetwork-4.7.1.dist-info → pyerualjetwork-4.7.2b0.dist-info}/WHEEL +0 -0
- {pyerualjetwork-4.7.1.dist-info → pyerualjetwork-4.7.2b0.dist-info}/top_level.txt +0 -0
pyerualjetwork/__init__.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
__version__ = "4.7.
|
1
|
+
__version__ = "4.7.2b0"
|
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
|
@@ -314,10 +314,10 @@ def predict_model_ssd(Input, model_name, model_path='', dtype=np.float32):
|
|
314
314
|
W = model[get_weights()]
|
315
315
|
model_type = model[get_model_type()]
|
316
316
|
|
317
|
-
if isinstance(
|
318
|
-
|
319
|
-
|
320
|
-
|
317
|
+
if isinstance(activation_potentiations, str):
|
318
|
+
activation_potentiations = [activation_potentiations]
|
319
|
+
elif isinstance(activation_potentiations, list):
|
320
|
+
activation_potentiations = [item if isinstance(item, list) or isinstance(item, str) else [item] for item in activation_potentiations]
|
321
321
|
|
322
322
|
Input = standard_scaler(None, Input, scaler_params)
|
323
323
|
|
@@ -398,10 +398,10 @@ def predict_model_ram(Input, W, scaler_params=None, activation_potentiation=['li
|
|
398
398
|
|
399
399
|
Input = standard_scaler(None, Input, scaler_params)
|
400
400
|
|
401
|
-
if isinstance(
|
402
|
-
|
403
|
-
|
404
|
-
|
401
|
+
if isinstance(activation_potentiations, str):
|
402
|
+
activation_potentiations = [activation_potentiations]
|
403
|
+
elif isinstance(activation_potentiations, list):
|
404
|
+
activation_potentiations = [item if isinstance(item, list) or isinstance(item, str) else [item] for item in activation_potentiations]
|
405
405
|
|
406
406
|
if is_mlp:
|
407
407
|
|
@@ -333,10 +333,10 @@ def predict_model_ssd(Input, model_name, model_path='', dtype=cp.float32):
|
|
333
333
|
W = model[get_weights()]
|
334
334
|
model_type = model[get_model_type()]
|
335
335
|
|
336
|
-
if isinstance(
|
337
|
-
|
338
|
-
|
339
|
-
|
336
|
+
if isinstance(activation_potentiations, str):
|
337
|
+
activation_potentiations = [activation_potentiations]
|
338
|
+
elif isinstance(activation_potentiations, list):
|
339
|
+
activation_potentiations = [item if isinstance(item, list) or isinstance(item, str) else [item] for item in activation_potentiations]
|
340
340
|
|
341
341
|
Input = standard_scaler(None, Input, scaler_params)
|
342
342
|
|
@@ -419,10 +419,10 @@ def predict_model_ram(Input, W, scaler_params=None, activation_potentiation=['li
|
|
419
419
|
|
420
420
|
try:
|
421
421
|
|
422
|
-
if isinstance(
|
423
|
-
|
424
|
-
|
425
|
-
|
422
|
+
if isinstance(activation_potentiations, str):
|
423
|
+
activation_potentiations = [activation_potentiations]
|
424
|
+
elif isinstance(activation_potentiations, list):
|
425
|
+
activation_potentiations = [item if isinstance(item, list) or isinstance(item, str) else [item] for item in activation_potentiations]
|
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.2b0
|
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=
|
1
|
+
pyerualjetwork/__init__.py,sha256=3BBKyB4jthRbtBBj23FCBSgD3qGezCahzQR69jwVBmU,1281
|
2
2
|
pyerualjetwork/activation_functions.py,sha256=X7Kv8qv8oZq8hvTdUiV-GkFjKHRlKIQypRPXh6gdkm4,7614
|
3
3
|
pyerualjetwork/activation_functions_cuda.py,sha256=pefklsl9QuSVbKwiUUHeF_ExN0bICH7QIF1MfoMU40Q,7665
|
4
4
|
pyerualjetwork/data_operations.py,sha256=XKYG9-mLa3qKAXUjejuD7V8aJKjpl5PdQwKzPFjpKgs,15437
|
@@ -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=qdOpvlqeK4BJwcQopPj8Ka3WqpARY6G_rm-oQLuKZ9Y,15280
|
14
|
+
pyerualjetwork/model_operations_cuda.py,sha256=9MZI7X2pudkm4QudrEJH6q3OGHNEAmdfRaOrF2uoZ60,16341
|
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.
|
23
|
-
pyerualjetwork-4.7.
|
24
|
-
pyerualjetwork-4.7.
|
25
|
-
pyerualjetwork-4.7.
|
22
|
+
pyerualjetwork-4.7.2b0.dist-info/METADATA,sha256=h5zXs3STHDR8KQ6dV3VP988NeDHxKwKi_GiDHnYqn-U,7507
|
23
|
+
pyerualjetwork-4.7.2b0.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
24
|
+
pyerualjetwork-4.7.2b0.dist-info/top_level.txt,sha256=BRyt62U_r3ZmJpj-wXNOoA345Bzamrj6RbaWsyW4tRg,15
|
25
|
+
pyerualjetwork-4.7.2b0.dist-info/RECORD,,
|
File without changes
|
File without changes
|