pyerualjetwork 2.2.7__py3-none-any.whl → 2.2.8__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 CHANGED
@@ -52,7 +52,7 @@ def fit(
52
52
  y_train = [tuple(sublist) for sublist in y_train]
53
53
 
54
54
  neurons = [len(class_count),len(class_count)]
55
- layers = ['fex','cat']
55
+ layers = ['fex']
56
56
 
57
57
  x_train[0] = np.array(x_train[0])
58
58
  x_train[0] = x_train[0].ravel()
@@ -123,8 +123,9 @@ def fit(
123
123
  print('Total training time(h): ',calculating_est/3600)
124
124
 
125
125
 
126
+ layers.append('cat')
127
+ trained_W.append(np.eye(len(class_count)))
126
128
 
127
-
128
129
  return trained_W
129
130
 
130
131
  # FUNCTIONS -----
@@ -155,8 +156,6 @@ def weight_identification(
155
156
  ws = layer_count - 1
156
157
  for w in range(ws):
157
158
  W[w + 1] = np.ones((neurons[w + 1],neurons[w]))
158
- W[layer_count] = np.ones((class_count,neurons[layer_count - 1]))
159
- W[len(W) - 1] = np.eye(class_count)
160
159
 
161
160
  return W
162
161
 
plan_di/plan_di.py CHANGED
@@ -51,7 +51,7 @@ def fit(
51
51
  y_train = [tuple(sublist) for sublist in y_train]
52
52
 
53
53
  neurons = [len(class_count), len(class_count)]
54
- layers = ['fex', 'cat']
54
+ layers = ['fex']
55
55
 
56
56
  x_train[0] = np.array(x_train[0])
57
57
  x_train[0] = x_train[0].ravel()
@@ -120,6 +120,9 @@ def fit(
120
120
  elif calculating_est > 3600:
121
121
  print('Total training time(h): ', calculating_est/3600)
122
122
 
123
+ layers.append('cat')
124
+ trained_W.append(np.eye(len(class_count)))
125
+
123
126
  return trained_W
124
127
 
125
128
  # FUNCTIONS -----
@@ -150,9 +153,7 @@ def weight_identification(
150
153
  ws = layer_count - 1
151
154
  for w in range(ws):
152
155
  W[w + 1] = np.ones((neurons[w + 1], neurons[w]))
153
- W[layer_count] = np.ones((class_count, neurons[layer_count - 1]))
154
- W[len(W) - 1] = np.eye(class_count)
155
-
156
+
156
157
  return W
157
158
 
158
159
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyerualjetwork
3
- Version: 2.2.7
3
+ Version: 2.2.8
4
4
  Summary: Code improvements (Documentation in desc. Examples in GİTHUB: https://github.com/HCB06/PyerualJetwork)
5
5
  Author: Hasan Can Beydili
6
6
  Author-email: tchasancan@gmail.com
@@ -0,0 +1,8 @@
1
+ plan_bi/__init__.py,sha256=rzDe7yWvNlwDVE6xSw8Qk51itcxT6EDBj7iiOeycxMw,475
2
+ plan_bi/plan_bi.py,sha256=n0OdGsUsbmUlP8RUw4HBpfFe8ONQo3o3qQulHyg2Lr0,45371
3
+ plan_di/__init__.py,sha256=Omxc07PXPQZOrXBD3PJQT6sPdni6NMykyiQgKVL_IZ0,466
4
+ plan_di/plan_di.py,sha256=EkEdGsC-QW2JFqIx9C59XbFzWnc9zCL5DB3eGa9208k,42742
5
+ pyerualjetwork-2.2.8.dist-info/METADATA,sha256=YlFE--h2sLunB0pGGCvUqmlPtnYdb9mVYU_GsW7N6JY,325
6
+ pyerualjetwork-2.2.8.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
7
+ pyerualjetwork-2.2.8.dist-info/top_level.txt,sha256=aaXSOcnD62fbXG1x7tw4nV50Qxx9g9zDNLK7OD4BdPE,16
8
+ pyerualjetwork-2.2.8.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- plan_bi/__init__.py,sha256=rzDe7yWvNlwDVE6xSw8Qk51itcxT6EDBj7iiOeycxMw,475
2
- plan_bi/plan_bi.py,sha256=ZK2rwYVgYxHygwmgUvb8G1cQ8AHPRm6e2yVHgb9X5Eo,45416
3
- plan_di/__init__.py,sha256=Omxc07PXPQZOrXBD3PJQT6sPdni6NMykyiQgKVL_IZ0,466
4
- plan_di/plan_di.py,sha256=nWUc3D9yTDQ6V1TQAGH4Q9F4yKJIndKYGGQPqtysNOU,42786
5
- pyerualjetwork-2.2.7.dist-info/METADATA,sha256=_XpAwKRGokLPyY5Z5wW3pXLUF9nKFgWDaw510HVKa6E,325
6
- pyerualjetwork-2.2.7.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
7
- pyerualjetwork-2.2.7.dist-info/top_level.txt,sha256=aaXSOcnD62fbXG1x7tw4nV50Qxx9g9zDNLK7OD4BdPE,16
8
- pyerualjetwork-2.2.7.dist-info/RECORD,,