pyerualjetwork 4.2.2b7__py3-none-any.whl → 4.2.2b8__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 +6 -6
- pyerualjetwork/plan_cuda.py +5 -5
- {pyerualjetwork-4.2.2b7.dist-info → pyerualjetwork-4.2.2b8.dist-info}/METADATA +1 -1
- {pyerualjetwork-4.2.2b7.dist-info → pyerualjetwork-4.2.2b8.dist-info}/RECORD +7 -7
- {pyerualjetwork-4.2.2b7.dist-info → pyerualjetwork-4.2.2b8.dist-info}/WHEEL +0 -0
- {pyerualjetwork-4.2.2b7.dist-info → pyerualjetwork-4.2.2b8.dist-info}/top_level.txt +0 -0
pyerualjetwork/__init__.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
__version__ = "4.2.
|
1
|
+
__version__ = "4.2.2b8"
|
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 = []
|
302
|
+
act_pop = []
|
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.append(activation_potentiation[j])
|
318
|
+
W = fit(x_train_batch, y_train_batch, activation_potentiation=act_pop[-1], train_bar=False, auto_normalization=auto_normalization, dtype=dtype)
|
319
|
+
weight_pop.append(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()]
|
@@ -448,7 +448,7 @@ def learner(x_train, y_train, optimizer, fit_start, strategy='accuracy', gen=Non
|
|
448
448
|
best_acc_per_gen_list.append(best_acc)
|
449
449
|
loss_list.append(best_loss)
|
450
450
|
|
451
|
-
weight_pop, act_pop = optimizer(weight_pop, act_pop, i, np.array(target_pop, dtype=dtype, copy=False), bar_status=False)
|
451
|
+
weight_pop, act_pop = optimizer(np.array(weight_pop, copy=False, dtype=dtype), act_pop, i, np.array(target_pop, dtype=dtype, copy=False), bar_status=False)
|
452
452
|
target_pop = []
|
453
453
|
|
454
454
|
# Early stopping check
|
pyerualjetwork/plan_cuda.py
CHANGED
@@ -325,7 +325,7 @@ def learner(x_train, y_train, optimizer, fit_start, strategy='accuracy', gen=Non
|
|
325
325
|
else:
|
326
326
|
weight_pop = [0] * activation_potentiation_len
|
327
327
|
act_pop = [0] * activation_potentiation_len
|
328
|
-
|
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)
|
@@ -339,9 +339,9 @@ def learner(x_train, y_train, optimizer, fit_start, strategy='accuracy', gen=Non
|
|
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
|
342
|
+
act_pop.append(activation_potentiation[j])
|
343
|
+
W = fit(x_train_batch, y_train_batch, activation_potentiation=act_pop[-1], train_bar=False, auto_normalization=auto_normalization, dtype=dtype)
|
344
|
+
weight_pop.append(W)
|
345
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()]
|
@@ -473,7 +473,7 @@ def learner(x_train, y_train, optimizer, fit_start, strategy='accuracy', gen=Non
|
|
473
473
|
best_acc_per_gen_list.append(best_acc)
|
474
474
|
loss_list.append(best_loss)
|
475
475
|
|
476
|
-
weight_pop, act_pop = optimizer(weight_pop, act_pop, i, cp.array(target_pop, dtype=dtype, copy=False), bar_status=False)
|
476
|
+
weight_pop, act_pop = optimizer(cp.array(weight_pop, copy=False, dtype=dtype), act_pop, i, cp.array(target_pop, dtype=dtype, copy=False), bar_status=False)
|
477
477
|
target_pop = []
|
478
478
|
|
479
479
|
# Early stopping check
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pyerualjetwork
|
3
|
-
Version: 4.2.
|
3
|
+
Version: 4.2.2b8
|
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=0Id4J2KzevWmG5jp6CTWKK1Q8ocFLbeykDNdeD3YE2w,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=-Dz9yuqnx8sS5i9R6ihapXB1AEnqwDtaJ_GT-U-Qn6g,32221
|
15
|
+
pyerualjetwork/plan_cuda.py,sha256=tfSld2_ywbO4E7kWarXHRHDHrYnhncqPAbugibP83uQ,33615
|
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.2b8.dist-info/METADATA,sha256=rFdR676Cso9h1TtZusy4e1SlOj4XhPHSB7H0yRi9r-U,7914
|
22
|
+
pyerualjetwork-4.2.2b8.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
23
|
+
pyerualjetwork-4.2.2b8.dist-info/top_level.txt,sha256=BRyt62U_r3ZmJpj-wXNOoA345Bzamrj6RbaWsyW4tRg,15
|
24
|
+
pyerualjetwork-4.2.2b8.dist-info/RECORD,,
|
File without changes
|
File without changes
|