pyerualjetwork 4.3.9.dev0__py3-none-any.whl → 4.3.9.dev1__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-4.3.9.dev0.dist-info → pyerualjetwork-4.3.9.dev1.dist-info}/METADATA +1 -1
- {pyerualjetwork-4.3.9.dev0.dist-info → pyerualjetwork-4.3.9.dev1.dist-info}/RECORD +6 -6
- {pyerualjetwork-4.3.9.dev0.dist-info → pyerualjetwork-4.3.9.dev1.dist-info}/WHEEL +0 -0
- {pyerualjetwork-4.3.9.dev0.dist-info → pyerualjetwork-4.3.9.dev1.dist-info}/top_level.txt +0 -0
pyerualjetwork/__init__.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
__version__ = "4.3.
|
1
|
+
__version__ = "4.3.9dev1"
|
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
@@ -155,7 +155,7 @@ def learner(x_train, y_train, optimizer, fitness, fit_start=True, gen=None, batc
|
|
155
155
|
interval (int, optional): The interval at which evaluations are conducted during training. (33.33 = 30 FPS, 16.67 = 60 FPS) Default is 100.
|
156
156
|
|
157
157
|
target_acc (int, optional): The target accuracy to stop training early when achieved. Default is None.
|
158
|
-
|
158
|
+
|
159
159
|
start_this_act (list, optional): To resume a previously canceled or interrupted training from where it left off, or to continue from that point with a different strategy, provide the list of activation functions selected up to the learned portion to this parameter. Default is None
|
160
160
|
|
161
161
|
start_this_W (numpy.array, optional): To resume a previously canceled or interrupted training from where it left off, or to continue from that point with a different strategy, provide the weight matrix of this genome. Default is None
|
@@ -266,7 +266,7 @@ def learner(x_train, y_train, optimizer, fitness, fit_start=True, gen=None, batc
|
|
266
266
|
print(f", Current Activations={final_activations}", end='')
|
267
267
|
|
268
268
|
if batch_size == 1:
|
269
|
-
postfix_dict[f"{data} Fitness"] =
|
269
|
+
postfix_dict[f"{data} Fitness"] = fit_score
|
270
270
|
progress.set_postfix(postfix_dict)
|
271
271
|
best_fit = fit_score
|
272
272
|
|
@@ -305,7 +305,7 @@ def learner(x_train, y_train, optimizer, fitness, fit_start=True, gen=None, batc
|
|
305
305
|
print(f'Fitness Value: ', fit_score, '\n')
|
306
306
|
|
307
307
|
postfix_dict[f"{data} Accuracy"] = np.round(train_model[get_acc()], 4)
|
308
|
-
postfix_dict[f"{data} Fitness"] =
|
308
|
+
postfix_dict[f"{data} Fitness"] = best_fit
|
309
309
|
progress.set_postfix(postfix_dict)
|
310
310
|
# Display final visualizations
|
311
311
|
display_visualizations_for_learner(viz_objects, best_weights, data, best_acc,
|
@@ -325,7 +325,7 @@ def learner(x_train, y_train, optimizer, fitness, fit_start=True, gen=None, batc
|
|
325
325
|
print(f'Fitness Value: ', fit_score, '\n')
|
326
326
|
|
327
327
|
postfix_dict[f"{data} Accuracy"] = np.round(train_model[get_acc()], 4)
|
328
|
-
postfix_dict[f"{data} Fitness"] =
|
328
|
+
postfix_dict[f"{data} Fitness"] = best_fit
|
329
329
|
progress.set_postfix(postfix_dict)
|
330
330
|
|
331
331
|
best_acc_per_gen_list.append(train_model[get_acc()])
|
@@ -333,7 +333,7 @@ def learner(x_train, y_train, optimizer, fitness, fit_start=True, gen=None, batc
|
|
333
333
|
|
334
334
|
else:
|
335
335
|
best_acc_per_gen_list.append(best_acc)
|
336
|
-
fit_list.append(
|
336
|
+
fit_list.append(best_fit)
|
337
337
|
|
338
338
|
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)
|
339
339
|
target_pop = []
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pyerualjetwork
|
3
|
-
Version: 4.3.9.
|
3
|
+
Version: 4.3.9.dev1
|
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=TkG_18QqarnCsZ99v_XYRuWoDYGIh2dQErq5tUwJtNU,643
|
2
2
|
pyerualjetwork/activation_functions.py,sha256=bKf00lsuuLJNO-4vVp4OqBi4zJ-qZ8L3v-vl52notkY,7721
|
3
3
|
pyerualjetwork/activation_functions_cuda.py,sha256=5y1Ti3GDfDteQDCUmODwe7tAyDAUlDTKmIikChQ8d6g,7772
|
4
4
|
pyerualjetwork/data_operations.py,sha256=Flteouu6rfSo2uHMqBHuzO02dXmbNa-I5qWmUpGTZ5Y,14760
|
@@ -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=MCSCNYiiICRVZITobtS3ZIWmH5Q9gjyELuH32sAdgg4,12649
|
13
13
|
pyerualjetwork/model_operations_cuda.py,sha256=NT01BK5nrDYE7H1x3KnSI8gmx0QTGGB0mP_LqEb1uuU,13157
|
14
|
-
pyerualjetwork/plan.py,sha256=
|
14
|
+
pyerualjetwork/plan.py,sha256=p8OX4Qo3vxtKU74eO68I61ZHrKBju1p8sk4Pv6x8e2w,20413
|
15
15
|
pyerualjetwork/plan_cuda.py,sha256=DCKWStOZhBq-NYKA2BQTKe3YgvDYuGtujtIr56ZBjiw,24477
|
16
16
|
pyerualjetwork/planeat.py,sha256=OxwSjfSFPwh7kVrhnuAkr8Lrk73GB-Wk2ajUFIfZcbQ,37556
|
17
17
|
pyerualjetwork/planeat_cuda.py,sha256=aTdBmhJeIKC58pssODtqVsdOtJP7W6TRmVyGHp7k_CM,37612
|
18
18
|
pyerualjetwork/ui.py,sha256=wu2BhU1k-w3Kcho5Jtq4SEKe68ftaUeRGneUOSCVDjU,575
|
19
19
|
pyerualjetwork/visualizations.py,sha256=08O5uEewuYiovZRX1uHWEHjn19LcnhndWYvqVN74xs0,28290
|
20
20
|
pyerualjetwork/visualizations_cuda.py,sha256=PYRqj4QYUbuYMYcNwO8yaTPB-jK7E6kZHhTrAi0lwPU,28749
|
21
|
-
pyerualjetwork-4.3.9.
|
22
|
-
pyerualjetwork-4.3.9.
|
23
|
-
pyerualjetwork-4.3.9.
|
24
|
-
pyerualjetwork-4.3.9.
|
21
|
+
pyerualjetwork-4.3.9.dev1.dist-info/METADATA,sha256=q2sjP-KKIkuv4idsaFXFY1MUu041vHy2jpvIoFmoLI0,7479
|
22
|
+
pyerualjetwork-4.3.9.dev1.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
23
|
+
pyerualjetwork-4.3.9.dev1.dist-info/top_level.txt,sha256=BRyt62U_r3ZmJpj-wXNOoA345Bzamrj6RbaWsyW4tRg,15
|
24
|
+
pyerualjetwork-4.3.9.dev1.dist-info/RECORD,,
|
File without changes
|
File without changes
|