anacostiaAI / anacostia-pipeline

Anacostia is a framework for creating machine learning operations (MLOps) pipelines
Apache License 2.0
1 stars 2 forks source link

create metadata store node #7

Closed mdo6180 closed 2 months ago

mdo6180 commented 7 months ago

MLflow's experiment logging scheme:

Experiments:

Runs:

Users:

mdo6180 commented 7 months ago

Anacostia Metadata Store logging scheme:

Runs:

Users:

artifacts:

mdo6180 commented 7 months ago

example json entry:

{
    "users": [
        {
            "user_id": 1,
            "name": "Minh Quan Do",
            "username": "mdo6180" 
        },
        {
            "user_id": 13,
            "name": "Carlos Alcaraz",
            "username": "calcaraz" 
        },
    ],
    "runs": [
        {
            "run_id": 1,
            "user_id": 13,
            "start_time": 123456789,
            "end_time": 123456789,
            "tags": [
                "experiment": "pipeline v3"
            ]
        },
        {
            "run_id": 2,
            "user_id": 13,
            "start_time": 123456789,
            "end_time": 123456789,
            "tags": [
                "experiment": "pipeline v3"
            ],
            "metrics": [
                {
                    "key": "mae", 
                    "value": 2.5, 
                    "timestamp": 1552550804
                },
                {
                    "key": "rmse", 
                    "value": 2.7, 
                    "timestamp": 1552550804
                },
            ],
            "params": [
                {
                    "key": "model_class", 
                    "value": "LogisticRegression"
                },
            ]
        },
        {
            "run_id": 3,
            "user_id": 13,
            "start_time": 123456789,
            "end_time": None,
            "tags": [
                "experiment": "pipeline v3"
            ]
        }
    ]
}