pyerualjetwork 3.3.4__py3-none-any.whl → 4.0.0__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.
- pyerualjetwork/__init__.py +13 -3
- pyerualjetwork/planeat.py +3 -3
- {pyerualjetwork-3.3.4.dist-info → pyerualjetwork-4.0.0.dist-info}/METADATA +11 -17
- {pyerualjetwork-3.3.4.dist-info → pyerualjetwork-4.0.0.dist-info}/RECORD +6 -6
- {pyerualjetwork-3.3.4.dist-info → pyerualjetwork-4.0.0.dist-info}/WHEEL +0 -0
- {pyerualjetwork-3.3.4.dist-info → pyerualjetwork-4.0.0.dist-info}/top_level.txt +0 -0
pyerualjetwork/__init__.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
# pyerualjetwork/__init__.py
|
2
1
|
|
3
2
|
import subprocess
|
4
3
|
import pkg_resources
|
4
|
+
from datetime import datetime
|
5
5
|
|
6
6
|
print("Auto checking and installation dependencies for PyerualJetwork")
|
7
7
|
|
@@ -46,8 +46,18 @@ for package_name in package_names:
|
|
46
46
|
|
47
47
|
print(f"PyerualJetwork is ready to use with {err} errors")
|
48
48
|
|
49
|
-
|
50
|
-
|
49
|
+
target_date = datetime(2025, 1, 10, 0, 0, 0)
|
50
|
+
|
51
|
+
now = datetime.now()
|
52
|
+
|
53
|
+
remaining_time = target_date - now
|
54
|
+
|
55
|
+
days, seconds = divmod(remaining_time.total_seconds(), 86400)
|
56
|
+
hours, seconds = divmod(seconds, 3600)
|
57
|
+
minutes, seconds = divmod(seconds, 60)
|
58
|
+
|
59
|
+
__version__ = "4.0.0"
|
60
|
+
__update__ = f"\033[33m --- IMPORTANT NOTE! --- \n pyerualjetwork==4.0.0 inludes anaplan==2.6.1. Name changed. Full support starting January 10, 2025. TIME REMAINING TO FULL SUPPORT: {int(days)} days, {int(hours):02} hours, {int(minutes):02} minutes, {int(seconds):02} seconds\033[0m\n* Changes: https://github.com/HCB06/Anaplan/blob/main/CHANGES\n* Anaplan document: https://github.com/HCB06/Anaplan/blob/main/Anaplan/ANAPLAN_USER_MANUEL_AND_LEGAL_INFORMATION(EN).pdf.\n* YouTube tutorials: https://www.youtube.com/@HasanCanBeydili"
|
51
61
|
|
52
62
|
def print_version(__version__):
|
53
63
|
print(f"PyerualJetwork Version {__version__}" + '\n')
|
pyerualjetwork/planeat.py
CHANGED
@@ -67,7 +67,7 @@ def define_genomes(input_shape, output_shape, population_size):
|
|
67
67
|
return np.array(population_weights), population_activations
|
68
68
|
|
69
69
|
|
70
|
-
def evolve(weights, activation_potentiations, what_gen, y_reward, show_info=False, strategy='cross_over', policy='normal_selective', mutations=True, bad_genoms_mutation_prob=None, activation_mutate_prob=0.5, save_best_genom=True, cross_over_mode='tpm', activation_add_prob=0.5, activation_delete_prob=0.5, activation_change_prob=0.5, weight_mutate_prob=1, weight_mutate_rate=32, activation_selection_add_prob=0.
|
70
|
+
def evolve(weights, activation_potentiations, what_gen, y_reward, show_info=False, strategy='cross_over', policy='normal_selective', mutations=True, bad_genoms_mutation_prob=None, activation_mutate_prob=0.5, save_best_genom=True, cross_over_mode='tpm', activation_add_prob=0.5, activation_delete_prob=0.5, activation_change_prob=0.5, weight_mutate_prob=1, weight_mutate_rate=32, activation_selection_add_prob=0.7, activation_selection_change_prob=0.5, activation_selection_rate=2):
|
71
71
|
"""
|
72
72
|
Applies the evolving process of a population of genomes using selection, crossover, mutation, and activation function potentiation.
|
73
73
|
The function modifies the population's weights and activation functions based on a specified policy, mutation probabilities, and strategy.
|
@@ -137,7 +137,7 @@ Args:
|
|
137
137
|
WARNING: if you don't understand do NOT change this value. Default is 32.
|
138
138
|
|
139
139
|
activation_selection_add_prob (float, optional): The probability of adding an existing activation function for cross over.
|
140
|
-
from the genome. Must be in the range [0, 1]. Default is 0.
|
140
|
+
from the genome. Must be in the range [0, 1]. Default is 0.7.
|
141
141
|
|
142
142
|
activation_selection_change_prob (float, optional): The probability of changing an activation function in the genome for cross over.
|
143
143
|
Must be in the range [0, 1]. Default is 0.5.
|
@@ -219,7 +219,7 @@ Example:
|
|
219
219
|
slice_center = int(len(y_reward) / 2)
|
220
220
|
|
221
221
|
else:
|
222
|
-
raise ValueError("
|
222
|
+
raise ValueError("genome population size must be even number. for example: not 99, make 100 or 98.")
|
223
223
|
|
224
224
|
sort_indices = np.argsort(y_reward)
|
225
225
|
|
@@ -1,25 +1,19 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pyerualjetwork
|
3
|
-
Version:
|
4
|
-
Summary:
|
3
|
+
Version: 4.0.0
|
4
|
+
Summary: PyerualJetwork is a machine learning library written in Python for professionals, incorporating advanced, unique, new, and modern techniques.
|
5
5
|
Author: Hasan Can Beydili
|
6
6
|
Author-email: tchasancan@gmail.com
|
7
7
|
Keywords: model evaluation,classification,potentiation learning artificial neural networks,NEAT,genetic algorithms,reinforcement learning,neural networks
|
8
8
|
Description-Content-Type: text/markdown
|
9
9
|
|
10
|
-
# PyerualJetwork [](https://socket.dev/pypi/package/anaplan/overview/2.5.0/tar-gz) [](https://www.codefactor.io/repository/github/hcb06/anaplan) [](https://pepy.tech/projects/anaplan) + [](https://pepy.tech/projects/pyerualjetwork) [](https://pepy.tech/projects/anaplan) [](https://pepy.tech/projects/anaplan) [](https://pypi.org/project/pyerualjetwork/)
|
11
11
|
|
12
|
-
Note: anaplan
|
13
|
-
|
14
|
-
The first version of PyerualJetwork was released on May 22, 2024, and its latest version was released on August 22, 2024, and no further versions will be released. Anaplan launched its first version on August 30, 2024, as a continuation of PyerualJetwork. Only the name has been changed.
|
15
|
-
|
16
|
-
IMPORTAT CHANGE!
|
17
|
-
|
18
|
-
I recently updated the name of the library I published as "pyerualjetwork" to "anaplan." However, due to copyright issues and branding concerns, I have decided to revert to the original name, "pyerualjetwork." From now on, you can access the library by installing version pyerualjetwork(3.3.4) using the command pip install pyerualjetwork, replacing the current "anaplan(2.5.3)" modules.
|
12
|
+
Note: This library will support the name 'anaplan' until January 10, 2025. However, starting from January 10, 2025, it will begin supporting the name 'pyerualjetwork.' Instead of using pip install anaplan, you will need to use 'pip install pyerualjetwork' and then 'from pyerualjetwork import anaplan_module'. The name 'anaplan' will no longer be in use.
|
13
|
+
REASON: https://github.com/HCB06/Anaplan/blob/main/CHANGES
|
19
14
|
|
20
15
|
https://libraries.io/pypi/pyerualjetwork
|
21
16
|
|
22
|
-
https://libraries.io/pypi/anaplan (end of support)
|
23
17
|
|
24
18
|
pip install pyerualjetwork
|
25
19
|
|
@@ -28,7 +22,7 @@ https://libraries.io/pypi/anaplan (end of support)
|
|
28
22
|
from pyerualjetwork import data_operations
|
29
23
|
from pyerualjetwork import model_operations
|
30
24
|
|
31
|
-
Optimized for Visual Studio Code
|
25
|
+
Optimized for Visual Studio Code
|
32
26
|
|
33
27
|
requires=[
|
34
28
|
'setuptools==75.6.0'
|
@@ -56,9 +50,9 @@ PyerualJetwork is free to use for commercial business and individual users. Pyer
|
|
56
50
|
As of 12/21/2024, the library includes PLAN and PLANEAT module, but other machine learning modules are expected to be added in the future.
|
57
51
|
<br><br>
|
58
52
|
|
59
|
-
|
53
|
+
PyerualJetworket includes Plan Vision, NLPlan, PLANEAT and at the between of both, Deep Plan.<br>
|
60
54
|
|
61
|
-
<br><br><br>
|
62
56
|
|
63
57
|
PLAN VISION:<br>
|
64
58
|
|
@@ -89,8 +83,8 @@ You can create artificial intelligence models that perform reinforcement learnin
|
|
89
83
|
|
90
84
|
HOW DO I IMPORT IT TO MY PROJECT?
|
91
85
|
|
92
|
-
Anaconda users can access the 'Anaconda Prompt' terminal from the Start menu and add the necessary library modules to the Python module search queue by typing "pip install
|
93
|
-
|
86
|
+
Anaconda users can access the 'Anaconda Prompt' terminal from the Start menu and add the necessary library modules to the Python module search queue by typing "pip install pyerualjetwork" and pressing enter. If you are not using Anaconda, you can simply open the 'cmd' Windows command terminal from the Start menu and type "pip install PyerualJetwork". (Visual Studio Code reccomended) After installation, it's important to periodically open the terminal of the environment you are using and stay up to date by using the command "pip install PyerualJetwork --upgrade".
|
87
|
+
|
94
88
|
After installing the module using "pip" you can now call the library module in your project environment. Use: “from pyerualjetwork import plan”. Now, you can call the necessary functions from the plan module.
|
95
89
|
|
96
|
-
The PLAN algorithm will not be explained in this document. This document focuses on how professionals can integrate and use PyerualJetwork in their systems. However, briefly, the PLAN algorithm can be described as a classification algorithm. PLAN algorithm achieves this task with an incredibly energy-efficient, fast, and hyperparameter-free user-friendly approach. For more detailed information, you can check out .pdf) file.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
pyerualjetwork/__init__.py,sha256=
|
1
|
+
pyerualjetwork/__init__.py,sha256=vTHUnMi8HRbKs_rQEDajOTcQiDqtaUVcj2g3y3YKAO8,2846
|
2
2
|
pyerualjetwork/activation_functions.py,sha256=iJpdsX8FqZ3lB3x-YG7d9-em8xHD0y1ciJLNWmI7Y6A,9941
|
3
3
|
pyerualjetwork/data_operations.py,sha256=mph66_qGQHxhg_gQtTuOzP2PjTwJsxTGzmRmvrzlQn4,12747
|
4
4
|
pyerualjetwork/help.py,sha256=5Du_Cja5iPvGeVS9dAoehKTJmRgb_7c6Qsn7Cy2ZfTs,823
|
@@ -6,10 +6,10 @@ pyerualjetwork/loss_functions.py,sha256=6PyBI232SQRGuFnG3LDGvnv_PUdWzT2_2mUODJie
|
|
6
6
|
pyerualjetwork/metrics.py,sha256=q7MkhnZDRbCjFBDDfUgrl8lBYnUT_1ro1LxeBq105pI,6077
|
7
7
|
pyerualjetwork/model_operations.py,sha256=f_k_wdPAYXVmzH01kQ2UTbcYO89DaU6_8UbK-XSX-z8,10492
|
8
8
|
pyerualjetwork/plan.py,sha256=R8e8-S5F9eQOb9YZA6VQ9BCu94gJXMfn_nKkl4ZNpQE,31848
|
9
|
-
pyerualjetwork/planeat.py,sha256=
|
9
|
+
pyerualjetwork/planeat.py,sha256=3l4c-sMqTY6mQvW9u2OarcccUYcMxqASQXgx1GjNZSA,38061
|
10
10
|
pyerualjetwork/ui.py,sha256=wu2BhU1k-w3Kcho5Jtq4SEKe68ftaUeRGneUOSCVDjU,575
|
11
11
|
pyerualjetwork/visualizations.py,sha256=DvbiQGlvlKNAgBJ3O3ukAi6uxSheha9SRFh5YX7ZxIA,26678
|
12
|
-
pyerualjetwork-
|
13
|
-
pyerualjetwork-
|
14
|
-
pyerualjetwork-
|
15
|
-
pyerualjetwork-
|
12
|
+
pyerualjetwork-4.0.0.dist-info/METADATA,sha256=5JzOCtHCqNLV5_TT9Pp8Ld1fZYT-Qys0vIfYWNXq1n8,6430
|
13
|
+
pyerualjetwork-4.0.0.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
14
|
+
pyerualjetwork-4.0.0.dist-info/top_level.txt,sha256=BRyt62U_r3ZmJpj-wXNOoA345Bzamrj6RbaWsyW4tRg,15
|
15
|
+
pyerualjetwork-4.0.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|