pyerualjetwork 4.2.2b5__py3-none-any.whl → 4.2.2b7__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/plan.py +5 -5
- pyerualjetwork/plan_cuda.py +8 -8
- {pyerualjetwork-4.2.2b5.dist-info → pyerualjetwork-4.2.2b7.dist-info}/METADATA +1 -1
- {pyerualjetwork-4.2.2b5.dist-info → pyerualjetwork-4.2.2b7.dist-info}/RECORD +7 -7
- {pyerualjetwork-4.2.2b5.dist-info → pyerualjetwork-4.2.2b7.dist-info}/WHEEL +0 -0
- {pyerualjetwork-4.2.2b5.dist-info → pyerualjetwork-4.2.2b7.dist-info}/top_level.txt +0 -0
pyerualjetwork/__init__.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
__version__ = "4.2.
|
1
|
+
__version__ = "4.2.2b7"
|
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/plan.py
CHANGED
@@ -298,8 +298,8 @@ def learner(x_train, y_train, optimizer, fit_start, strategy='accuracy', gen=Non
|
|
298
298
|
act_pop[0] = start_this_act
|
299
299
|
|
300
300
|
else:
|
301
|
-
weight_pop = []
|
302
|
-
act_pop = []
|
301
|
+
weight_pop = [0] * activation_potentiation_len
|
302
|
+
act_pop = [0] * activation_potentiation_len
|
303
303
|
|
304
304
|
for i in range(gen):
|
305
305
|
postfix_dict["Gen"] = str(i+1) + '/' + str(gen)
|
@@ -314,9 +314,9 @@ def learner(x_train, y_train, optimizer, fit_start, strategy='accuracy', gen=Non
|
|
314
314
|
x_train_batch, y_train_batch = batcher(x_train, y_train, batch_size=batch_size)
|
315
315
|
|
316
316
|
if fit_start is True and i == 0:
|
317
|
-
act_pop
|
318
|
-
W = fit(x_train_batch, y_train_batch, activation_potentiation=act_pop[
|
319
|
-
weight_pop
|
317
|
+
act_pop[j] = activation_potentiation[j]
|
318
|
+
W = fit(x_train_batch, y_train_batch, activation_potentiation=act_pop[j], train_bar=False, auto_normalization=auto_normalization, dtype=dtype)
|
319
|
+
weight_pop[j] = W
|
320
320
|
|
321
321
|
model = evaluate(x_train_batch, y_train_batch, W=weight_pop[j], loading_bar_status=False, activation_potentiation=act_pop[j], dtype=dtype)
|
322
322
|
acc = model[get_acc()]
|
pyerualjetwork/plan_cuda.py
CHANGED
@@ -323,9 +323,9 @@ def learner(x_train, y_train, optimizer, fit_start, strategy='accuracy', gen=Non
|
|
323
323
|
act_pop[0] = start_this_act
|
324
324
|
|
325
325
|
else:
|
326
|
-
weight_pop = []
|
327
|
-
act_pop = []
|
328
|
-
|
326
|
+
weight_pop = [0] * activation_potentiation_len
|
327
|
+
act_pop = [0] * activation_potentiation_len
|
328
|
+
|
329
329
|
for i in range(gen):
|
330
330
|
postfix_dict["Gen"] = str(i+1) + '/' + str(gen)
|
331
331
|
progress.set_postfix(postfix_dict)
|
@@ -337,12 +337,12 @@ def learner(x_train, y_train, optimizer, fit_start, strategy='accuracy', gen=Non
|
|
337
337
|
for j in range(activation_potentiation_len):
|
338
338
|
|
339
339
|
x_train_batch, y_train_batch = batcher(x_train, y_train, batch_size=batch_size)
|
340
|
-
|
340
|
+
|
341
341
|
if fit_start is True and i == 0:
|
342
|
-
act_pop
|
343
|
-
W = fit(x_train_batch, y_train_batch, activation_potentiation=act_pop[
|
344
|
-
weight_pop
|
345
|
-
|
342
|
+
act_pop[j] = activation_potentiation[j]
|
343
|
+
W = fit(x_train_batch, y_train_batch, activation_potentiation=act_pop[j], train_bar=False, auto_normalization=auto_normalization, dtype=dtype)
|
344
|
+
weight_pop[j] = W
|
345
|
+
|
346
346
|
model = evaluate(x_train_batch, y_train_batch, W=weight_pop[j], loading_bar_status=False, activation_potentiation=act_pop[j], dtype=dtype, memory=memory)
|
347
347
|
acc = model[get_acc()]
|
348
348
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pyerualjetwork
|
3
|
-
Version: 4.2.
|
3
|
+
Version: 4.2.2b7
|
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=IqIUtgpCoSH1nzhkVeXdgxb_pVEc5sqnDG8buT6V9YE,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
|
@@ -11,14 +11,14 @@ pyerualjetwork/metrics.py,sha256=q7MkhnZDRbCjFBDDfUgrl8lBYnUT_1ro1LxeBq105pI,607
|
|
11
11
|
pyerualjetwork/metrics_cuda.py,sha256=73h9GC7XwmnFCVzFEEiPQfF8CwHIz2wsCbxpZrJtYgw,5061
|
12
12
|
pyerualjetwork/model_operations.py,sha256=RKqnh7-MByFosxqme4q4jC1lOndX26O-OVXYV6ZxoEE,12965
|
13
13
|
pyerualjetwork/model_operations_cuda.py,sha256=XnKKq54ZLaqCm-NaJ6d8IToACKcKg2Ttq6moowVRRWo,13365
|
14
|
-
pyerualjetwork/plan.py,sha256=
|
15
|
-
pyerualjetwork/plan_cuda.py,sha256=
|
14
|
+
pyerualjetwork/plan.py,sha256=ziNRJu3_gjhUkpT62UY1jF4Fp1Go3lKzRYMTFNpV-kE,32241
|
15
|
+
pyerualjetwork/plan_cuda.py,sha256=eb_VXp8Ko-EMBvjZnjyEbiFNeFME8fWAGKUzbrBAsyI,33581
|
16
16
|
pyerualjetwork/planeat.py,sha256=hMSyrSPipOxKgOqyoAiZtniVgxPQxc4rRsvEEMOS2Ng,40757
|
17
17
|
pyerualjetwork/planeat_cuda.py,sha256=9uopmM-gTZpSb0EOExrOZPT8FF5BqDdEfCX0zYQb9QU,40712
|
18
18
|
pyerualjetwork/ui.py,sha256=wu2BhU1k-w3Kcho5Jtq4SEKe68ftaUeRGneUOSCVDjU,575
|
19
19
|
pyerualjetwork/visualizations.py,sha256=QaYSIyVkJZ8NqpBKArQKkI1y37nCQo_KIM98IMssnRc,28766
|
20
20
|
pyerualjetwork/visualizations_cuda.py,sha256=F60vQ92AXlMgBka3InXnOtGoM25vQJAlBIU2AlYTwks,29200
|
21
|
-
pyerualjetwork-4.2.
|
22
|
-
pyerualjetwork-4.2.
|
23
|
-
pyerualjetwork-4.2.
|
24
|
-
pyerualjetwork-4.2.
|
21
|
+
pyerualjetwork-4.2.2b7.dist-info/METADATA,sha256=Gmqa7h7GEftgIRXymUN5J6PFcpKKVKobH_RAqTL1nus,7914
|
22
|
+
pyerualjetwork-4.2.2b7.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
23
|
+
pyerualjetwork-4.2.2b7.dist-info/top_level.txt,sha256=BRyt62U_r3ZmJpj-wXNOoA345Bzamrj6RbaWsyW4tRg,15
|
24
|
+
pyerualjetwork-4.2.2b7.dist-info/RECORD,,
|
File without changes
|
File without changes
|