pyerualjetwork 2.4.4__py3-none-any.whl → 2.4.6__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_bi/plan_bi.py +8 -8
- plan_di/plan_di.py +9 -8
- {pyerualjetwork-2.4.4.dist-info → pyerualjetwork-2.4.6.dist-info}/METADATA +1 -1
- pyerualjetwork-2.4.6.dist-info/RECORD +8 -0
- pyerualjetwork-2.4.4.dist-info/RECORD +0 -8
- {pyerualjetwork-2.4.4.dist-info → pyerualjetwork-2.4.6.dist-info}/WHEEL +0 -0
- {pyerualjetwork-2.4.4.dist-info → pyerualjetwork-2.4.6.dist-info}/top_level.txt +0 -0
plan_bi/plan_bi.py
CHANGED
@@ -90,20 +90,20 @@ def fit(
|
|
90
90
|
|
91
91
|
if show_training == True:
|
92
92
|
|
93
|
-
fig, ax = plt.subplots(1,
|
93
|
+
fig, ax = plt.subplots(1, len(class_count), figsize=(18, 14))
|
94
94
|
|
95
95
|
try:
|
96
96
|
row = x_train[1].shape[0]
|
97
97
|
col = x_train[1].shape[1]
|
98
98
|
except:
|
99
99
|
|
100
|
-
print(Fore.MAGENTA + 'WARNING: You try train showing but inputs is raveled. x_train inputs
|
100
|
+
print(Fore.MAGENTA + 'WARNING: You try train showing but inputs is raveled. x_train inputs should be reshaped for training_show.', infoPLAN + Style.RESET_ALL)
|
101
101
|
|
102
102
|
try:
|
103
103
|
row, col = find_numbers(len(x_train[0]))
|
104
104
|
|
105
105
|
except:
|
106
|
-
print(Fore.RED + 'ERROR:
|
106
|
+
print(Fore.RED + 'ERROR: Change show_training to None. Input length cannot be reshaped', infoPLAN + Style.RESET_ALL)
|
107
107
|
return 'e'
|
108
108
|
|
109
109
|
for j in range(len(class_count)):
|
@@ -118,7 +118,7 @@ def fit(
|
|
118
118
|
ax[j].set_title(f'{j+1}. Neuron')
|
119
119
|
|
120
120
|
|
121
|
-
|
121
|
+
plt.show()
|
122
122
|
|
123
123
|
|
124
124
|
W = weight_identification(len(layers) - 1, len(class_count), neurons, x_train_size)
|
@@ -142,21 +142,21 @@ def fit(
|
|
142
142
|
|
143
143
|
if show_training == 'final':
|
144
144
|
|
145
|
-
fig, ax = plt.subplots(1,
|
145
|
+
fig, ax = plt.subplots(1, len(class_count), figsize=(18, 14))
|
146
146
|
|
147
147
|
try:
|
148
148
|
row = x_train[1].shape[0]
|
149
149
|
col = x_train[1].shape[1]
|
150
150
|
except:
|
151
151
|
|
152
|
-
print(Fore.MAGENTA + 'WARNING: You try train showing but inputs is raveled. x_train inputs
|
152
|
+
print(Fore.MAGENTA + 'WARNING: You try train showing but inputs is raveled. x_train inputs should be reshaped for training_show.', infoPLAN + Style.RESET_ALL)
|
153
153
|
|
154
154
|
try:
|
155
155
|
row, col = find_numbers(len(x_train[0]))
|
156
156
|
|
157
157
|
except:
|
158
158
|
|
159
|
-
print(Fore.RED + 'ERROR:
|
159
|
+
print(Fore.RED + 'ERROR: Change show_training to None. Input length cannot be reshaped', infoPLAN + Style.RESET_ALL)
|
160
160
|
return 'e'
|
161
161
|
|
162
162
|
for j in range(len(class_count)):
|
@@ -171,7 +171,7 @@ def fit(
|
|
171
171
|
ax[j].set_title(f'{j+1}. Neuron')
|
172
172
|
|
173
173
|
|
174
|
-
|
174
|
+
plt.show()
|
175
175
|
|
176
176
|
EndTime = time.time()
|
177
177
|
|
plan_di/plan_di.py
CHANGED
@@ -90,7 +90,7 @@ def fit(
|
|
90
90
|
|
91
91
|
if show_training == True:
|
92
92
|
|
93
|
-
fig, ax = plt.subplots(1,
|
93
|
+
fig, ax = plt.subplots(1, len(class_count), figsize=(18, 14))
|
94
94
|
|
95
95
|
try:
|
96
96
|
row = x_train[1].shape[0]
|
@@ -98,13 +98,14 @@ def fit(
|
|
98
98
|
|
99
99
|
except:
|
100
100
|
|
101
|
-
print(Fore.MAGENTA + 'WARNING: You try train showing but inputs is raveled. x_train inputs
|
101
|
+
print(Fore.MAGENTA + 'WARNING: You try train showing but inputs is raveled. x_train inputs should be reshaped for training_show.', infoPLAN + Style.RESET_ALL)
|
102
102
|
|
103
103
|
try:
|
104
104
|
row, col = find_numbers(len(x_train[0]))
|
105
105
|
|
106
106
|
except:
|
107
|
-
|
107
|
+
|
108
|
+
print(Fore.RED + 'ERROR: Change show_training to None. Input length cannot be reshaped', infoPLAN + Style.RESET_ALL)
|
108
109
|
return 'e'
|
109
110
|
|
110
111
|
|
@@ -120,7 +121,7 @@ def fit(
|
|
120
121
|
ax[j].set_title(f'{j+1}. Neuron')
|
121
122
|
|
122
123
|
|
123
|
-
|
124
|
+
plt.show()
|
124
125
|
|
125
126
|
W = weight_identification(
|
126
127
|
len(layers) - 1, len(class_count), neurons, x_train_size)
|
@@ -143,7 +144,7 @@ def fit(
|
|
143
144
|
|
144
145
|
if show_training == 'final':
|
145
146
|
|
146
|
-
fig, ax = plt.subplots(1,
|
147
|
+
fig, ax = plt.subplots(1, len(class_count), figsize=(18, 14))
|
147
148
|
|
148
149
|
try:
|
149
150
|
|
@@ -152,13 +153,13 @@ def fit(
|
|
152
153
|
|
153
154
|
except:
|
154
155
|
|
155
|
-
print(Fore.MAGENTA + 'WARNING: You try train showing but inputs is raveled. x_train inputs
|
156
|
+
print(Fore.MAGENTA + 'WARNING: You try train showing but inputs is raveled. x_train inputs should be reshaped for training_show.', infoPLAN + Style.RESET_ALL)
|
156
157
|
|
157
158
|
try:
|
158
159
|
row, col = find_numbers(len(x_train[0]))
|
159
160
|
|
160
161
|
except:
|
161
|
-
|
162
|
+
print(Fore.RED + 'ERROR: Change show_training to None. Input length cannot be reshaped', infoPLAN + Style.RESET_ALL)
|
162
163
|
return 'e'
|
163
164
|
|
164
165
|
for j in range(len(class_count)):
|
@@ -173,7 +174,7 @@ def fit(
|
|
173
174
|
ax[j].set_title(f'{j+1}. Neuron')
|
174
175
|
|
175
176
|
|
176
|
-
|
177
|
+
plt.show()
|
177
178
|
|
178
179
|
EndTime = time.time()
|
179
180
|
|
@@ -0,0 +1,8 @@
|
|
1
|
+
plan_bi/__init__.py,sha256=kHnuGDOKyMHQqeX49ToUUsdZckh9RPuyADhYw0SrmIo,514
|
2
|
+
plan_bi/plan_bi.py,sha256=JWyUR5v_OoziIr4BMDTMFSjtn_3KF7byndf_nXYa5Uw,53484
|
3
|
+
plan_di/__init__.py,sha256=DJzUsYj-tgbeewoGz-K9nfGsKqrRFUxIr_z-NgqySBk,505
|
4
|
+
plan_di/plan_di.py,sha256=zte7XzikVL7A8Ni7ZO4Pc26qaUoKUl-m0iWC5n34cwQ,51022
|
5
|
+
pyerualjetwork-2.4.6.dist-info/METADATA,sha256=p5z4HEUqURz8j-ToHla42sYTbT7m96Sv2vPpvOnDZPs,309
|
6
|
+
pyerualjetwork-2.4.6.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
7
|
+
pyerualjetwork-2.4.6.dist-info/top_level.txt,sha256=aaXSOcnD62fbXG1x7tw4nV50Qxx9g9zDNLK7OD4BdPE,16
|
8
|
+
pyerualjetwork-2.4.6.dist-info/RECORD,,
|
@@ -1,8 +0,0 @@
|
|
1
|
-
plan_bi/__init__.py,sha256=kHnuGDOKyMHQqeX49ToUUsdZckh9RPuyADhYw0SrmIo,514
|
2
|
-
plan_bi/plan_bi.py,sha256=Xn-Tpxse6llDRsilb-k9JAElvRUDvdtQ3B4fnW4s5EA,53602
|
3
|
-
plan_di/__init__.py,sha256=DJzUsYj-tgbeewoGz-K9nfGsKqrRFUxIr_z-NgqySBk,505
|
4
|
-
plan_di/plan_di.py,sha256=6Jml4SeYbM7mNCNY-gJiamsqsy7HNZsDjOBYpzCHhuo,51118
|
5
|
-
pyerualjetwork-2.4.4.dist-info/METADATA,sha256=BxWIsiPEgRTrFXXVyQ_wGkTYURkAL5Q6X2YpSPKFBrI,309
|
6
|
-
pyerualjetwork-2.4.4.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
7
|
-
pyerualjetwork-2.4.4.dist-info/top_level.txt,sha256=aaXSOcnD62fbXG1x7tw4nV50Qxx9g9zDNLK7OD4BdPE,16
|
8
|
-
pyerualjetwork-2.4.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|