pyerualjetwork 4.2.6b0__py3-none-any.whl → 4.2.6b1__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/planeat.py +1 -0
- pyerualjetwork/planeat_cuda.py +2 -1
- {pyerualjetwork-4.2.6b0.dist-info → pyerualjetwork-4.2.6b1.dist-info}/METADATA +1 -1
- {pyerualjetwork-4.2.6b0.dist-info → pyerualjetwork-4.2.6b1.dist-info}/RECORD +7 -7
- {pyerualjetwork-4.2.6b0.dist-info → pyerualjetwork-4.2.6b1.dist-info}/WHEEL +0 -0
- {pyerualjetwork-4.2.6b0.dist-info → pyerualjetwork-4.2.6b1.dist-info}/top_level.txt +0 -0
pyerualjetwork/__init__.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
__version__ = "4.2.
|
1
|
+
__version__ = "4.2.6b1"
|
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/planeat.py
CHANGED
@@ -271,6 +271,7 @@ def evolver(weights,
|
|
271
271
|
|
272
272
|
if target_fitness == 'max': sort_indices = np.argsort(fitness)
|
273
273
|
elif target_fitness == 'min': sort_indices = np.argsort(-fitness)
|
274
|
+
else: raise ValueError("target_fitness value just be 'max' or 'min'")
|
274
275
|
|
275
276
|
fitness = fitness[sort_indices]
|
276
277
|
weights = weights[sort_indices]
|
pyerualjetwork/planeat_cuda.py
CHANGED
@@ -271,6 +271,7 @@ def evolver(weights,
|
|
271
271
|
|
272
272
|
if target_fitness == 'max': sort_indices = cp.argsort(fitness)
|
273
273
|
elif target_fitness == 'min': sort_indices = cp.argsort(-fitness)
|
274
|
+
else: raise ValueError("target_fitness value just be 'max' or 'min'")
|
274
275
|
|
275
276
|
fitness = fitness[sort_indices]
|
276
277
|
weights = weights[sort_indices]
|
@@ -392,7 +393,7 @@ def evolver(weights,
|
|
392
393
|
print("*** Performance ***")
|
393
394
|
print(" MAX FITNESS: ", str(cp.round(max(fitness) if target_fitness == 'max' else min(fitness), 2)))
|
394
395
|
print(" MEAN FITNESS: ", str(cp.round(cp.mean(fitness), 2)))
|
395
|
-
print(" MIN FITNESS: ", str(cp.round(min(fitness) if target_fitness == 'max' else max(fitness), 2) + '\n')
|
396
|
+
print(" MIN FITNESS: ", str(cp.round(min(fitness) if target_fitness == 'max' else max(fitness), 2)) + '\n')
|
396
397
|
|
397
398
|
print(" BEST GENOME ACTIVATION LENGTH: ", str(len(activation_potentiations)))
|
398
399
|
print(" BEST GENOME INDEX: ", str(0))
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pyerualjetwork
|
3
|
-
Version: 4.2.
|
3
|
+
Version: 4.2.6b1
|
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=2ptsYxeF5I7fBMiVaPiz1IvDHgbuLch-ANuiLsreL_8,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
|
@@ -13,12 +13,12 @@ pyerualjetwork/model_operations.py,sha256=RKqnh7-MByFosxqme4q4jC1lOndX26O-OVXYV6
|
|
13
13
|
pyerualjetwork/model_operations_cuda.py,sha256=XnKKq54ZLaqCm-NaJ6d8IToACKcKg2Ttq6moowVRRWo,13365
|
14
14
|
pyerualjetwork/plan.py,sha256=UzCTFCA9cTv9ITCtsqfJ1g02rCMyescoIV6j1amvYGw,32134
|
15
15
|
pyerualjetwork/plan_cuda.py,sha256=hpXZl3h7B1qAVYW-gZebwKMZd4-ftAZ-u05teOJjsno,33525
|
16
|
-
pyerualjetwork/planeat.py,sha256=
|
17
|
-
pyerualjetwork/planeat_cuda.py,sha256
|
16
|
+
pyerualjetwork/planeat.py,sha256=Z1GkhcD-zIQrSy8HY6ywT4xz6hM7HTKVJewMaFl9_k0,39471
|
17
|
+
pyerualjetwork/planeat_cuda.py,sha256=-uRgs4fQ0Zk7urDKDqvuWcsE5RJ6tXghGgt_pdcwPl4,39445
|
18
18
|
pyerualjetwork/ui.py,sha256=wu2BhU1k-w3Kcho5Jtq4SEKe68ftaUeRGneUOSCVDjU,575
|
19
19
|
pyerualjetwork/visualizations.py,sha256=1SKMZaJ80OD2qHUyMxW1IOv8zwmxzMPxclfbeq1Xr4g,28772
|
20
20
|
pyerualjetwork/visualizations_cuda.py,sha256=KbMhfsLlxujy_i3QrwCf734Q-k6d7Zn_7CEbm3gzK9w,29186
|
21
|
-
pyerualjetwork-4.2.
|
22
|
-
pyerualjetwork-4.2.
|
23
|
-
pyerualjetwork-4.2.
|
24
|
-
pyerualjetwork-4.2.
|
21
|
+
pyerualjetwork-4.2.6b1.dist-info/METADATA,sha256=UV_m504Bd7zwKJ0WadzUeSdFqhPRsxm5jniDDDhEl1w,7454
|
22
|
+
pyerualjetwork-4.2.6b1.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
23
|
+
pyerualjetwork-4.2.6b1.dist-info/top_level.txt,sha256=BRyt62U_r3ZmJpj-wXNOoA345Bzamrj6RbaWsyW4tRg,15
|
24
|
+
pyerualjetwork-4.2.6b1.dist-info/RECORD,,
|
File without changes
|
File without changes
|