Skip to main content

A Framework for creating a boilerplate template for ai projects that are ready for MLOps

Project description

pyPhase Project-builder

This Generator will create a ready-to-go pyPhase-Project, based on a config-Yaml.

Setup

pip install phases

create project.yaml

minimal

name: "myProject"
namespace: myGroup
phases:
    stage1:
        - name: Phase1
          description: my first phase
        - name: Phase2
          description: my second phase

run with python myProject

complete

name: "sleepClassificationCNN"
namespace: tud.ibmt
exporter:
    - ObjectExporter
    - KerasExporter
publisher:
    - DotSience
phases:
    prepareData:
        - name: DataWrapper
          description: get EDF Data
          exports: 
            - trainingRaw
            - validationRaw
            - evaluationRaw
        - name: EDF4SleepStages
          description: Prepare EDF Data for sleep stage recognition
          exports: 
            - trainingTransformed
            - validationTransformed
    train:
        - name: SleepPhaseDetectionModel
          description: Create Model for sleep stage recognition
          exports: 
            - model
    evaluate:
        - name: SleepPhaseDetectionModel
          description: Create Model for sleep stage recognition

Generate

phases create

Development

The generator will create stubs for each phase, publisher, storage, exporter and generator that does not exists in the pyPhase-Package. The stubs are in the project folder and implement empty method that are required.

To implement your project, you only need to fill those methods. For the minimal example you need to fill the main-methods of Phase1 (myProject/phases/Phase1.py) and Phase2.

Project details


Download files

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

Files for phases, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size phases-0.1.0-py3-none-any.whl (16.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size phases-0.1.0.tar.gz (11.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page