pyerualjetwork 4.6.9b0__py3-none-any.whl → 4.7.1__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/activation_functions.py +1 -1
- pyerualjetwork/activation_functions_cuda.py +1 -1
- pyerualjetwork/model_operations_cuda.py +6 -2
- {pyerualjetwork-4.6.9b0.dist-info → pyerualjetwork-4.7.1.dist-info}/METADATA +1 -1
- {pyerualjetwork-4.6.9b0.dist-info → pyerualjetwork-4.7.1.dist-info}/RECORD +8 -8
- {pyerualjetwork-4.6.9b0.dist-info → pyerualjetwork-4.7.1.dist-info}/WHEEL +0 -0
- {pyerualjetwork-4.6.9b0.dist-info → pyerualjetwork-4.7.1.dist-info}/top_level.txt +0 -0
pyerualjetwork/__init__.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
__version__ = "4.
|
1
|
+
__version__ = "4.7.1"
|
2
2
|
__update__ = """* Changes: https://github.com/HCB06/PyerualJetwork/blob/main/CHANGES
|
3
3
|
* PyerualJetwork Homepage: https://github.com/HCB06/PyerualJetwork/tree/main
|
4
4
|
* PyerualJetwork document: https://github.com/HCB06/PyerualJetwork/blob/main/Welcome_to_PyerualJetwork/PYERUALJETWORK_USER_MANUEL_AND_LEGAL_INFORMATION(EN).pdf
|
@@ -7,7 +7,7 @@ import warnings
|
|
7
7
|
|
8
8
|
def all_activations():
|
9
9
|
|
10
|
-
activations_list = ['linear', 'sigmoid', 'relu', 'tanh', 'circular', 'spiral', 'swish', 'sin_plus', 'mod_circular', 'tanh_circular', 'leaky_relu', 'softplus', 'elu', 'gelu', 'selu', 'sinakt', 'p_squared', 'sglu', 'dlrelu', 'exsig', 'acos', '
|
10
|
+
activations_list = ['linear', 'sigmoid', 'relu', 'tanh', 'circular', 'spiral', 'swish', 'sin_plus', 'mod_circular', 'tanh_circular', 'leaky_relu', 'softplus', 'elu', 'gelu', 'selu', 'sinakt', 'p_squared', 'sglu', 'dlrelu', 'exsig', 'acos', 'srelu', 'qelu', 'isra', 'waveakt', 'arctan', 'bent_identity', 'sech', 'softsign', 'pwl', 'cubic', 'gaussian', 'sine', 'tanh_square', 'mod_sigmoid', 'quartic', 'square_quartic', 'cubic_quadratic', 'sine_square', 'logarithmic', 'scaled_cubic', 'sine_offset']
|
11
11
|
|
12
12
|
return activations_list
|
13
13
|
|
@@ -6,7 +6,7 @@ import warnings
|
|
6
6
|
|
7
7
|
def all_activations():
|
8
8
|
|
9
|
-
activations_list = ['linear', 'sigmoid', 'relu', 'tanh', 'circular', 'spiral', 'swish', 'sin_plus', 'mod_circular', 'tanh_circular', 'leaky_relu', 'softplus', 'elu', 'gelu', 'selu', 'sinakt', 'p_squared', 'sglu', 'dlrelu', 'exsig', 'acos', '
|
9
|
+
activations_list = ['linear', 'sigmoid', 'relu', 'tanh', 'circular', 'spiral', 'swish', 'sin_plus', 'mod_circular', 'tanh_circular', 'leaky_relu', 'softplus', 'elu', 'gelu', 'selu', 'sinakt', 'p_squared', 'sglu', 'dlrelu', 'exsig', 'acos', 'srelu', 'qelu', 'isra', 'waveakt', 'arctan', 'bent_identity', 'sech', 'softsign', 'pwl', 'cubic', 'gaussian', 'sine', 'tanh_square', 'mod_sigmoid', 'quartic', 'square_quartic', 'cubic_quadratic', 'sine_square', 'logarithmic', 'scaled_cubic', 'sine_offset']
|
10
10
|
|
11
11
|
return activations_list
|
12
12
|
|
@@ -277,9 +277,9 @@ def load_model(model_name,
|
|
277
277
|
else: allow_pickle = False
|
278
278
|
|
279
279
|
if WeightType == 'txt':
|
280
|
-
W = (
|
280
|
+
W = (np.loadtxt(model_path + model_name + f'_weights.txt'))
|
281
281
|
elif WeightType == 'npy':
|
282
|
-
W = (
|
282
|
+
W = (np.load(model_path + model_name + f'_weights.npy', allow_pickle=allow_pickle))
|
283
283
|
elif WeightType == 'mat':
|
284
284
|
W = (sio.loadmat(model_path + model_name + f'_weights.mat'))
|
285
285
|
elif WeightType == 'pkl':
|
@@ -293,6 +293,10 @@ def load_model(model_name,
|
|
293
293
|
if WeightType == 'mat':
|
294
294
|
W = W['w']
|
295
295
|
|
296
|
+
if model_type == 'MLP':
|
297
|
+
W = W.tolist()
|
298
|
+
W = [cp.array(item) for item in W]
|
299
|
+
|
296
300
|
return W, None, None, activation_potentiation, scaler_params, None, model_type
|
297
301
|
|
298
302
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pyerualjetwork
|
3
|
-
Version: 4.
|
3
|
+
Version: 4.7.1
|
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,6 +1,6 @@
|
|
1
|
-
pyerualjetwork/__init__.py,sha256=
|
2
|
-
pyerualjetwork/activation_functions.py,sha256=
|
3
|
-
pyerualjetwork/activation_functions_cuda.py,sha256=
|
1
|
+
pyerualjetwork/__init__.py,sha256=PKUhAwzmBOKGwG3flhz4I3BBUm7_3eVXmj3WNmMR_i0,1279
|
2
|
+
pyerualjetwork/activation_functions.py,sha256=X7Kv8qv8oZq8hvTdUiV-GkFjKHRlKIQypRPXh6gdkm4,7614
|
3
|
+
pyerualjetwork/activation_functions_cuda.py,sha256=pefklsl9QuSVbKwiUUHeF_ExN0bICH7QIF1MfoMU40Q,7665
|
4
4
|
pyerualjetwork/data_operations.py,sha256=XKYG9-mLa3qKAXUjejuD7V8aJKjpl5PdQwKzPFjpKgs,15437
|
5
5
|
pyerualjetwork/data_operations_cuda.py,sha256=REvZxtxcKmQNy2wekkbUOVi2Fg1VV9tomi2_ykXWXsM,17627
|
6
6
|
pyerualjetwork/fitness_functions.py,sha256=urRdeMvUhNgWxD4ZGHCRdQlIf9cTWYMvF3_aVBojRqY,1235
|
@@ -11,7 +11,7 @@ pyerualjetwork/memory_operations.py,sha256=0yCOHcgiNyF4ccMcRlL1Q9F_byG4nzjhmkbpX
|
|
11
11
|
pyerualjetwork/metrics.py,sha256=q7MkhnZDRbCjFBDDfUgrl8lBYnUT_1ro1LxeBq105pI,6077
|
12
12
|
pyerualjetwork/metrics_cuda.py,sha256=73h9GC7XwmnFCVzFEEiPQfF8CwHIz2wsCbxpZrJtYgw,5061
|
13
13
|
pyerualjetwork/model_operations.py,sha256=SYMXYNFFLz2YUvmp9lSKXd2L1vCwhyL_AUjL3UYCkZw,15134
|
14
|
-
pyerualjetwork/model_operations_cuda.py,sha256=
|
14
|
+
pyerualjetwork/model_operations_cuda.py,sha256=yBXTHeE4xY521CJg1BrvF5HSre-6mkTJWCUhGziHQ18,16195
|
15
15
|
pyerualjetwork/plan.py,sha256=cjVblo8TxTHX-GZPvgQvJZ34nOmzxSvtCrQi9K-Mhog,23268
|
16
16
|
pyerualjetwork/plan_cuda.py,sha256=ZEU_b_EoA-zPk7Gn94L_XBZz1v4mn8DOUsjTNV6fp8Q,24230
|
17
17
|
pyerualjetwork/planeat.py,sha256=prbkUIrD37Y_b7MmTuGg4rGHXfqHIjLFMbs7TnnEy9E,44645
|
@@ -19,7 +19,7 @@ pyerualjetwork/planeat_cuda.py,sha256=Yrf9DDLN1gHXQE8-ZKnWOWShu0Yxt4WX1ued0m6d10
|
|
19
19
|
pyerualjetwork/ui.py,sha256=JBTFYz5R24XwNKhA3GSW-oYAoiIBxAE3kFGXkvm5gqw,656
|
20
20
|
pyerualjetwork/visualizations.py,sha256=utnX9zQhzmtvBJLOLNGm2jecVVk4zHXABQdjb0XzJac,28352
|
21
21
|
pyerualjetwork/visualizations_cuda.py,sha256=gnoaaazZ-nc9E1ImqXrZBRgQ4Rnpi2qh2yGJ2eLKMlE,28807
|
22
|
-
pyerualjetwork-4.
|
23
|
-
pyerualjetwork-4.
|
24
|
-
pyerualjetwork-4.
|
25
|
-
pyerualjetwork-4.
|
22
|
+
pyerualjetwork-4.7.1.dist-info/METADATA,sha256=iFbR1dmWgy69p-lLqCB1hqic72H_eLP5dydNsGBJqig,7505
|
23
|
+
pyerualjetwork-4.7.1.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
24
|
+
pyerualjetwork-4.7.1.dist-info/top_level.txt,sha256=BRyt62U_r3ZmJpj-wXNOoA345Bzamrj6RbaWsyW4tRg,15
|
25
|
+
pyerualjetwork-4.7.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|