Skip to main content

Machine learning models implemented in PyTorch and Rust, including Linear Regression and Neural Networks

Project description

cmeuncerpy

A Python package for machine learning models with PyTorch and Rust backends. Features high-performance implementations of Linear Regression and Neural Network models.

Installation

pip install cmeuncerpy

Features

  • Linear Regression: PyTorch-based implementation with gradient descent optimization
  • Neural Network Regression: Flexible multi-layer neural network for regression tasks
  • Rust Integration: Performance-critical components implemented in Rust via PyO3

Quick Start

from cmeuncerpy.models import LinearRegression
import numpy as np

# Create model
model = LinearRegression(no_features=2, learning_rate=0.01, max_epochs=100)

# Generate sample data
X_train = np.random.randn(100, 2)
y_train = np.random.randn(100)

# Train model
model.fit(X_train, y_train)

# Make predictions
predictions = model.predict(X_train)

Requirements

  • Python 3.9 or higher
  • PyTorch 2.0.0+
  • NumPy, Pandas, Scikit-learn, Matplotlib, Seaborn

Author

Syed Raza (alizeejah972@gmail.com)

License

MIT

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

cmeuncerpy-0.1.38.tar.gz (15.7 MB view details)

Uploaded Source

Built Distribution

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

cmeuncerpy-0.1.38-cp39-abi3-macosx_11_0_arm64.whl (196.7 kB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

File details

Details for the file cmeuncerpy-0.1.38.tar.gz.

File metadata

  • Download URL: cmeuncerpy-0.1.38.tar.gz
  • Upload date:
  • Size: 15.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for cmeuncerpy-0.1.38.tar.gz
Algorithm Hash digest
SHA256 0cc1f825481a0662b413c8ac41fc19fa7c5c5af04465312aad84c757d2b60af3
MD5 02edf89bbe6e6e7ca9f5fc8204e0e10f
BLAKE2b-256 d7fad7bf3072163f82e75ada50cf8feca38880f803db4f1eae5dcd45b7e512e8

See more details on using hashes here.

File details

Details for the file cmeuncerpy-0.1.38-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for cmeuncerpy-0.1.38-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 30f6db68360f7bb1528f2cef93afff43e971dff3295a5ebf1e3054f9aa5ecc68
MD5 4932ad695b7e4eb9a78d18a9aa20bfd4
BLAKE2b-256 d7c95fce38d84f5ba5ec3523b29a87ee2285774efd97b1214cf53f1a2c00a560

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