Skip to main content

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


Download files

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

Source Distribution

smartcalc_mlops_sunilakiran-0.1.0.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

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

smartcalc_mlops_sunilakiran-0.1.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for smartcalc_mlops_sunilakiran-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1fa8d86a1b97a1528ddd07da3f61802c96b0cbbe588405f27bcd35d0820a32f0
MD5 d94e5d6f66c0a89218b8f878effc7abb
BLAKE2b-256 5222065acdb5d63165c8d80273498737e2b6b09c713dcb149d5d8fda60cf905d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for smartcalc_mlops_sunilakiran-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ba95ac0095304a86da1f4cdb5c9c33038398b4c6940141f5b33323747410adcf
MD5 0fc679d90c4d06c1ce9a108d57728789
BLAKE2b-256 28c3a7dba7a3d97821eaf612679a1ba79bcf8254db7a908bc88938c8bdeae63a

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