pyerualjetwork 2.6.2__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')
@@ -204,13 +209,13 @@ def fit(
204
209
  title_info = 'Weight Matrix Of Fex Layer'
205
210
 
206
211
 
207
-
212
+
208
213
 
209
214
  progress_status = f"{progress:.1f}"
210
215
  fig.suptitle(suptitle_info + progress_status)
211
216
  plt.draw()
212
217
  plt.pause(0.1)
213
-
218
+
214
219
 
215
220
  W = weight_identification(
216
221
  len(layers) - 1, len(class_count), neurons, x_train_size)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyerualjetwork
3
- Version: 2.6.2
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=wkQSVEkwLc4Zm0lI5Vsexi32n5Fd_xHRzEKMt1Jl5h8,56152
3
- pyerualjetwork-2.6.2.dist-info/METADATA,sha256=tOuWNnuocHSzidsvZmt_HAsINww6sGLiTOoBvrVoSHA,357
4
- pyerualjetwork-2.6.2.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
5
- pyerualjetwork-2.6.2.dist-info/top_level.txt,sha256=G0Al3HuNJ88434XneyDtRKAIUaLCizOFYFYNhd7e2OM,5
6
- pyerualjetwork-2.6.2.dist-info/RECORD,,