Skip to main content

Extended plotting and ML utilities library

Project description

Sohail ML Suite

A comprehensive Machine Learning library containing implementations from university coursework covering:

  • Reinforcement Learning (RL) - Monte Carlo, TD Learning, Policy/Value Iteration
  • Artificial Neural Networks (ANN) - Deep Learning implementations
  • Speech Processing (SP) - Audio signal processing and analysis

Installation

Option 1: Install Only What You Need (Recommended)

# For Reinforcement Learning only (installs numpy, matplotlib, gymnasium)
pip install -e .[rl]

# For Artificial Neural Networks only (installs numpy, matplotlib, + ANN deps)
pip install -e .[ann]

# For Speech Processing only (installs numpy, matplotlib, + Speech deps)
pip install -e .[speech]

# Install everything (all modules)
pip install -e .[all]

Option 2: Minimal Installation (Only numpy)

# Just the base package with numpy
pip install -e .

Quick Start

Reinforcement Learning

from sohail_mlsuite.rl import policy_iteration
import gymnasium as gym

env = gym.make('FrozenLake-v1')
policy, V, iterations = policy_iteration(env, gamma=0.9)
print(f"Converged in {iterations} iterations")

Artificial Neural Networks

# Coming soon

Speech Processing

# Coming soon

Modules

1. Reinforcement Learning (rl)

  • Environments: GridWorld, FrozenLake, Taxi
  • Algorithms: Monte Carlo, TD(0), Policy Iteration, Value Iteration
  • Visualization: Convergence plots, policy visualization

2. Artificial Neural Networks (ann)

  • Coming soon

3. Speech Processing (speech)

  • Coming soon

Requirements

  • Python >= 3.7
  • NumPy >= 1.21.0
  • Matplotlib >= 3.4.0
  • Gymnasium >= 0.28.0 (for RL module)

License

MIT License - Educational purposes

Author

Sohail - University Coursework 2025

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

matplotlab-0.1.0.tar.gz (52.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

matplotlab-0.1.0-py3-none-any.whl (62.6 kB view details)

Uploaded Python 3

File details

Details for the file matplotlab-0.1.0.tar.gz.

File metadata

  • Download URL: matplotlab-0.1.0.tar.gz
  • Upload date:
  • Size: 52.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for matplotlab-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c24cb72826d26b5883e7f33f3f1ea883710f9190c8663b0c324e37877070d369
MD5 af38e15c895577f3286b0318aa73a154
BLAKE2b-256 6520bb9e6c1f99476410f44be35b13604488dbcca6ab1226c4a2e20e644ea6bb

See more details on using hashes here.

File details

Details for the file matplotlab-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: matplotlab-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 62.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for matplotlab-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4659f0c745162de3ba93723c9c79d4b542a4ae69af5bb89adaf7e7e2788733bc
MD5 4bac7ccdadda2b21d73c3ced8010e692
BLAKE2b-256 5625be9bf0b25b759d77bfb16e658e0a0c2c211444475348eef611e5566d8fa6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page