pyerualjetwork 5.0.2b0__py3-none-any.whl → 5.0.3__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 +5 -1
- pyerualjetwork/issue_solver.py +3 -3
- pyerualjetwork/model_operations_cpu.py +8 -4
- pyerualjetwork/model_operations_cuda.py +8 -3
- {pyerualjetwork-5.0.2b0.dist-info → pyerualjetwork-5.0.3.dist-info}/METADATA +1 -1
- {pyerualjetwork-5.0.2b0.dist-info → pyerualjetwork-5.0.3.dist-info}/RECORD +8 -8
- {pyerualjetwork-5.0.2b0.dist-info → pyerualjetwork-5.0.3.dist-info}/WHEEL +0 -0
- {pyerualjetwork-5.0.2b0.dist-info → pyerualjetwork-5.0.3.dist-info}/top_level.txt +0 -0
pyerualjetwork/__init__.py
CHANGED
@@ -27,6 +27,10 @@ Memory Module:
|
|
27
27
|
--------------
|
28
28
|
- memory_operations
|
29
29
|
|
30
|
+
Issue Solver Module:
|
31
|
+
--------------
|
32
|
+
- issue_solver
|
33
|
+
|
30
34
|
Examples: https://github.com/HCB06/PyerualJetwork/tree/main/Welcome_to_PyerualJetwork/ExampleCodes
|
31
35
|
|
32
36
|
PyerualJetwork document: https://github.com/HCB06/PyerualJetwork/blob/main/Welcome_to_PyerualJetwork/PYERUALJETWORK_USER_MANUEL_AND_LEGAL_INFORMATION(EN).pdf
|
@@ -38,7 +42,7 @@ PyerualJetwork document: https://github.com/HCB06/PyerualJetwork/blob/main/Welco
|
|
38
42
|
- Contact: tchasancan@gmail.com
|
39
43
|
"""
|
40
44
|
|
41
|
-
__version__ = "5.0.
|
45
|
+
__version__ = "5.0.3"
|
42
46
|
__update__ = """* Changes: https://github.com/HCB06/PyerualJetwork/blob/main/CHANGES
|
43
47
|
* PyerualJetwork Homepage: https://github.com/HCB06/PyerualJetwork/tree/main
|
44
48
|
* PyerualJetwork document: https://github.com/HCB06/PyerualJetwork/blob/main/Welcome_to_PyerualJetwork/PYERUALJETWORK_USER_MANUEL_AND_LEGAL_INFORMATION(EN).pdf
|
pyerualjetwork/issue_solver.py
CHANGED
@@ -69,9 +69,9 @@ def update_model_to_v5(model_name, model_path, is_cuda):
|
|
69
69
|
weights_type = model[get_weights_type()]
|
70
70
|
weights_format = model[get_weights_format()]
|
71
71
|
|
72
|
-
from .__init__ import
|
73
|
-
device_version =
|
72
|
+
from .__init__ import __version__
|
73
|
+
device_version = __version__
|
74
74
|
|
75
75
|
save_model("updated_" + model_name, weights, model_type, scaler_params, test_acc, model_path, activations, weights_type, weights_format)
|
76
76
|
|
77
|
-
print(f"\nModel succesfully updated to {device_version}. NOTE: This operation just for compatibility. You may still have perfomance
|
77
|
+
print(f"\nModel succesfully updated to {device_version}. NOTE: This operation just for compatibility. You may still have perfomance issues in this situation please install model's version of pyerualjetwork.")
|
@@ -28,6 +28,10 @@ Module functions:
|
|
28
28
|
- get_acc()
|
29
29
|
- get_scaler()
|
30
30
|
- get_model_type()
|
31
|
+
- get_weights_type():
|
32
|
+
- get_weights_format():
|
33
|
+
- get_model_version():
|
34
|
+
- get_model_df():
|
31
35
|
|
32
36
|
Examples: https://github.com/HCB06/PyerualJetwork/tree/main/Welcome_to_PyerualJetwork/ExampleCodes
|
33
37
|
|
@@ -274,16 +278,18 @@ def load_model(model_name,
|
|
274
278
|
model_path (str): Path where the model is saved.
|
275
279
|
|
276
280
|
Returns:
|
277
|
-
lists: (list[df_elements])
|
281
|
+
lists: Weights, None, test_accuracy, activations, scaler_params, None, model_type, weight_type, weight_format, device_version, (list[df_elements])=Pandas DataFrame of the model
|
278
282
|
"""
|
279
283
|
|
284
|
+
from .__init__ import __version__
|
285
|
+
|
280
286
|
try:
|
281
287
|
|
282
288
|
df = pd.read_pickle(model_path + model_name + '.pkl')
|
283
289
|
|
284
290
|
except:
|
285
291
|
|
286
|
-
print(Fore.RED + "ERROR: Model Path error. acceptable form: 'C:/Users/hasancanbeydili/Desktop/denemePLAN/' from: load_model" + Style.RESET_ALL)
|
292
|
+
print(Fore.RED + "ERROR: Model Path or Model Name error. acceptable form: 'C:/Users/hasancanbeydili/Desktop/denemePLAN/' from: load_model" + Style.RESET_ALL)
|
287
293
|
|
288
294
|
sys.exit()
|
289
295
|
|
@@ -311,8 +317,6 @@ def load_model(model_name,
|
|
311
317
|
WeightFormat = str(df['WEIGHTS FORMAT'].iloc[0])
|
312
318
|
test_acc = str(df['TEST ACCURACY'].iloc[0])
|
313
319
|
|
314
|
-
from .__init__ import __version__
|
315
|
-
|
316
320
|
device_version = __version__
|
317
321
|
|
318
322
|
try:
|
@@ -28,6 +28,11 @@ Module functions:
|
|
28
28
|
- get_acc()
|
29
29
|
- get_scaler()
|
30
30
|
- get_model_type()
|
31
|
+
- get_weights_type():
|
32
|
+
- get_weights_format():
|
33
|
+
- get_model_version():
|
34
|
+
- get_model_df():
|
35
|
+
|
31
36
|
|
32
37
|
Examples: https://github.com/HCB06/PyerualJetwork/tree/main/Welcome_to_PyerualJetwork/ExampleCodes
|
33
38
|
|
@@ -284,8 +289,10 @@ def load_model(model_name,
|
|
284
289
|
model_path (str): Path where the model is saved.
|
285
290
|
|
286
291
|
Returns:
|
287
|
-
lists: (list[df_elements])
|
292
|
+
lists: Weights, None, test_accuracy, activations, scaler_params, None, model_type, weight_type, weight_format, device_version, (list[df_elements])=Pandas DataFrame of the model
|
288
293
|
"""
|
294
|
+
|
295
|
+
from .__init__ import __version__
|
289
296
|
|
290
297
|
try:
|
291
298
|
|
@@ -324,8 +331,6 @@ def load_model(model_name,
|
|
324
331
|
WeightFormat = str(df['WEIGHTS FORMAT'].iloc[0])
|
325
332
|
test_acc = str(df['TEST ACCURACY'].iloc[0])
|
326
333
|
|
327
|
-
from .__init__ import __version__
|
328
|
-
|
329
334
|
device_version = __version__
|
330
335
|
|
331
336
|
try:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pyerualjetwork
|
3
|
-
Version: 5.0.
|
3
|
+
Version: 5.0.3
|
4
4
|
Summary: PyereualJetwork is a GPU-accelerated machine learning library in Python for professionals and researchers. It features PLAN, MLP, Deep Learning training, and ENE (Eugenic NeuroEvolution) for genetic optimization, applicable to genetic algorithms or Reinforcement Learning (RL). The library includes data pre-processing, visualizations, model saving/loading, prediction, evaluation, training, and detailed or simplified memory management.
|
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=dFC81wFawtCb7oRjDvARJuMF9jBSZz0v-KMWPXqD65A,2726
|
2
2
|
pyerualjetwork/activation_functions_cpu.py,sha256=X7Kv8qv8oZq8hvTdUiV-GkFjKHRlKIQypRPXh6gdkm4,7614
|
3
3
|
pyerualjetwork/activation_functions_cuda.py,sha256=pefklsl9QuSVbKwiUUHeF_ExN0bICH7QIF1MfoMU40Q,7665
|
4
4
|
pyerualjetwork/data_operations_cpu.py,sha256=dLczgxNx8W_GIgBLageegVhv-aczjNYfohB-PPpOU4Y,16401
|
@@ -7,20 +7,20 @@ pyerualjetwork/ene_cpu.py,sha256=2y5__d-vx7t5Ajs4IPuNnQe8ULR39Km_KQFNIUnalGA,451
|
|
7
7
|
pyerualjetwork/ene_cuda.py,sha256=0tOIONUEDmvGZiCihzIHBrGVtRMPR1g23ZNfoI0i39s,45663
|
8
8
|
pyerualjetwork/fitness_functions.py,sha256=pUmAbUy5ex1Vpu6n_RRac_df-FR52gYIV8uxYS5H3tw,1252
|
9
9
|
pyerualjetwork/help.py,sha256=FcX8mxo1_mvoqONVXY0Kn7S09CDkhi0jwNmn8g9mYZc,804
|
10
|
-
pyerualjetwork/issue_solver.py,sha256=
|
10
|
+
pyerualjetwork/issue_solver.py,sha256=iNDYVNSc__N1ckyt84dw51Cdf_bd5vsmvdNtVBM4oCQ,3118
|
11
11
|
pyerualjetwork/loss_functions_cpu.py,sha256=6PyBI232SQRGuFnG3LDGvnv_PUdWzT2_2mUODJiejGI,618
|
12
12
|
pyerualjetwork/loss_functions_cuda.py,sha256=C93IZJcrOpT6HMK9x1O4AHJWXYTkN5WZiqdssPbvAPk,617
|
13
13
|
pyerualjetwork/memory_operations.py,sha256=g24d-cDuUFc0fOEtk3AJe-z_EBctYV5S4cY1rQ6VGiE,14279
|
14
14
|
pyerualjetwork/metrics_cpu.py,sha256=vbfMwS0ay2heMSa0GNo-ydLjQ8cfexbLwaREp4FKAtY,6081
|
15
15
|
pyerualjetwork/metrics_cuda.py,sha256=PWyJyexeqlPKb09LAcF55JvhZVeXLCu3P_siYq5m2gg,5065
|
16
|
-
pyerualjetwork/model_operations_cpu.py,sha256=
|
17
|
-
pyerualjetwork/model_operations_cuda.py,sha256=
|
16
|
+
pyerualjetwork/model_operations_cpu.py,sha256=ENwV8enKX_uEGAVhV1AvLKbBDqyMhjbcQH8bwRLBtcY,17346
|
17
|
+
pyerualjetwork/model_operations_cuda.py,sha256=Huid88Lem7mS1uDjlYioTmaj_y5pm2WAqnuooou7jQk,18501
|
18
18
|
pyerualjetwork/neu_cpu.py,sha256=5K9oDNiTH6rVyOYo-2esw8ZLJ6M7-YLfiOyq_a9LBQU,25017
|
19
19
|
pyerualjetwork/neu_cuda.py,sha256=VS9YVsYe0DLaqGDCrKyVnYXehu8eE7qZycdaUHCyyM0,26030
|
20
20
|
pyerualjetwork/ui.py,sha256=JBTFYz5R24XwNKhA3GSW-oYAoiIBxAE3kFGXkvm5gqw,656
|
21
21
|
pyerualjetwork/visualizations_cpu.py,sha256=StyD1Hl1Gt55EMqR6tO3yVJZdPyGkOgCnQ75Zn8K6J8,28252
|
22
22
|
pyerualjetwork/visualizations_cuda.py,sha256=7lYrkOdrjwQGB3T4k_vI8UDxsm_TRjzaSSg9GhlNczs,28667
|
23
|
-
pyerualjetwork-5.0.
|
24
|
-
pyerualjetwork-5.0.
|
25
|
-
pyerualjetwork-5.0.
|
26
|
-
pyerualjetwork-5.0.
|
23
|
+
pyerualjetwork-5.0.3.dist-info/METADATA,sha256=Gp_SSooyqhMjbPIbwdU5QvgtU3va6q3uH2NRPdgHwQM,8126
|
24
|
+
pyerualjetwork-5.0.3.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
25
|
+
pyerualjetwork-5.0.3.dist-info/top_level.txt,sha256=BRyt62U_r3ZmJpj-wXNOoA345Bzamrj6RbaWsyW4tRg,15
|
26
|
+
pyerualjetwork-5.0.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|