pyerualjetwork 2.3.5__tar.gz → 2.3.7__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,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyerualjetwork
3
- Version: 2.3.5
3
+ Version: 2.3.7
4
4
  Summary: Weights post process function added: [weight_post_process](optional after training before testing.), new function: manuel_balancer. And scaler_params added for scaled models.
5
5
  Author: Hasan Can Beydili
6
6
  Author-email: tchasancan@gmail.com
@@ -2,4 +2,4 @@
2
2
 
3
3
  # Bu dosya, plan modülünün ana giriş noktasıdır.
4
4
 
5
- from .plan_bi import auto_balancer, normalization, Softmax, Sigmoid, Relu, weight_identification, fex, fit, evaluate, save_model, load_model, predict_model_ssd, predict_model_ram, get_weights, get_df, get_preds, get_acc, get_pot, synthetic_augmentation, standard_scaler, multiple_evaluate, encode_one_hot, split, metrics, decode_one_hot, roc_curve, confusion_matrix, plot_evaluate, manuel_balancer, weight_post_process
5
+ from .plan_bi import auto_balancer, normalization, Softmax, Sigmoid, Relu, weight_identification, fex, fit, evaluate, save_model, load_model, predict_model_ssd, predict_model_ram, get_weights, get_df, get_preds, get_acc, get_pot, synthetic_augmentation, standard_scaler, multiple_evaluate, encode_one_hot, split, metrics, decode_one_hot, roc_curve, confusion_matrix, plot_evaluate, manuel_balancer, weight_normalization
@@ -128,12 +128,12 @@ def fit(
128
128
 
129
129
  return trained_W
130
130
 
131
- def weight_post_process(
131
+ def weight_normalization(
132
132
  W,
133
133
  class_count
134
134
  ) -> str:
135
135
  """
136
- Identifies the weights for a neural network model.
136
+ Row(Neuron) based normalization. For unbalanced models.
137
137
 
138
138
  Args:
139
139
  W (list(num)): Trained weight matrix list.
@@ -143,7 +143,7 @@ def weight_post_process(
143
143
  list([numpy_arrays],[...]): posttrained weight matices of the model. .
144
144
  """
145
145
 
146
- for i in range(len(class_count)):
146
+ for i in range(class_count):
147
147
 
148
148
  W[0][i,:] = normalization(W[0][i,:])
149
149
 
@@ -2,4 +2,4 @@
2
2
 
3
3
  # Bu dosya, plan modülünün ana giriş noktasıdır.
4
4
 
5
- from .plan_di import auto_balancer, normalization, Softmax, Sigmoid, Relu, weight_identification, fex, fit, evaluate, save_model, load_model, predict_model_ssd, predict_model_ram, get_weights, get_df, get_preds, get_acc, synthetic_augmentation, standard_scaler, multiple_evaluate, encode_one_hot, split, metrics, decode_one_hot, roc_curve, confusion_matrix, plot_evaluate, manuel_balancer, weight_post_process
5
+ from .plan_di import auto_balancer, normalization, Softmax, Sigmoid, Relu, weight_identification, fex, fit, evaluate, save_model, load_model, predict_model_ssd, predict_model_ram, get_weights, get_df, get_preds, get_acc, synthetic_augmentation, standard_scaler, multiple_evaluate, encode_one_hot, split, metrics, decode_one_hot, roc_curve, confusion_matrix, plot_evaluate, manuel_balancer, weight_normalization
@@ -128,12 +128,12 @@ def fit(
128
128
 
129
129
  # FUNCTIONS -----
130
130
 
131
- def weight_post_process(
131
+ def weight_normalization(
132
132
  W,
133
133
  class_count
134
134
  ) -> str:
135
135
  """
136
- Identifies the weights for a neural network model.
136
+ Row(Neuron) based normalization. For unbalanced models.
137
137
 
138
138
  Args:
139
139
  W (list(num)): Trained weight matrix list.
@@ -143,7 +143,7 @@ def weight_post_process(
143
143
  list([numpy_arrays],[...]): posttrained weight matices of the model. .
144
144
  """
145
145
 
146
- for i in range(len(class_count)):
146
+ for i in range(class_count):
147
147
 
148
148
  W[0][i,:] = normalization(W[0][i,:])
149
149
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyerualjetwork
3
- Version: 2.3.5
3
+ Version: 2.3.7
4
4
  Summary: Weights post process function added: [weight_post_process](optional after training before testing.), new function: manuel_balancer. And scaler_params added for scaled models.
5
5
  Author: Hasan Can Beydili
6
6
  Author-email: tchasancan@gmail.com
@@ -5,7 +5,7 @@ from setuptools import setup, find_packages
5
5
  setup(
6
6
 
7
7
  name = "pyerualjetwork",
8
- version = "2.3.5",
8
+ version = "2.3.7",
9
9
  author = "Hasan Can Beydili",
10
10
  author_email = "tchasancan@gmail.com",
11
11
  description= "Weights post process function added: [weight_post_process](optional after training before testing.), new function: manuel_balancer. And scaler_params added for scaled models.",
File without changes