A Smart Calculator Python package with ML features built with MLOps best practices.
Project description
SmartCalc MLOps
A Smart Calculator Python package with Machine Learning features, deployed end-to-end using MLOps best practices.
Installation
You can install the package directly from PyPI:
pip install smartcalc_mlops
Features
- Basic Calculator: Addition, subtraction, multiplication, division.
- Advanced Math: Power, square root, logarithm, factorial.
- Statistics: Mean, median, standard deviation.
- ML Module: Linear regression (from scratch), gradient descent, Mean Squared Error (MSE).
- MLOps: Custom logging system, configuration loader, and specific exceptions.
Usage
from smartcalc_mlops import Calculator, MLModule
# Basic math
calc = Calculator()
print(calc.add(2, 3))
# ML Module
ml = MLModule()
X = [1, 2, 3, 4, 5]
y = [2, 4, 5, 4, 5]
slope, intercept = ml.linear_regression(X, y)
print(f"Slope: {slope}, Intercept: {intercept}")
smartcalc_pkg1
simple mlops calculator to calculate
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 smartcalc_mlops_sunilakiran-0.1.0.tar.gz.
File metadata
- Download URL: smartcalc_mlops_sunilakiran-0.1.0.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1fa8d86a1b97a1528ddd07da3f61802c96b0cbbe588405f27bcd35d0820a32f0
|
|
| MD5 |
d94e5d6f66c0a89218b8f878effc7abb
|
|
| BLAKE2b-256 |
5222065acdb5d63165c8d80273498737e2b6b09c713dcb149d5d8fda60cf905d
|
File details
Details for the file smartcalc_mlops_sunilakiran-0.1.0-py3-none-any.whl.
File metadata
- Download URL: smartcalc_mlops_sunilakiran-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba95ac0095304a86da1f4cdb5c9c33038398b4c6940141f5b33323747410adcf
|
|
| MD5 |
0fc679d90c4d06c1ce9a108d57728789
|
|
| BLAKE2b-256 |
28c3a7dba7a3d97821eaf612679a1ba79bcf8254db7a908bc88938c8bdeae63a
|