randomclassifier 0.1.4__tar.gz → 0.1.5__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.

Potentially problematic release.


This version of randomclassifier might be problematic. Click here for more details.

Files changed (36) hide show
  1. {randomclassifier-0.1.4/src/randomclassifier.egg-info → randomclassifier-0.1.5}/PKG-INFO +1 -1
  2. {randomclassifier-0.1.4 → randomclassifier-0.1.5}/pyproject.toml +1 -1
  3. {randomclassifier-0.1.4 → randomclassifier-0.1.5}/src/dl_lab/__init__.py +1 -1
  4. {randomclassifier-0.1.4 → randomclassifier-0.1.5}/src/dl_lab/programs.py +4 -12
  5. {randomclassifier-0.1.4 → randomclassifier-0.1.5}/src/randomclassifier/__init__.py +1 -1
  6. {randomclassifier-0.1.4 → randomclassifier-0.1.5/src/randomclassifier.egg-info}/PKG-INFO +1 -1
  7. {randomclassifier-0.1.4 → randomclassifier-0.1.5}/MANIFEST.in +0 -0
  8. {randomclassifier-0.1.4 → randomclassifier-0.1.5}/README.md +0 -0
  9. {randomclassifier-0.1.4 → randomclassifier-0.1.5}/setup.cfg +0 -0
  10. {randomclassifier-0.1.4 → randomclassifier-0.1.5}/src/dl_lab/data.py +0 -0
  11. {randomclassifier-0.1.4 → randomclassifier-0.1.5}/src/dl_lab/datasets/autoencoder_demo.npz +0 -0
  12. {randomclassifier-0.1.4 → randomclassifier-0.1.5}/src/dl_lab/datasets/fraud_demo.csv +0 -0
  13. {randomclassifier-0.1.4 → randomclassifier-0.1.5}/src/dl_lab/datasets/freesound_community-speech-female_hpsmodel-85388.mp3 +0 -0
  14. {randomclassifier-0.1.4 → randomclassifier-0.1.5}/src/dl_lab/datasets/freesound_community-speech-female_hpsmodel-85388.wav +0 -0
  15. {randomclassifier-0.1.4 → randomclassifier-0.1.5}/src/dl_lab/datasets/images.jpg +0 -0
  16. {randomclassifier-0.1.4 → randomclassifier-0.1.5}/src/dl_lab/datasets/sample_image.jpg +0 -0
  17. {randomclassifier-0.1.4 → randomclassifier-0.1.5}/src/dl_lab/datasets/share_data.csv +0 -0
  18. {randomclassifier-0.1.4 → randomclassifier-0.1.5}/src/dl_lab/datasets/traffic_sample.jpg +0 -0
  19. {randomclassifier-0.1.4 → randomclassifier-0.1.5}/src/dl_lab/datasets/transactions.csv +0 -0
  20. {randomclassifier-0.1.4 → randomclassifier-0.1.5}/src/dl_lab/datasets/xor.csv +0 -0
  21. {randomclassifier-0.1.4 → randomclassifier-0.1.5}/src/randomclassifier/data.py +0 -0
  22. {randomclassifier-0.1.4 → randomclassifier-0.1.5}/src/randomclassifier/datasets/autoencoder_demo.npz +0 -0
  23. {randomclassifier-0.1.4 → randomclassifier-0.1.5}/src/randomclassifier/datasets/fraud_demo.csv +0 -0
  24. {randomclassifier-0.1.4 → randomclassifier-0.1.5}/src/randomclassifier/datasets/freesound_community-speech-female_hpsmodel-85388.mp3 +0 -0
  25. {randomclassifier-0.1.4 → randomclassifier-0.1.5}/src/randomclassifier/datasets/freesound_community-speech-female_hpsmodel-85388.wav +0 -0
  26. {randomclassifier-0.1.4 → randomclassifier-0.1.5}/src/randomclassifier/datasets/images.jpg +0 -0
  27. {randomclassifier-0.1.4 → randomclassifier-0.1.5}/src/randomclassifier/datasets/sample_image.jpg +0 -0
  28. {randomclassifier-0.1.4 → randomclassifier-0.1.5}/src/randomclassifier/datasets/share_data.csv +0 -0
  29. {randomclassifier-0.1.4 → randomclassifier-0.1.5}/src/randomclassifier/datasets/traffic_sample.jpg +0 -0
  30. {randomclassifier-0.1.4 → randomclassifier-0.1.5}/src/randomclassifier/datasets/transactions.csv +0 -0
  31. {randomclassifier-0.1.4 → randomclassifier-0.1.5}/src/randomclassifier/datasets/xor.csv +0 -0
  32. {randomclassifier-0.1.4 → randomclassifier-0.1.5}/src/randomclassifier/programs.py +0 -0
  33. {randomclassifier-0.1.4 → randomclassifier-0.1.5}/src/randomclassifier.egg-info/SOURCES.txt +0 -0
  34. {randomclassifier-0.1.4 → randomclassifier-0.1.5}/src/randomclassifier.egg-info/dependency_links.txt +0 -0
  35. {randomclassifier-0.1.4 → randomclassifier-0.1.5}/src/randomclassifier.egg-info/requires.txt +0 -0
  36. {randomclassifier-0.1.4 → randomclassifier-0.1.5}/src/randomclassifier.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: randomclassifier
3
- Version: 0.1.4
3
+ Version: 0.1.5
4
4
  Summary: Deep learning laboratory programs, datasets, and reusable classifiers
5
5
  Requires-Python: >=3.10
6
6
  Description-Content-Type: text/markdown
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "randomclassifier"
7
- version = "0.1.4"
7
+ version = "0.1.5"
8
8
  description = "Deep learning laboratory programs, datasets, and reusable classifiers"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -1,6 +1,6 @@
1
1
  """Reusable helpers for the Deep Learning Lab notebooks."""
2
2
 
3
- __version__ = "0.1.4"
3
+ __version__ = "0.1.5"
4
4
 
5
5
  from .programs import PROGRAM_TITLES, list_programs, program_menu, run_program, show_program
6
6
  from randomclassifier.data import datasets, dataset, save_dataset_for_program
@@ -15,7 +15,6 @@ PROGRAM_TITLES = {
15
15
  PROGRAMS_CODE = {
16
16
  1: '''from sklearn.neural_network import MLPClassifier
17
17
 
18
- # Input data (XOR)
19
18
  X = [[0, 0], [0, 1], [1, 0], [1, 1]]
20
19
  y = [0, 1, 1, 0]
21
20
 
@@ -76,9 +75,7 @@ plt.axis("off")
76
75
  plt.tight_layout()
77
76
  plt.show()''',
78
77
 
79
- 4: '''# Speech recognition from an audio file
80
- # Install once if needed: %pip install SpeechRecognition pydub
81
- import speech_recognition as sr
78
+ 4: '''import speech_recognition as sr
82
79
 
83
80
  audio_file = input("Enter the full path of a WAV/AIFF/FLAC audio file: ").strip().strip("\"")
84
81
  recognizer = sr.Recognizer()
@@ -97,9 +94,7 @@ except sr.RequestError as e:
97
94
  except Exception as e:
98
95
  print("Error:", e)''',
99
96
 
100
- 5: '''# Traffic object detection with YOLO
101
- # Install once if needed: %pip install ultralytics opencv-python pandas matplotlib
102
- import cv2
97
+ 5: '''import cv2
103
98
  import pandas as pd
104
99
  import matplotlib.pyplot as plt
105
100
  from pathlib import Path
@@ -185,8 +180,7 @@ print("Highest Risk Company:", highest["company"])
185
180
  print("Fraud Probability:", round(highest["fraud_prob"], 4))
186
181
  print("Status:", "Fraud" if highest["fraud_prob"] > 0.5 else "Legitimate")''',
187
182
 
188
- 7: '''# Install once if needed: %pip install scikit-learn scipy
189
- import numpy as np
183
+ 7: '''import numpy as np
190
184
  import matplotlib.pyplot as plt
191
185
  from scipy.special import expit
192
186
  from sklearn.datasets import load_digits
@@ -267,9 +261,7 @@ print("Training completed!")
267
261
  predict("good movie")
268
262
  predict("bad movie")''',
269
263
 
270
- 9: '''# Live speech recognition from the microphone
271
- # Install once if needed: %pip install SpeechRecognition PyAudio
272
- import speech_recognition as sr
264
+ 9: '''import speech_recognition as sr
273
265
 
274
266
  recognizer = sr.Recognizer()
275
267
  try:
@@ -6,7 +6,7 @@ from randomclassifier.data import (
6
6
  PROGRAM_FILES,
7
7
  )
8
8
 
9
- __version__ = "0.1.4"
9
+ __version__ = "0.1.5"
10
10
 
11
11
 
12
12
  def models():
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: randomclassifier
3
- Version: 0.1.4
3
+ Version: 0.1.5
4
4
  Summary: Deep learning laboratory programs, datasets, and reusable classifiers
5
5
  Requires-Python: >=3.10
6
6
  Description-Content-Type: text/markdown