pyerualjetwork 2.2.9__py3-none-any.whl → 2.3.1__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
@@ -754,7 +754,7 @@ def predict_model_ssd(Input, model_name, model_path):
754
754
 
755
755
  if scaler_params != None:
756
756
 
757
- Input = standard_scaler(scaler_params, Input, None)
757
+ Input = standard_scaler(Input, None, scaler_params)
758
758
 
759
759
  layers = ['fex','cat']
760
760
 
@@ -798,7 +798,7 @@ def predict_model_ram(Input, activation_potential, scaler_params, W):
798
798
  """
799
799
  if scaler_params != None:
800
800
 
801
- Input = standard_scaler(scaler_params, Input, None)
801
+ Input = standard_scaler(Input, None, scaler_params)
802
802
 
803
803
  layers = ['fex','cat']
804
804
 
@@ -925,7 +925,7 @@ def synthetic_augmentation(x_train, y_train):
925
925
  return np.array(x_balanced), np.array(y_balanced)
926
926
 
927
927
 
928
- defdef standard_scaler(scaler_params=None, x_train, x_test):
928
+ def standard_scaler(x_train, x_test, scaler_params=None):
929
929
  info_standard_scaler = """
930
930
  Standardizes training and test datasets. x_test may be None.
931
931
 
@@ -941,7 +941,7 @@ defdef standard_scaler(scaler_params=None, x_train, x_test):
941
941
  tuple
942
942
  Standardized training and test datasets
943
943
  """
944
- try:
944
+ try:
945
945
 
946
946
  if scaler_params == None:
947
947
  mean = np.mean(x_train, axis=0)
plan_di/plan_di.py CHANGED
@@ -733,7 +733,7 @@ def predict_model_ssd(Input, model_name, model_path):
733
733
 
734
734
  if scaler_params != None:
735
735
 
736
- Input = standard_scaler(scaler_params, Input, None)
736
+ Input = standard_scaler(Input, None, scaler_params)
737
737
 
738
738
  layers = ['fex', 'cat']
739
739
 
@@ -778,7 +778,7 @@ def predict_model_ram(Input, scaler_params, W):
778
778
 
779
779
  if scaler_params != None:
780
780
 
781
- Input = standard_scaler(scaler_params, Input, None)
781
+ Input = standard_scaler(Input, None, scaler_params)
782
782
 
783
783
  layers = ['fex', 'cat']
784
784
 
@@ -905,7 +905,7 @@ def synthetic_augmentation(x_train, y_train):
905
905
  return np.array(x_balanced), np.array(y_balanced)
906
906
 
907
907
 
908
- def standard_scaler(scaler_params=None, x_train, x_test):
908
+ def standard_scaler(x_train, x_test, scaler_params=None):
909
909
  info_standard_scaler = """
910
910
  Standardizes training and test datasets. x_test may be None.
911
911
 
@@ -921,7 +921,7 @@ def standard_scaler(scaler_params=None, x_train, x_test):
921
921
  tuple
922
922
  Standardized training and test datasets
923
923
  """
924
- try:
924
+ try:
925
925
 
926
926
  if scaler_params == None:
927
927
  mean = np.mean(x_train, axis=0)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyerualjetwork
3
- Version: 2.2.9
3
+ Version: 2.3.1
4
4
  Summary: Weights now noramlized, new function: manuel_balancer. And scaler_params added for scaled models.
5
5
  Author: Hasan Can Beydili
6
6
  Author-email: tchasancan@gmail.com
@@ -0,0 +1,8 @@
1
+ plan_bi/__init__.py,sha256=m84PX8yNU6pVlQNyWOqamkQdx_-_aPFsfvtwEnC8U_w,492
2
+ plan_bi/plan_bi.py,sha256=eoEsptGRV8pqgZSCQy-GBfq3l5pFll11_DVGYfFq2Z0,50046
3
+ plan_di/__init__.py,sha256=cp43HHfPlIYVGFULVoiEwjFE8paMHCAgYLSic355gqs,483
4
+ plan_di/plan_di.py,sha256=bYwyDuFVXzhhHS-o7Rq7qkMlV5fV3I-eC1cTtN71cMA,47440
5
+ pyerualjetwork-2.3.1.dist-info/METADATA,sha256=Q1YP0vc2ZnIgySOdMQYTvmL_a-4Lwr0sZhPBd4OUzFU,319
6
+ pyerualjetwork-2.3.1.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
7
+ pyerualjetwork-2.3.1.dist-info/top_level.txt,sha256=aaXSOcnD62fbXG1x7tw4nV50Qxx9g9zDNLK7OD4BdPE,16
8
+ pyerualjetwork-2.3.1.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- plan_bi/__init__.py,sha256=m84PX8yNU6pVlQNyWOqamkQdx_-_aPFsfvtwEnC8U_w,492
2
- plan_bi/plan_bi.py,sha256=ehSRrQ7_5YRKEVrHNazP8CPZSlJWVxB-lDZUTPO_Q7g,50053
3
- plan_di/__init__.py,sha256=cp43HHfPlIYVGFULVoiEwjFE8paMHCAgYLSic355gqs,483
4
- plan_di/plan_di.py,sha256=5IBktVVqKENjDm2gi8ykNOaWfxspoJuG_36FrB0m07k,47444
5
- pyerualjetwork-2.2.9.dist-info/METADATA,sha256=w1H4NKan5q2vMU7TjOyDVGnMqWHKf3kDFYpQiPMZPf8,319
6
- pyerualjetwork-2.2.9.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
7
- pyerualjetwork-2.2.9.dist-info/top_level.txt,sha256=aaXSOcnD62fbXG1x7tw4nV50Qxx9g9zDNLK7OD4BdPE,16
8
- pyerualjetwork-2.2.9.dist-info/RECORD,,