pyerualjetwork 4.6.8__py3-none-any.whl → 4.6.9__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.
@@ -1,4 +1,4 @@
1
- __version__ = "4.6.8"
1
+ __version__ = "4.6.9"
2
2
  __update__ = """* Changes: https://github.com/HCB06/PyerualJetwork/blob/main/CHANGES
3
3
  * PyerualJetwork Homepage: https://github.com/HCB06/PyerualJetwork/tree/main
4
4
  * PyerualJetwork document: https://github.com/HCB06/PyerualJetwork/blob/main/Welcome_to_PyerualJetwork/PYERUALJETWORK_USER_MANUEL_AND_LEGAL_INFORMATION(EN).pdf
@@ -421,7 +421,7 @@ def normalization(
421
421
 
422
422
  def non_neg_normalization(
423
423
  Input,
424
- dtype=np.float32
424
+ dtype=cp.float32
425
425
  ):
426
426
  """
427
427
  Normalizes the input data [0-1] range.
@@ -431,6 +431,10 @@ def non_neg_normalization(
431
431
  Returns:
432
432
  (cupy) Scaled input data after normalization.
433
433
  """
434
+
435
+ if isinstance(Input, np.ndarray):
436
+ Input = cp.array(Input, dtype=dtype)
437
+
434
438
  Input = Input.astype(dtype, copy=False)
435
439
  MaxAbs = cp.max(cp.abs(Input))
436
440
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyerualjetwork
3
- Version: 4.6.8
3
+ Version: 4.6.9
4
4
  Summary: PyerualJetwork is a machine learning library supported with GPU(CUDA) acceleration written in Python for professionals and researchers including with PLAN algorithm, PLANEAT algorithm (genetic optimization). Also includes data pre-process and memory manegament
5
5
  Author: Hasan Can Beydili
6
6
  Author-email: tchasancan@gmail.com
@@ -1,8 +1,8 @@
1
- pyerualjetwork/__init__.py,sha256=c09JK_8RrB0Y82QOyzuVwS3OkNQz6SzjMfzbwcLtjkc,1279
1
+ pyerualjetwork/__init__.py,sha256=dHKy0qs8k0WJK90YYsm9b-cMzeHViFH3rpY8M7TYh2g,1279
2
2
  pyerualjetwork/activation_functions.py,sha256=0fNOHXd490HC6gadKwb0AuBjw34dWq3GRZkg5iWO27c,7621
3
3
  pyerualjetwork/activation_functions_cuda.py,sha256=X5-dtYBkGp35kyL21eLR7mbYUdttxElu-WqXmwmkV9E,7672
4
4
  pyerualjetwork/data_operations.py,sha256=XKYG9-mLa3qKAXUjejuD7V8aJKjpl5PdQwKzPFjpKgs,15437
5
- pyerualjetwork/data_operations_cuda.py,sha256=zqiHXDRtC8qDlVlN6lLoZn9uQgkm40aKFfFjWjurCxQ,17538
5
+ pyerualjetwork/data_operations_cuda.py,sha256=REvZxtxcKmQNy2wekkbUOVi2Fg1VV9tomi2_ykXWXsM,17627
6
6
  pyerualjetwork/fitness_functions.py,sha256=urRdeMvUhNgWxD4ZGHCRdQlIf9cTWYMvF3_aVBojRqY,1235
7
7
  pyerualjetwork/help.py,sha256=nQ_YbYA2RtuafhuvkreNpX0WWL1I_nzlelwCtvei0_Y,775
8
8
  pyerualjetwork/loss_functions.py,sha256=6PyBI232SQRGuFnG3LDGvnv_PUdWzT2_2mUODJiejGI,618
@@ -19,7 +19,7 @@ pyerualjetwork/planeat_cuda.py,sha256=Yrf9DDLN1gHXQE8-ZKnWOWShu0Yxt4WX1ued0m6d10
19
19
  pyerualjetwork/ui.py,sha256=JBTFYz5R24XwNKhA3GSW-oYAoiIBxAE3kFGXkvm5gqw,656
20
20
  pyerualjetwork/visualizations.py,sha256=utnX9zQhzmtvBJLOLNGm2jecVVk4zHXABQdjb0XzJac,28352
21
21
  pyerualjetwork/visualizations_cuda.py,sha256=gnoaaazZ-nc9E1ImqXrZBRgQ4Rnpi2qh2yGJ2eLKMlE,28807
22
- pyerualjetwork-4.6.8.dist-info/METADATA,sha256=aaVuzlomXfh_qnUUZWhga_sjvjdZVSxSUw3KAI_suUE,7505
23
- pyerualjetwork-4.6.8.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
24
- pyerualjetwork-4.6.8.dist-info/top_level.txt,sha256=BRyt62U_r3ZmJpj-wXNOoA345Bzamrj6RbaWsyW4tRg,15
25
- pyerualjetwork-4.6.8.dist-info/RECORD,,
22
+ pyerualjetwork-4.6.9.dist-info/METADATA,sha256=rbHWRN5oXx_j3qL6f4Y57AJTNeU0sAZPGIgo3cpPJlg,7505
23
+ pyerualjetwork-4.6.9.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
24
+ pyerualjetwork-4.6.9.dist-info/top_level.txt,sha256=BRyt62U_r3ZmJpj-wXNOoA345Bzamrj6RbaWsyW4tRg,15
25
+ pyerualjetwork-4.6.9.dist-info/RECORD,,