pyerualjetwork 4.6.9b0__tar.gz → 4.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.
Files changed (29) hide show
  1. {pyerualjetwork-4.6.9b0 → pyerualjetwork-4.7}/PKG-INFO +1 -1
  2. {pyerualjetwork-4.6.9b0 → pyerualjetwork-4.7}/pyerualjetwork/__init__.py +1 -1
  3. {pyerualjetwork-4.6.9b0 → pyerualjetwork-4.7}/pyerualjetwork/model_operations_cuda.py +6 -2
  4. {pyerualjetwork-4.6.9b0 → pyerualjetwork-4.7}/pyerualjetwork.egg-info/PKG-INFO +1 -1
  5. {pyerualjetwork-4.6.9b0 → pyerualjetwork-4.7}/setup.py +1 -1
  6. {pyerualjetwork-4.6.9b0 → pyerualjetwork-4.7}/README.md +0 -0
  7. {pyerualjetwork-4.6.9b0 → pyerualjetwork-4.7}/pyerualjetwork/activation_functions.py +0 -0
  8. {pyerualjetwork-4.6.9b0 → pyerualjetwork-4.7}/pyerualjetwork/activation_functions_cuda.py +0 -0
  9. {pyerualjetwork-4.6.9b0 → pyerualjetwork-4.7}/pyerualjetwork/data_operations.py +0 -0
  10. {pyerualjetwork-4.6.9b0 → pyerualjetwork-4.7}/pyerualjetwork/data_operations_cuda.py +0 -0
  11. {pyerualjetwork-4.6.9b0 → pyerualjetwork-4.7}/pyerualjetwork/fitness_functions.py +0 -0
  12. {pyerualjetwork-4.6.9b0 → pyerualjetwork-4.7}/pyerualjetwork/help.py +0 -0
  13. {pyerualjetwork-4.6.9b0 → pyerualjetwork-4.7}/pyerualjetwork/loss_functions.py +0 -0
  14. {pyerualjetwork-4.6.9b0 → pyerualjetwork-4.7}/pyerualjetwork/loss_functions_cuda.py +0 -0
  15. {pyerualjetwork-4.6.9b0 → pyerualjetwork-4.7}/pyerualjetwork/memory_operations.py +0 -0
  16. {pyerualjetwork-4.6.9b0 → pyerualjetwork-4.7}/pyerualjetwork/metrics.py +0 -0
  17. {pyerualjetwork-4.6.9b0 → pyerualjetwork-4.7}/pyerualjetwork/metrics_cuda.py +0 -0
  18. {pyerualjetwork-4.6.9b0 → pyerualjetwork-4.7}/pyerualjetwork/model_operations.py +0 -0
  19. {pyerualjetwork-4.6.9b0 → pyerualjetwork-4.7}/pyerualjetwork/plan.py +0 -0
  20. {pyerualjetwork-4.6.9b0 → pyerualjetwork-4.7}/pyerualjetwork/plan_cuda.py +0 -0
  21. {pyerualjetwork-4.6.9b0 → pyerualjetwork-4.7}/pyerualjetwork/planeat.py +0 -0
  22. {pyerualjetwork-4.6.9b0 → pyerualjetwork-4.7}/pyerualjetwork/planeat_cuda.py +0 -0
  23. {pyerualjetwork-4.6.9b0 → pyerualjetwork-4.7}/pyerualjetwork/ui.py +0 -0
  24. {pyerualjetwork-4.6.9b0 → pyerualjetwork-4.7}/pyerualjetwork/visualizations.py +0 -0
  25. {pyerualjetwork-4.6.9b0 → pyerualjetwork-4.7}/pyerualjetwork/visualizations_cuda.py +0 -0
  26. {pyerualjetwork-4.6.9b0 → pyerualjetwork-4.7}/pyerualjetwork.egg-info/SOURCES.txt +0 -0
  27. {pyerualjetwork-4.6.9b0 → pyerualjetwork-4.7}/pyerualjetwork.egg-info/dependency_links.txt +0 -0
  28. {pyerualjetwork-4.6.9b0 → pyerualjetwork-4.7}/pyerualjetwork.egg-info/top_level.txt +0 -0
  29. {pyerualjetwork-4.6.9b0 → pyerualjetwork-4.7}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyerualjetwork
3
- Version: 4.6.9b0
3
+ Version: 4.7
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,4 +1,4 @@
1
- __version__ = "4.6.9b0"
1
+ __version__ = "4.7"
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
@@ -277,9 +277,9 @@ def load_model(model_name,
277
277
  else: allow_pickle = False
278
278
 
279
279
  if WeightType == 'txt':
280
- W = (cp.loadtxt(model_path + model_name + f'_weights.txt'))
280
+ W = (np.loadtxt(model_path + model_name + f'_weights.txt'))
281
281
  elif WeightType == 'npy':
282
- W = (cp.load(model_path + model_name + f'_weights.npy', allow_pickle=allow_pickle))
282
+ W = (np.load(model_path + model_name + f'_weights.npy', allow_pickle=allow_pickle))
283
283
  elif WeightType == 'mat':
284
284
  W = (sio.loadmat(model_path + model_name + f'_weights.mat'))
285
285
  elif WeightType == 'pkl':
@@ -293,6 +293,10 @@ def load_model(model_name,
293
293
  if WeightType == 'mat':
294
294
  W = W['w']
295
295
 
296
+ if model_type == 'MLP':
297
+ W = W.tolist()
298
+ W = [cp.array(item) for item in W]
299
+
296
300
  return W, None, None, activation_potentiation, scaler_params, None, model_type
297
301
 
298
302
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyerualjetwork
3
- Version: 4.6.9b0
3
+ Version: 4.7
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
@@ -6,7 +6,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
6
6
  # Setting Up
7
7
  setup(
8
8
  name="pyerualjetwork",
9
- version="4.6.9b0",
9
+ version="4.7",
10
10
  author="Hasan Can Beydili",
11
11
  author_email="tchasancan@gmail.com",
12
12
  description=(
File without changes
File without changes