pyerualjetwork 4.0.1__py3-none-any.whl → 4.0.2__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 +13 -9
- {pyerualjetwork-4.0.1.dist-info → pyerualjetwork-4.0.2.dist-info}/METADATA +1 -1
- {pyerualjetwork-4.0.1.dist-info → pyerualjetwork-4.0.2.dist-info}/RECORD +6 -6
- {pyerualjetwork-4.0.1.dist-info → pyerualjetwork-4.0.2.dist-info}/WHEEL +0 -0
- {pyerualjetwork-4.0.1.dist-info → pyerualjetwork-4.0.2.dist-info}/top_level.txt +0 -0
pyerualjetwork/__init__.py
CHANGED
@@ -56,7 +56,7 @@ days, seconds = divmod(remaining_time.total_seconds(), 86400)
|
|
56
56
|
hours, seconds = divmod(seconds, 3600)
|
57
57
|
minutes, seconds = divmod(seconds, 60)
|
58
58
|
|
59
|
-
__version__ = "4.0.
|
59
|
+
__version__ = "4.0.2"
|
60
60
|
__update__ = f"\033[33m --- IMPORTANT NOTE! --- \n 'anaplan' name changed to 'pyerualjetwork'. Full 'pyerualjetwork' support starting January 10, 2025. TIME REMAINING TO END OF SUPPORT ANAPLAN: {int(days)} days, {int(hours):02} hours, {int(minutes):02} minutes, {int(seconds):02} seconds\033[0m\n* Changes: https://github.com/HCB06/Anaplan/blob/main/CHANGES\n* PyerualJetwork document: https://github.com/HCB06/Anaplan/blob/main/PyerualJetwork/PYERUALJETWORK_USER_MANUEL_AND_LEGAL_INFORMATION(EN).pdf.\n* YouTube tutorials: https://www.youtube.com/@HasanCanBeydili"
|
61
61
|
|
62
62
|
def print_version(__version__):
|
@@ -239,10 +239,12 @@ def load_model(model_name,
|
|
239
239
|
return W, None, None, activation_potentiation, scaler_params
|
240
240
|
|
241
241
|
|
242
|
-
|
242
|
+
|
243
|
+
def predict_model_ssd(Input, model_name, model_path=''):
|
243
244
|
|
244
245
|
"""
|
245
|
-
Function to make a prediction using a
|
246
|
+
Function to make a prediction using a potentiation learning artificial neural network (PLAN).
|
247
|
+
from storage
|
246
248
|
|
247
249
|
Arguments:
|
248
250
|
|
@@ -250,6 +252,8 @@ def predict_model_ssd(Input, model_name, model_path):
|
|
250
252
|
|
251
253
|
model_name (str): Name of the model.
|
252
254
|
|
255
|
+
model_path (str): Path of the model. Default: ''
|
256
|
+
|
253
257
|
Returns:
|
254
258
|
ndarray: Output from the model.
|
255
259
|
"""
|
@@ -277,17 +281,18 @@ def predict_model_ssd(Input, model_name, model_path):
|
|
277
281
|
sys.exit()
|
278
282
|
|
279
283
|
|
280
|
-
def reverse_predict_model_ssd(output, model_name, model_path):
|
284
|
+
def reverse_predict_model_ssd(output, model_name, model_path=''):
|
281
285
|
|
282
286
|
"""
|
283
|
-
|
284
|
-
|
287
|
+
reverse prediction function from storage
|
285
288
|
Arguments:
|
286
289
|
|
287
290
|
output (list or ndarray): output layer for the model (single probability vector, output layer of trained model).
|
288
291
|
|
289
292
|
model_name (str): Name of the model.
|
290
293
|
|
294
|
+
model_path (str): Path of the model. Default: ''
|
295
|
+
|
291
296
|
Returns:
|
292
297
|
ndarray: Input from the model.
|
293
298
|
"""
|
@@ -308,8 +313,8 @@ def reverse_predict_model_ssd(output, model_name, model_path):
|
|
308
313
|
def predict_model_ram(Input, W, scaler_params=None, activation_potentiation=['linear']):
|
309
314
|
|
310
315
|
"""
|
311
|
-
Function to make a prediction using a
|
312
|
-
from
|
316
|
+
Function to make a prediction using a potentiation learning artificial neural network (PLAN).
|
317
|
+
from memory.
|
313
318
|
|
314
319
|
Arguments:
|
315
320
|
|
@@ -347,8 +352,7 @@ def predict_model_ram(Input, W, scaler_params=None, activation_potentiation=['li
|
|
347
352
|
def reverse_predict_model_ram(output, W):
|
348
353
|
|
349
354
|
"""
|
350
|
-
|
351
|
-
from weights and parameters stored in memory.
|
355
|
+
reverse prediction function from memory
|
352
356
|
|
353
357
|
Arguments:
|
354
358
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pyerualjetwork
|
3
|
-
Version: 4.0.
|
3
|
+
Version: 4.0.2
|
4
4
|
Summary: PyerualJetwork is a machine learning library written in Python for professionals, incorporating advanced, unique, new, and modern techniques.
|
5
5
|
Author: Hasan Can Beydili
|
6
6
|
Author-email: tchasancan@gmail.com
|
@@ -1,15 +1,15 @@
|
|
1
|
-
pyerualjetwork/__init__.py,sha256=
|
1
|
+
pyerualjetwork/__init__.py,sha256=zatdprNpjP2p7jJdGJ4dwYgvgnO8h0CS6asMmuOY66Y,2878
|
2
2
|
pyerualjetwork/activation_functions.py,sha256=iJpdsX8FqZ3lB3x-YG7d9-em8xHD0y1ciJLNWmI7Y6A,9941
|
3
3
|
pyerualjetwork/data_operations.py,sha256=mph66_qGQHxhg_gQtTuOzP2PjTwJsxTGzmRmvrzlQn4,12747
|
4
4
|
pyerualjetwork/help.py,sha256=5Du_Cja5iPvGeVS9dAoehKTJmRgb_7c6Qsn7Cy2ZfTs,823
|
5
5
|
pyerualjetwork/loss_functions.py,sha256=6PyBI232SQRGuFnG3LDGvnv_PUdWzT2_2mUODJiejGI,618
|
6
6
|
pyerualjetwork/metrics.py,sha256=q7MkhnZDRbCjFBDDfUgrl8lBYnUT_1ro1LxeBq105pI,6077
|
7
|
-
pyerualjetwork/model_operations.py,sha256=
|
7
|
+
pyerualjetwork/model_operations.py,sha256=eXFUVZUO6vf_uO4auevWzne1RYSvD6Efz_IdH77DGZc,11980
|
8
8
|
pyerualjetwork/plan.py,sha256=PfsSNFe1qY_MIF1MoM_pbP-1s_HrADSLUsW9AI15nIk,31621
|
9
9
|
pyerualjetwork/planeat.py,sha256=3l4c-sMqTY6mQvW9u2OarcccUYcMxqASQXgx1GjNZSA,38061
|
10
10
|
pyerualjetwork/ui.py,sha256=wu2BhU1k-w3Kcho5Jtq4SEKe68ftaUeRGneUOSCVDjU,575
|
11
11
|
pyerualjetwork/visualizations.py,sha256=DvbiQGlvlKNAgBJ3O3ukAi6uxSheha9SRFh5YX7ZxIA,26678
|
12
|
-
pyerualjetwork-4.0.
|
13
|
-
pyerualjetwork-4.0.
|
14
|
-
pyerualjetwork-4.0.
|
15
|
-
pyerualjetwork-4.0.
|
12
|
+
pyerualjetwork-4.0.2.dist-info/METADATA,sha256=at2jKFwd4HUob3xaVeci1h7hLSW_xNbwsSS4-l1z5io,6430
|
13
|
+
pyerualjetwork-4.0.2.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
14
|
+
pyerualjetwork-4.0.2.dist-info/top_level.txt,sha256=BRyt62U_r3ZmJpj-wXNOoA345Bzamrj6RbaWsyW4tRg,15
|
15
|
+
pyerualjetwork-4.0.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|