pyerualjetwork 2.6.1__py3-none-any.whl → 2.6.3__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 CHANGED
@@ -63,15 +63,13 @@ def fit(
63
63
  if val == True and val_count == None:
64
64
 
65
65
  val_count = 0.1
66
- val_count_copy = val_count
67
66
 
68
- if val == True:
67
+ if val == True and val_count != None:
69
68
 
70
69
  val_count = int(len(x_train) * val_count)
71
-
72
70
  val_count_copy = val_count
73
71
 
74
- if show_training == True or show_training == 'final' and show_count == None:
72
+ if show_count == None:
75
73
 
76
74
  show_count = 10
77
75
 
@@ -135,6 +133,13 @@ def fit(
135
133
 
136
134
  if index == val_count:
137
135
 
136
+ if show_training == True:
137
+ try:
138
+ plt.close(fig)
139
+
140
+ except:
141
+ pass
142
+
138
143
  val_count += val_count_copy
139
144
 
140
145
  layers.append('cat')
@@ -203,14 +208,14 @@ def fit(
203
208
  suptitle_info = 'Weight Learning Progress: % '
204
209
  title_info = 'Weight Matrix Of Fex Layer'
205
210
 
206
-
207
-
211
+
212
+
208
213
 
209
- progress_status = f"{progress:.1f}"
210
- fig.suptitle(suptitle_info + progress_status)
211
- plt.draw()
212
- plt.pause(0.1)
213
-
214
+ progress_status = f"{progress:.1f}"
215
+ fig.suptitle(suptitle_info + progress_status)
216
+ plt.draw()
217
+ plt.pause(0.1)
218
+
214
219
 
215
220
  W = weight_identification(
216
221
  len(layers) - 1, len(class_count), neurons, x_train_size)
@@ -1677,4 +1682,4 @@ def get_preds():
1677
1682
 
1678
1683
  def get_acc():
1679
1684
 
1680
- return 2
1685
+ return 2
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyerualjetwork
3
- Version: 2.6.1
3
+ Version: 2.6.3
4
4
  Summary: New optional parameters added for fit function, x_val, y_val show_count, val_count, val. For more information please read user document
5
5
  Author: Hasan Can Beydili
6
6
  Author-email: tchasancan@gmail.com
@@ -0,0 +1,6 @@
1
+ plan/__init__.py,sha256=gmaz8lnQfl18MbOQwabBUPmShajK5S99jfyY-hQe8tc,502
2
+ plan/plan.py,sha256=fUVW_bUadJjTPoXN3YQwU_1b-FSr64fCH3_WUAoDcn8,56253
3
+ pyerualjetwork-2.6.3.dist-info/METADATA,sha256=uc5OY2rYco6MWnILvfmZ4rR9-9xheUTsR7MMOlg1J9Q,357
4
+ pyerualjetwork-2.6.3.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
5
+ pyerualjetwork-2.6.3.dist-info/top_level.txt,sha256=G0Al3HuNJ88434XneyDtRKAIUaLCizOFYFYNhd7e2OM,5
6
+ pyerualjetwork-2.6.3.dist-info/RECORD,,
@@ -1,6 +0,0 @@
1
- plan/__init__.py,sha256=gmaz8lnQfl18MbOQwabBUPmShajK5S99jfyY-hQe8tc,502
2
- plan/plan.py,sha256=-CDd_pL4FrNAo-G3uzLx6ZkxtgDu2hf3fHype2HE9zY,56182
3
- pyerualjetwork-2.6.1.dist-info/METADATA,sha256=eT-pFhJpsUdjn2jy-szNHi8dw6Gd3r02J8gsHtcFtvA,357
4
- pyerualjetwork-2.6.1.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
5
- pyerualjetwork-2.6.1.dist-info/top_level.txt,sha256=G0Al3HuNJ88434XneyDtRKAIUaLCizOFYFYNhd7e2OM,5
6
- pyerualjetwork-2.6.1.dist-info/RECORD,,