pyerualjetwork 1.3.7__py3-none-any.whl → 1.3.8__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.
plan/plan.py CHANGED
@@ -712,13 +712,29 @@ def TestPLAN(
712
712
  print(Fore.MAGENTA + '\nTotal Test accuracy: ' ,acc, '\n' + Style.RESET_ALL)
713
713
 
714
714
  elif acc <= 0.6:
715
- print(Fore.RED+ '\nTotal Test accuracy: ' ,acc, '\n' + Style.RESET_ALL)
715
+ print(Fore.RED+ '\nTotal Test accuracy: ' ,acc, '\n' + Style.RESET_ALL)
716
+
717
+
718
+ y_testVisual = np.copy(y_test)
719
+ y_testVisual = np.argmax(y_testVisual, axis=1)
720
+
721
+ plt.figure(figsize=(12, 6))
722
+ sns.kdeplot(y_testVisual, label='Real Outputs', fill=True)
723
+ sns.kdeplot(TestPredictions, label='Predictions', fill=True)
724
+ plt.legend()
725
+ plt.xlabel('Class')
726
+ plt.ylabel('Data size')
727
+ plt.title('Predictions and Real Outputs for Testing KDE Plot')
728
+ plt.show()
729
+
716
730
 
717
731
  except:
718
732
 
719
733
  print(Fore.RED + "ERROR: Testing model parameters like 'layers' 'MembranCounts' must be same as trained model. Check parameters. Are you sure weights are loaded ? from: TestPLAN" + infoTestModel + Style.RESET_ALL)
720
734
  return 'e'
721
735
 
736
+
737
+
722
738
  return W,TestPredictions,acc
723
739
 
724
740
  def SavePLAN(model_name,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyerualjetwork
3
- Version: 1.3.7
3
+ Version: 1.3.8
4
4
  Summary: Advanced python deep learning library. MASSIVE Technic Update, unlocked class limits. (Documentation in desc. Examples in GİTHUB: https://github.com/HCB06/PyerualJetwork)
5
5
  Author: Hasan Can Beydili
6
6
  Author-email: tchasancan@gmail.com
@@ -0,0 +1,6 @@
1
+ plan/__init__.py,sha256=LQbg-AnTUz7KA1E77-mg7X-zRM-7IiK7c3zK-j063rc,375
2
+ plan/plan.py,sha256=y8wVs2cA8G_XdTVCdYsTPmZYsJ2xu68L8uU-bbfkmu4,45348
3
+ pyerualjetwork-1.3.8.dist-info/METADATA,sha256=iNBBKRs72NOtRCe0dDT08Swkg08iwJ0-f1Uyf8gHcro,393
4
+ pyerualjetwork-1.3.8.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
5
+ pyerualjetwork-1.3.8.dist-info/top_level.txt,sha256=G0Al3HuNJ88434XneyDtRKAIUaLCizOFYFYNhd7e2OM,5
6
+ pyerualjetwork-1.3.8.dist-info/RECORD,,
@@ -1,6 +0,0 @@
1
- plan/__init__.py,sha256=LQbg-AnTUz7KA1E77-mg7X-zRM-7IiK7c3zK-j063rc,375
2
- plan/plan.py,sha256=7E8SRs8CEz6P29SM-G1VDypebXG-5oeMI2V8h0tepyU,44862
3
- pyerualjetwork-1.3.7.dist-info/METADATA,sha256=1Apa30bZ6idAW9qxHzSnaJAkNDJB0ADs8f3z-cfDYq0,393
4
- pyerualjetwork-1.3.7.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
5
- pyerualjetwork-1.3.7.dist-info/top_level.txt,sha256=G0Al3HuNJ88434XneyDtRKAIUaLCizOFYFYNhd7e2OM,5
6
- pyerualjetwork-1.3.7.dist-info/RECORD,,