Skip to main content

No project description provided

Project description

example_project

Tools used in this project

Project structure

.
│   batch.linear.regression.processor.Dockerfile
│   batch.linear.regression.scheduler.Dockerfile
│   batch.linear.regression.writer.Dockerfile      Dockerfile
│   main.py
│   manage.py
│   README.md
│   requirements.txt
│   run.sh
│
├───.buildkite                                      # Code to run on buildkite platform   ├───hooks                                                 pre-command
│   │
│   ├───plugins                                     # plugins for multiple customers, regions, sites      ├───get-environments-definition
│            README.md
│         │
│         └───hooks
│                 environment
│      │
│      └───get-python-comm
│          └───hooks
│                  environment
│   │
│   └───scripts
│           diff.sh
│           find-branch-point.sh
│
├───api
│      apps.py
│      urls.py
│      views.py
│   │
│   └───migrations
│           __init__.py
│
├───batch
│      requirements.txt
│      scheduler.py
│   │
│   └───batch_linear_regression_scheduler
│          scheduler.py
│          scheduler_conf.yml
│          task-definition-template.json
│       │
│       ├───.buildkite
│             pipeline-deploy.yml
│             pipeline-destroy.yml
│             pipeline.yml
│             README.md
│          │
│          └───scripts
│                  generate-deploy-trigger-step.js
│                  generate-deploy-trigger-step.py
│       │
│       └───terraform
│              cloudwatch_log_group.tf
│              data.tf
│              ecs_gpu.tf
│              kinesis.tf
│              Makefile
│              mysql.tf
│              outputs.tf
│              provider.tf
│              roles.tf
│              scheduler_ecs_task.tf
│              sns.tf
│              ssm.tf
│              variables.tf
│           │
│           ├───backend
│                  development.backend
│                  production.backend
│                  staging.backend
│           │
│           ├───templates
│                  user-data.sh
│           │
│           └───vars
│                   development-ap-southeast-2.tfvars
│                   development-us-east-1.tfvars
│
├───config
│      main.yaml
│   │
│   ├───model
│          model1.yaml
│          model2.yaml
│   │
│   └───process
│           process1.yaml
│           process2.yaml
│
├───docs
│       .gitkeep
│       img.png
│       mlsys.png
│
├───http_server
│      asgi.py
│      settings.py
│      urls.py
│      wsgi.py
│      __init__.py
│   │
│   └───.buildkite
│          pipeline-deploy.yml
│          pipeline-destroy.yml
│          pipeline.yml
│          README.md
│          task-definiton-template.json
│       │
│       └───scripts
│               generate-deploy-trigger-step.js
│               generate-ecs-deploy-steps.js
│
├───models
│       .gitkeep
│
├───notebooks
│       .gitkeep
│
├───src
│       benchmark.py
│       simple_linear_regr.py
│       simple_linear_regr_utils.py
│       __init__.py
│
└───tests
        __init__.py
  1. Installation
pip install mle-project
  1. Test with python
from src import SimpleLinearRegression, evaluate, generate_data

X_train, y_train, X_test, y_test = generate_data()
model = SimpleLinearRegression()
model.fit(X_train, y_train)
predicted = model.predict(X_test)
evaluate(model, X_test, y_test, predicted)

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

mle_project-0.1.2.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

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

mle_project-0.1.2-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file mle_project-0.1.2.tar.gz.

File metadata

  • Download URL: mle_project-0.1.2.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.9.5 Windows/10

File hashes

Hashes for mle_project-0.1.2.tar.gz
Algorithm Hash digest
SHA256 c2ee3e4e0348611d9cd92e05a2a42f302c28a29e30be1097300c45d4c361e5f5
MD5 074a0ffb953b5170762141e3248ec442
BLAKE2b-256 28197b8b84e54755f5b218d3c653a7fc14a58d0413bdc6d2fd88493e51ef64dc

See more details on using hashes here.

File details

Details for the file mle_project-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: mle_project-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.9.5 Windows/10

File hashes

Hashes for mle_project-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b9f13e3e0b20190b5bc44344ab1e6c1715edaeadf8561316ca556da5a899eef2
MD5 e2a3ba212349c758539ba6c1074623aa
BLAKE2b-256 8d43426c58738ab991853b464e23a117fa263f1d0e37a4386adb3a820224d2f7

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