pyerualjetwork 4.2.9b0__py3-none-any.whl → 4.2.9b2__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_cuda.py +2 -13
- {pyerualjetwork-4.2.9b0.dist-info → pyerualjetwork-4.2.9b2.dist-info}/METADATA +1 -1
- {pyerualjetwork-4.2.9b0.dist-info → pyerualjetwork-4.2.9b2.dist-info}/RECORD +6 -6
- {pyerualjetwork-4.2.9b0.dist-info → pyerualjetwork-4.2.9b2.dist-info}/WHEEL +0 -0
- {pyerualjetwork-4.2.9b0.dist-info → pyerualjetwork-4.2.9b2.dist-info}/top_level.txt +0 -0
pyerualjetwork/__init__.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
__version__ = "4.2.
|
1
|
+
__version__ = "4.2.9b2"
|
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_cuda.py
CHANGED
@@ -598,17 +598,6 @@ def evaluate(
|
|
598
598
|
tuple: Model (list).
|
599
599
|
"""
|
600
600
|
|
601
|
-
if memory == 'gpu':
|
602
|
-
x_test = transfer_to_gpu(x_test, dtype=dtype)
|
603
|
-
y_test = transfer_to_gpu(y_test, dtype=y_test.dtype)
|
604
|
-
|
605
|
-
elif memory == 'cpu':
|
606
|
-
x_test = transfer_to_cpu(x_test, dtype=dtype)
|
607
|
-
y_test = transfer_to_cpu(y_test, dtype=y_test.dtype)
|
608
|
-
|
609
|
-
else:
|
610
|
-
raise ValueError("memory parameter must be 'cpu' or 'gpu'.")
|
611
|
-
|
612
601
|
predict_probabilitys = cp.empty((len(x_test), W.shape[0]), dtype=dtype)
|
613
602
|
real_classes = cp.empty(len(x_test), dtype=y_test.dtype)
|
614
603
|
predict_classes = cp.empty(len(x_test), dtype=y_test.dtype)
|
@@ -627,9 +616,9 @@ def evaluate(
|
|
627
616
|
|
628
617
|
predict_probabilitys[inpIndex] = Softmax(neural_layer)
|
629
618
|
|
630
|
-
RealOutput = cp.argmax(y_test[inpIndex]
|
619
|
+
RealOutput = cp.argmax(y_test[inpIndex])
|
631
620
|
real_classes[inpIndex] = RealOutput
|
632
|
-
PredictedOutput = cp.argmax(neural_layer
|
621
|
+
PredictedOutput = cp.argmax(neural_layer)
|
633
622
|
predict_classes[inpIndex] = PredictedOutput
|
634
623
|
|
635
624
|
if RealOutput == PredictedOutput:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pyerualjetwork
|
3
|
-
Version: 4.2.
|
3
|
+
Version: 4.2.9b2
|
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=wpQgoui5aJLcta63lgtBwP6OWAb0xzdERannJ7MV_C4,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
|
@@ -12,13 +12,13 @@ pyerualjetwork/metrics_cuda.py,sha256=73h9GC7XwmnFCVzFEEiPQfF8CwHIz2wsCbxpZrJtYg
|
|
12
12
|
pyerualjetwork/model_operations.py,sha256=RKqnh7-MByFosxqme4q4jC1lOndX26O-OVXYV6ZxoEE,12965
|
13
13
|
pyerualjetwork/model_operations_cuda.py,sha256=XnKKq54ZLaqCm-NaJ6d8IToACKcKg2Ttq6moowVRRWo,13365
|
14
14
|
pyerualjetwork/plan.py,sha256=UzCTFCA9cTv9ITCtsqfJ1g02rCMyescoIV6j1amvYGw,32134
|
15
|
-
pyerualjetwork/plan_cuda.py,sha256=
|
15
|
+
pyerualjetwork/plan_cuda.py,sha256=uF762Lb-9F3vwuOqVJfl93II7rzxASBlZvolCmj9Mns,33070
|
16
16
|
pyerualjetwork/planeat.py,sha256=t6qyuMB2c5n8lsAJooEpShzEnw2GvepBI0bpLMx0DUI,39440
|
17
17
|
pyerualjetwork/planeat_cuda.py,sha256=UBdbAk87M5zEZzZlRBeOzW-q0Sy8c_XWl4zdrtDnyIs,39499
|
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.9b2.dist-info/METADATA,sha256=0wVo_A2myMtqqLrlw278Hgw5b4BgkKRSbebFlhLDnro,7454
|
22
|
+
pyerualjetwork-4.2.9b2.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
23
|
+
pyerualjetwork-4.2.9b2.dist-info/top_level.txt,sha256=BRyt62U_r3ZmJpj-wXNOoA345Bzamrj6RbaWsyW4tRg,15
|
24
|
+
pyerualjetwork-4.2.9b2.dist-info/RECORD,,
|
File without changes
|
File without changes
|