pyerualjetwork 1.3.2__py3-none-any.whl → 1.3.4__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
@@ -37,7 +37,7 @@ def TrainPLAN(
37
37
  visualize (str): visualize Training procces or not visualize ('y' or 'n')
38
38
 
39
39
  Returns:
40
- list([num]): (Weight matrices list, TrainPredictions list, Trainacc).
40
+ list([num]): (Weight matrices list, train_predictions list, Trainacc).
41
41
  error handled ?: Process status ('e')
42
42
  """
43
43
 
@@ -149,9 +149,9 @@ def TrainPLAN(
149
149
 
150
150
  W = WeightIdentification(len(layers) - 1,class_count,neurons,x_train_size)
151
151
  Divides = SynapticDividing(class_count,W)
152
- TrainedWs = [1] * len(W)
152
+ trained_W = [1] * len(W)
153
153
  print(Fore.GREEN + "Train Started with 0 ERROR" + Style.RESET_ALL,)
154
- TrainPredictions = [None] * len(y_train)
154
+ train_predictions = [None] * len(y_train)
155
155
  true = 0
156
156
  start_time = time.time()
157
157
  for index, inp in enumerate(x_train):
@@ -199,7 +199,7 @@ def TrainPLAN(
199
199
  if RealOutput == PredictedOutput:
200
200
  true += 1
201
201
  acc = true / len(y_train)
202
- TrainPredictions[index] = PredictedOutput
202
+ train_predictions[index] = PredictedOutput
203
203
 
204
204
  if visualize == 'y':
205
205
 
@@ -208,7 +208,7 @@ def TrainPLAN(
208
208
 
209
209
  plt.figure(figsize=(12, 6))
210
210
  sns.kdeplot(y_trainVisual, label='Real Outputs', fill=True)
211
- sns.kdeplot(TrainPredictions, label='Predictions', fill=True)
211
+ sns.kdeplot(train_predictions, label='Predictions', fill=True)
212
212
  plt.legend()
213
213
  plt.xlabel('Class')
214
214
  plt.ylabel('Data size')
@@ -221,11 +221,11 @@ def TrainPLAN(
221
221
 
222
222
  if index == 0:
223
223
  for i, w in enumerate(W):
224
- TrainedWs[i] = w
224
+ trained_W[i] = w
225
225
 
226
226
  else:
227
227
  for i, w in enumerate(W):
228
- TrainedWs[i] = TrainedWs[i] + w
228
+ trained_W[i] = trained_W[i] + w
229
229
 
230
230
 
231
231
  W = WeightIdentification(len(layers) - 1,class_count,neurons,x_train_size)
@@ -274,7 +274,7 @@ def TrainPLAN(
274
274
 
275
275
 
276
276
 
277
- return TrainedWs,TrainPredictions,acc
277
+ return trained_W,train_predictions,acc
278
278
 
279
279
  # FUNCTIONS -----
280
280
 
@@ -1134,6 +1134,6 @@ def GetPreds():
1134
1134
 
1135
1135
  return 1
1136
1136
 
1137
- def Getacc():
1137
+ def GetAcc():
1138
1138
 
1139
1139
  return 2
@@ -0,0 +1,8 @@
1
+ Metadata-Version: 2.1
2
+ Name: pyerualjetwork
3
+ Version: 1.3.4
4
+ Summary: Advanced python deep learning library. New Features: 'SyntheticAugmentation' function added for unbalanced datasets. Changes for variable names to snake_case (Function names are still PascalCase). (Documentation in desc. Examples in GİTHUB: https://github.com/HCB06/PyerualJetwork)
5
+ Author: Hasan Can Beydili
6
+ Author-email: tchasancan@gmail.com
7
+ Keywords: model evaluation,classifcation,pruning learning artficial neural networks
8
+
@@ -0,0 +1,6 @@
1
+ plan/__init__.py,sha256=LQbg-AnTUz7KA1E77-mg7X-zRM-7IiK7c3zK-j063rc,375
2
+ plan/plan.py,sha256=XIFGPk2NFYQcuKcPik-FMe-i-w3ezn60QFfWSkjXUU0,44211
3
+ pyerualjetwork-1.3.4.dist-info/METADATA,sha256=29bcIQ5o4xWaTgd5zNGmBAw1VMVsuUodcD34LyS7Mdw,504
4
+ pyerualjetwork-1.3.4.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
5
+ pyerualjetwork-1.3.4.dist-info/top_level.txt,sha256=G0Al3HuNJ88434XneyDtRKAIUaLCizOFYFYNhd7e2OM,5
6
+ pyerualjetwork-1.3.4.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: pyerualjetwork
3
- Version: 1.3.2
4
- Summary: Advanced python deep learning library.
5
- Author: Hasan Can Beydili
6
- Author-email: tchasancan@gmail.com
7
- Keywords: model evaluation,classifcation,pruning learning artficial neural networks
8
-
@@ -1,6 +0,0 @@
1
- plan/__init__.py,sha256=LQbg-AnTUz7KA1E77-mg7X-zRM-7IiK7c3zK-j063rc,375
2
- plan/plan.py,sha256=qOOEQUAeur1_1oxCMAxzohpaWK1ZcLKpYTwZnyb4qmo,44206
3
- pyerualjetwork-1.3.2.dist-info/METADATA,sha256=DTCzZg1WMNoF_BHByh70zosR3F3G9_TO3gMF2OTeCKk,261
4
- pyerualjetwork-1.3.2.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
5
- pyerualjetwork-1.3.2.dist-info/top_level.txt,sha256=G0Al3HuNJ88434XneyDtRKAIUaLCizOFYFYNhd7e2OM,5
6
- pyerualjetwork-1.3.2.dist-info/RECORD,,