pyerualjetwork 2.7.6__tar.gz → 2.7.8__tar.gz

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.
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyerualjetwork
3
- Version: 2.7.6
4
- Summary: Changes in standard_scaler function paramter: x_test default value=None. Now x_test parameter is optional
3
+ Version: 2.7.8
4
+ Summary: Code improvements
5
5
  Author: Hasan Can Beydili
6
6
  Author-email: tchasancan@gmail.com
7
7
  Keywords: model evaluation,classifcation,potentiation learning artficial neural networks
@@ -1,10 +1,3 @@
1
- # -*- coding: utf-8 -*-
2
- """
3
- Created on Fri Jun 21 05:21:35 2024
4
-
5
- @author: hasan
6
- """
7
-
8
1
  # -*- coding: utf-8 -*-
9
2
  """
10
3
  Created on Tue Jun 18 23:32:16 2024
@@ -17,7 +10,6 @@ import numpy as np
17
10
  import time
18
11
  from colorama import Fore, Style
19
12
  from typing import List, Union
20
- import math
21
13
  from scipy.special import expit, softmax
22
14
  import matplotlib.pyplot as plt
23
15
  import seaborn as sns
@@ -120,7 +112,7 @@ def fit(
120
112
  STPW = weight_identification(
121
113
  len(layers) - 1, len(class_count), neurons, x_train_size) # STPW = SHORT TIME POTENTIATION WEIGHT
122
114
 
123
- LTPW = [1] * len(STPW) # LTPW = LONG TIME POTENTIATION WEIGHT
115
+ LTPW = [0] * len(STPW) # LTPW = LONG TIME POTENTIATION WEIGHT
124
116
 
125
117
  y = decode_one_hot(y_train)
126
118
 
@@ -257,7 +249,9 @@ def fit(
257
249
 
258
250
  val_list.append(val_acc)
259
251
 
260
- val_bar.update(val_acc)
252
+ val_bar.update(val_acc)
253
+
254
+ LTPW = normalization(LTPW)
261
255
 
262
256
  return LTPW
263
257
 
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyerualjetwork
3
- Version: 2.7.6
4
- Summary: Changes in standard_scaler function paramter: x_test default value=None. Now x_test parameter is optional
3
+ Version: 2.7.8
4
+ Summary: Code improvements
5
5
  Author: Hasan Can Beydili
6
6
  Author-email: tchasancan@gmail.com
7
7
  Keywords: model evaluation,classifcation,potentiation learning artficial neural networks
@@ -5,10 +5,10 @@ from setuptools import setup, find_packages
5
5
  setup(
6
6
 
7
7
  name = "pyerualjetwork",
8
- version = "2.7.6",
8
+ version = "2.7.8",
9
9
  author = "Hasan Can Beydili",
10
10
  author_email = "tchasancan@gmail.com",
11
- description= "Changes in standard_scaler function paramter: x_test default value=None. Now x_test parameter is optional",
11
+ description= "Code improvements",
12
12
  packages = find_packages(),
13
13
  keywords = ["model evaluation", "classifcation", 'potentiation learning artficial neural networks'],
14
14
 
File without changes