pyerualjetwork 2.7.5__py3-none-any.whl → 2.7.7__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.
- plan/plan.py +3 -9
- {pyerualjetwork-2.7.5.dist-info → pyerualjetwork-2.7.7.dist-info}/METADATA +2 -2
- pyerualjetwork-2.7.7.dist-info/RECORD +6 -0
- {pyerualjetwork-2.7.5.dist-info → pyerualjetwork-2.7.7.dist-info}/WHEEL +1 -1
- pyerualjetwork-2.7.5.dist-info/RECORD +0 -6
- {pyerualjetwork-2.7.5.dist-info → pyerualjetwork-2.7.7.dist-info}/top_level.txt +0 -0
plan/plan.py
CHANGED
@@ -1,9 +1,3 @@
|
|
1
|
-
# -*- coding: utf-8 -*-
|
2
|
-
"""
|
3
|
-
Created on Fri Jun 21 05:21:35 2024
|
4
|
-
|
5
|
-
@author: hasan
|
6
|
-
"""
|
7
1
|
|
8
2
|
# -*- coding: utf-8 -*-
|
9
3
|
"""
|
@@ -120,7 +114,7 @@ def fit(
|
|
120
114
|
STPW = weight_identification(
|
121
115
|
len(layers) - 1, len(class_count), neurons, x_train_size) # STPW = SHORT TIME POTENTIATION WEIGHT
|
122
116
|
|
123
|
-
LTPW = [
|
117
|
+
LTPW = [0] * len(STPW) # LTPW = LONG TIME POTENTIATION WEIGHT
|
124
118
|
|
125
119
|
y = decode_one_hot(y_train)
|
126
120
|
|
@@ -1095,7 +1089,7 @@ def synthetic_augmentation(x_train, y_train):
|
|
1095
1089
|
return np.array(x_balanced), np.array(y_balanced)
|
1096
1090
|
|
1097
1091
|
|
1098
|
-
def standard_scaler(x_train, x_test, scaler_params=None):
|
1092
|
+
def standard_scaler(x_train, x_test=None, scaler_params=None):
|
1099
1093
|
info_standard_scaler = """
|
1100
1094
|
Standardizes training and test datasets. x_test may be None.
|
1101
1095
|
|
@@ -1103,7 +1097,7 @@ def standard_scaler(x_train, x_test, scaler_params=None):
|
|
1103
1097
|
train_data: numpy.ndarray
|
1104
1098
|
Training data
|
1105
1099
|
test_data: numpy.ndarray
|
1106
|
-
Test data
|
1100
|
+
Test data (optional)
|
1107
1101
|
|
1108
1102
|
Returns:
|
1109
1103
|
list:
|
@@ -1,7 +1,7 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pyerualjetwork
|
3
|
-
Version: 2.7.
|
4
|
-
Summary:
|
3
|
+
Version: 2.7.7
|
4
|
+
Summary: Code improvements
|
5
5
|
Author: Hasan Can Beydili
|
6
6
|
Author-email: tchasancan@gmail.com
|
7
7
|
Keywords: model evaluation,classifcation,potentiation learning artficial neural networks
|
@@ -0,0 +1,6 @@
|
|
1
|
+
plan/__init__.py,sha256=gmaz8lnQfl18MbOQwabBUPmShajK5S99jfyY-hQe8tc,502
|
2
|
+
plan/plan.py,sha256=v7MjGajLUb7EMjqJ1zdwtTvTsFHXFL0qx6cc2ufAF80,52779
|
3
|
+
pyerualjetwork-2.7.7.dist-info/METADATA,sha256=0YOAffod8gsEAj_AHAVBswSJ0OizvXsJQwWqWPU6bik,244
|
4
|
+
pyerualjetwork-2.7.7.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
5
|
+
pyerualjetwork-2.7.7.dist-info/top_level.txt,sha256=G0Al3HuNJ88434XneyDtRKAIUaLCizOFYFYNhd7e2OM,5
|
6
|
+
pyerualjetwork-2.7.7.dist-info/RECORD,,
|
@@ -1,6 +0,0 @@
|
|
1
|
-
plan/__init__.py,sha256=gmaz8lnQfl18MbOQwabBUPmShajK5S99jfyY-hQe8tc,502
|
2
|
-
plan/plan.py,sha256=pQa7rMW25hnqvxxyvGeLuGNgMThAV3CJjJGNOEducts,52853
|
3
|
-
pyerualjetwork-2.7.5.dist-info/METADATA,sha256=kMRs1b07S3jrVD6nJ4O86fnQDonmVNBv0AeU2_MPaE8,254
|
4
|
-
pyerualjetwork-2.7.5.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
5
|
-
pyerualjetwork-2.7.5.dist-info/top_level.txt,sha256=G0Al3HuNJ88434XneyDtRKAIUaLCizOFYFYNhd7e2OM,5
|
6
|
-
pyerualjetwork-2.7.5.dist-info/RECORD,,
|
File without changes
|