pyerualjetwork 1.1.7__tar.gz → 1.1.9__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.
- {pyerualjetwork-1.1.7 → pyerualjetwork-1.1.9}/PKG-INFO +1 -1
- {pyerualjetwork-1.1.7 → pyerualjetwork-1.1.9}/plan/plan.py +0 -3
- {pyerualjetwork-1.1.7 → pyerualjetwork-1.1.9}/pyerualjetwork.egg-info/PKG-INFO +1 -1
- {pyerualjetwork-1.1.7 → pyerualjetwork-1.1.9}/setup.py +1 -1
- {pyerualjetwork-1.1.7 → pyerualjetwork-1.1.9}/plan/__init__.py +0 -0
- {pyerualjetwork-1.1.7 → pyerualjetwork-1.1.9}/pyerualjetwork.egg-info/SOURCES.txt +0 -0
- {pyerualjetwork-1.1.7 → pyerualjetwork-1.1.9}/pyerualjetwork.egg-info/dependency_links.txt +0 -0
- {pyerualjetwork-1.1.7 → pyerualjetwork-1.1.9}/pyerualjetwork.egg-info/top_level.txt +0 -0
- {pyerualjetwork-1.1.7 → pyerualjetwork-1.1.9}/setup.cfg +0 -0
@@ -142,7 +142,6 @@ def TrainPLAN(
|
|
142
142
|
print(Fore.GREEN + "Train Started with 0 ERROR" + Style.RESET_ALL,)
|
143
143
|
TrainPredictions = [1] * len(Labels)
|
144
144
|
true = 0
|
145
|
-
Inputs, Labels = AutoBalancer(Inputs, Labels, ClassCount)
|
146
145
|
StartTime = time.time()
|
147
146
|
for index, inp in enumerate(Inputs):
|
148
147
|
UniStartTime = time.time()
|
@@ -1029,7 +1028,6 @@ def AutoBalancer(TrainInputs, TrainLabels, ClassCount):
|
|
1029
1028
|
|
1030
1029
|
if len(set(ClassCounts)) == 1:
|
1031
1030
|
print(Fore.WHITE + "INFO: All training data have already balanced. from: AutoBalancer" + Style.RESET_ALL)
|
1032
|
-
time.sleep(1.5)
|
1033
1031
|
return TrainInputs, TrainLabels
|
1034
1032
|
|
1035
1033
|
MinCount = min(ClassCounts)
|
@@ -1046,7 +1044,6 @@ def AutoBalancer(TrainInputs, TrainLabels, ClassCount):
|
|
1046
1044
|
BalancedLabels = [TrainLabels[idx] for idx in BalancedIndices]
|
1047
1045
|
|
1048
1046
|
print(Fore.GREEN + "All Training Data Succesfully Balanced from: " + str(len(TrainInputs)) + " to: " + str(len(BalancedInputs)) + ". from: AutoBalancer " + Style.RESET_ALL)
|
1049
|
-
time.sleep(1.5)
|
1050
1047
|
except:
|
1051
1048
|
print(Fore.RED + "ERROR: Inputs and labels must be same length check parameters" + infoAutoBalancer)
|
1052
1049
|
return 'e'
|
@@ -5,7 +5,7 @@ from setuptools import setup, find_packages
|
|
5
5
|
setup(
|
6
6
|
|
7
7
|
name = "pyerualjetwork",
|
8
|
-
version = "1.1.
|
8
|
+
version = "1.1.9",
|
9
9
|
author = "Hasan Can Beydili",
|
10
10
|
author_email = "tchasancan@gmail.com",
|
11
11
|
description= "Advanced python deep learning library.(More document coming soon..)",
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|