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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cmeuncerpy-0.1.41.tar.gz.
File metadata
- Download URL: cmeuncerpy-0.1.41.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b3f25e4125ea7287f9f71093f4f1b2fd2bec52be830d3b6845c26d8961a39f1a
|
|
| MD5 |
5633a668cc6e44512b2800779edd8545
|
|
| BLAKE2b-256 |
cbab975efdadf2d43fcceac91c90b24709219843495058c2b2fd9a7965ca92ed
|
File details
Details for the file cmeuncerpy-0.1.41-cp39-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: cmeuncerpy-0.1.41-cp39-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 196.8 kB
- Tags: CPython 3.9+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17fc00afe40163b8906bda1c0d14109c35c209668e363ab34b7a8e3ac8b59818
|
|
| MD5 |
8c0baae9f9f6858a7d752eeece72f36d
|
|
| BLAKE2b-256 |
bd0f8d0a0bc811d4383a2c1da14fb9542a9d6037ebf1678eca88d2d99f660253
|