pyerualjetwork 4.6.4__py3-none-any.whl → 4.6.6__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 +1 -1
- pyerualjetwork/planeat.py +6 -6
- pyerualjetwork/planeat_cuda.py +4 -4
- {pyerualjetwork-4.6.4.dist-info → pyerualjetwork-4.6.6.dist-info}/METADATA +1 -1
- {pyerualjetwork-4.6.4.dist-info → pyerualjetwork-4.6.6.dist-info}/RECORD +7 -7
- {pyerualjetwork-4.6.4.dist-info → pyerualjetwork-4.6.6.dist-info}/WHEEL +0 -0
- {pyerualjetwork-4.6.4.dist-info → pyerualjetwork-4.6.6.dist-info}/top_level.txt +0 -0
pyerualjetwork/__init__.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
__version__ = "4.6.
|
1
|
+
__version__ = "4.6.6"
|
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
|
pyerualjetwork/planeat.py
CHANGED
@@ -17,9 +17,9 @@ import random
|
|
17
17
|
import math
|
18
18
|
|
19
19
|
### LIBRARY IMPORTS ###
|
20
|
-
from data_operations import normalization, non_neg_normalization
|
21
|
-
from ui import loading_bars, initialize_loading_bar
|
22
|
-
from activation_functions import apply_activation, all_activations
|
20
|
+
from .data_operations import normalization, non_neg_normalization
|
21
|
+
from .ui import loading_bars, initialize_loading_bar
|
22
|
+
from .activation_functions import apply_activation, all_activations
|
23
23
|
|
24
24
|
def define_genomes(input_shape, output_shape, population_size, hidden=0, neurons=None, activation_functions=None, dtype=np.float32):
|
25
25
|
"""
|
@@ -121,7 +121,7 @@ def evolver(weights,
|
|
121
121
|
bar_status=True,
|
122
122
|
strategy='normal_selective',
|
123
123
|
bad_genomes_mutation_prob=None,
|
124
|
-
fitness_bias=1,
|
124
|
+
fitness_bias=1,
|
125
125
|
cross_over_mode='tpm',
|
126
126
|
activation_mutate_add_prob=0.5,
|
127
127
|
activation_mutate_delete_prob=0.5,
|
@@ -129,7 +129,7 @@ def evolver(weights,
|
|
129
129
|
activation_selection_add_prob=0.5,
|
130
130
|
activation_selection_change_prob=0.5,
|
131
131
|
activation_selection_threshold=20,
|
132
|
-
activation_mutate_prob=
|
132
|
+
activation_mutate_prob=0.5,
|
133
133
|
activation_mutate_threshold=20,
|
134
134
|
weight_mutate_threshold=16,
|
135
135
|
weight_mutate_prob=1,
|
@@ -190,7 +190,7 @@ def evolver(weights,
|
|
190
190
|
bad_genomes_selection_prob (float, optional): The probability of crossover parents are bad genomes ? [0-1] Default: Determined by `policy`.
|
191
191
|
|
192
192
|
activation_mutate_prob (float, optional): The probability of applying mutation to the activation functions.
|
193
|
-
Must be in the range [0, 1]. Default is
|
193
|
+
Must be in the range [0, 1]. Default is 0.5 (%50).
|
194
194
|
|
195
195
|
cross_over_mode (str, optional): Specifies the crossover method to use. Options:
|
196
196
|
- 'tpm': Two-Point Matrix Crossover.
|
pyerualjetwork/planeat_cuda.py
CHANGED
@@ -19,9 +19,9 @@ import math
|
|
19
19
|
|
20
20
|
|
21
21
|
### LIBRARY IMPORTS ###
|
22
|
-
from data_operations_cuda import normalization, non_neg_normalization
|
23
|
-
from ui import loading_bars, initialize_loading_bar
|
24
|
-
from activation_functions_cuda import apply_activation, all_activations
|
22
|
+
from .data_operations_cuda import normalization, non_neg_normalization
|
23
|
+
from .ui import loading_bars, initialize_loading_bar
|
24
|
+
from .activation_functions_cuda import apply_activation, all_activations
|
25
25
|
|
26
26
|
def define_genomes(input_shape, output_shape, population_size, hidden=0, neurons=None, activation_functions=None, dtype=cp.float32):
|
27
27
|
"""
|
@@ -129,7 +129,7 @@ def evolver(weights,
|
|
129
129
|
activation_selection_add_prob=0.5,
|
130
130
|
activation_selection_change_prob=0.5,
|
131
131
|
activation_selection_threshold=20,
|
132
|
-
activation_mutate_prob=
|
132
|
+
activation_mutate_prob=0.5,
|
133
133
|
activation_mutate_threshold=20,
|
134
134
|
weight_mutate_threshold=16,
|
135
135
|
weight_mutate_prob=1,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pyerualjetwork
|
3
|
-
Version: 4.6.
|
3
|
+
Version: 4.6.6
|
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
|
-
pyerualjetwork/__init__.py,sha256=
|
1
|
+
pyerualjetwork/__init__.py,sha256=uKOppTDMmBVI819Q_jQUWyvm_UZH3QzdKF3q9SCfXU0,1279
|
2
2
|
pyerualjetwork/activation_functions.py,sha256=Ms0AGBqkJuCA42ht64MSQnO54Td_1eDGquedpoBDVbc,7642
|
3
3
|
pyerualjetwork/activation_functions_cuda.py,sha256=5y1Ti3GDfDteQDCUmODwe7tAyDAUlDTKmIikChQ8d6g,7772
|
4
4
|
pyerualjetwork/data_operations.py,sha256=Y_RdxkjLEszFgeo4VDWIX1keF2syP-88KesLXA5sRyY,15280
|
@@ -14,12 +14,12 @@ pyerualjetwork/model_operations.py,sha256=fr64XCwgl1YRh5nP3sEkvQORKHb-2lF_a4Kjcl
|
|
14
14
|
pyerualjetwork/model_operations_cuda.py,sha256=-Kv8fYqHSU0L9FalOsQ7EWCwCEwjgUySObyueOqCH_o,16134
|
15
15
|
pyerualjetwork/plan.py,sha256=UyIvPmvHCHwczlc9KHolE4y6CPEeBfhnRN5yznSbnoM,23028
|
16
16
|
pyerualjetwork/plan_cuda.py,sha256=iteqgv7x9Z2Pj4vGOZs6HXS3r0bNaF_smr7ZXaOdRnw,23990
|
17
|
-
pyerualjetwork/planeat.py,sha256=
|
18
|
-
pyerualjetwork/planeat_cuda.py,sha256=
|
17
|
+
pyerualjetwork/planeat.py,sha256=prbkUIrD37Y_b7MmTuGg4rGHXfqHIjLFMbs7TnnEy9E,44645
|
18
|
+
pyerualjetwork/planeat_cuda.py,sha256=i6WDHkUEAMK7IHNBilM29xyYWq2qvPNpF9idcAkC1EU,44650
|
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.
|
23
|
-
pyerualjetwork-4.6.
|
24
|
-
pyerualjetwork-4.6.
|
25
|
-
pyerualjetwork-4.6.
|
22
|
+
pyerualjetwork-4.6.6.dist-info/METADATA,sha256=nrasvgqmd7Tb2-NEqbkmaS4FWNIaHmyttYaLLzKm0_Q,7505
|
23
|
+
pyerualjetwork-4.6.6.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
24
|
+
pyerualjetwork-4.6.6.dist-info/top_level.txt,sha256=BRyt62U_r3ZmJpj-wXNOoA345Bzamrj6RbaWsyW4tRg,15
|
25
|
+
pyerualjetwork-4.6.6.dist-info/RECORD,,
|
File without changes
|
File without changes
|