Skip to main content

linear regression with CI/CD

Project description

Linear Regression System with CI/CD

The Code

Cloning the code:

git clone https://github.com/budi-kurniawan/linear-regression

Creating A Model:

python simple_linear_regrsssion.py

The model (model.sav file) will be saved to the current directory.

Run the unittest

python -m pytest

Docker

Make sure an app directory has been created
$ cd $PROJECT_DIR
$ docker build --tag lin2023 .
$ docker run -i -p 5000:5000 -d lin2023

To pull the Docker image from Docker Hub

$ docker pull budi2020/lin2023[:tagName]
$ docker pull budi2020/lin2023:v0.0.1

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

lin2023-0.0.1.tar.gz (1.6 kB view details)

Uploaded Source

Built Distribution

lin2023-0.0.1-py3-none-any.whl (1.3 kB view details)

Uploaded Python 3

File details

Details for the file lin2023-0.0.1.tar.gz.

File metadata

  • Download URL: lin2023-0.0.1.tar.gz
  • Upload date:
  • Size: 1.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.2

File hashes

Hashes for lin2023-0.0.1.tar.gz
Algorithm Hash digest
SHA256 63cf1f1913b760254ccfc39c9705643ae08b1c69317da03195946ea5cce9e767
MD5 73f04ab9ddf979fc5c3ecfbd1254add4
BLAKE2b-256 d23e278d54910cb17cb4a056da275013502edff6e560409baad1c59f278416be

See more details on using hashes here.

File details

Details for the file lin2023-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: lin2023-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 1.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.2

File hashes

Hashes for lin2023-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f7dafb89646d05dd46abed6dfa618ee6d6e2470e8742b7b655420b0fcfefe15a
MD5 34a50ed8bcd909af9f853650c70bad2d
BLAKE2b-256 ecb8e9b6bafedd0c87a9b5c47a9781e565a10870c17ebf518950c51259db0ddf

See more details on using hashes here.

Supported by

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