-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/71619/#review218372
-----------------------------------------------------------


Ship it!




I deployed these models on an Atlas server and created entities.

Sample json

**ml_project**
```
{
    "referredEntities": null,
    "entity": {
        "typeName": "ml_project",
        "attributes": {
            "qualifiedName": "face_recognition@cluster-8",
            "name": "face_recognition",
            "owner": "systest",
            "metadata": {
                "iteratoin": "start_1",
                "generation": "first"
            }
        },
        "guid": "-2"
    }
}
``` 
---
**ml_model_build**
```
{
    "referredEntities": null,
    "entity": {
        "typeName": "ml_model_build",
        "attributes": {
            "qualifiedName": "face_recognition.build1@cluster-8",
            "name": "face_recognition.b1",
            "version": 1,
            "owner": "systest",
            "metadata": {
                "iteratoin": "0.1",
                "details": "uploading training data"
            },
            "defaultCpuMillicores": 4,
            "defaultMemoryMb": 6
        },
        "guid": "-2",
        "relationshipAttributes": {
            "project": {
                "guid": "3cdeddf8-6a71-4041-a1d2-80ead1a38c63",
                "type": "ml_project"
            }
        }
    }
}
```
---
**ml_model_deployment**
```
{
    "referredEntities": null,
    "entity": {
        "typeName": "ml_model_deployment",
        "attributes": {
                "qualifiedName": "face_recognition.b1.d1@cluster-8",
            "name": "face_recognition.b1.d1",
            "createTime": 1571725864000,
            "deployedTime": 1571725864001,
            "version": 1,
            "owner": "systest",
            "modelEndpointURL": "http://localhost:80111/face_recoginition/d1";,
            "metadata": {
                "iteratoin": "D0.1",
                "details": "deployment to test"
            },
            "status": "deployed",
            "replicas": 3,
            "cpuMillicores": 2
        },
        "guid": "-2",
        "relationshipAttributes": {
            "build": {
                "guid": "539aee60-4c0e-4f3b-9982-562a198d99ac",
                "type": "ml_build"
            }
        }
    }
}
```
---
**ml_project_create_process**

```
{
    "referredEntities": null,
    "entity": {
        "typeName": "ml_project_create_process",
        "attributes": {
            "qualifiedName": 
"face_recognition.b1.d1@cluster-8:training:1571725864000",
            "name": "face_recognition_training_1",
            "userName": "eng_1",
            "inputs": [
                {
                    "guid": "e7d578c9-5978-43d9-aacd-000000003635"
                },
                {
                    "guid": "e7d578c9-5978-43d9-aacd-000000002205"
                }
            ],
            "outputs": [
                {
                    "guid": "e7d578c9-5978-43d9-aacd-000000002209"
                }
            ]
        },
        "guid": "-2"
    }
}
```

- Ashutosh Mestry


On Oct. 23, 2019, 9:22 p.m., Na Li wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/71619/
> -----------------------------------------------------------
> 
> (Updated Oct. 23, 2019, 9:22 p.m.)
> 
> 
> Review request for atlas, Austin Nobis, Ashutosh Mestry, Karthik Manamcheri, 
> Sridhar K, Madhan Neethiraj, and Sarath Subramanian.
> 
> 
> Bugs: atlas-3464
>     https://issues.apache.org/jira/browse/atlas-3464
> 
> 
> Repository: atlas
> 
> 
> Description
> -------
> 
> Define entities used for Machine Learning Governance
> 
> 
> Diffs
> -----
> 
>   addons/models/4000-MachineLearning/4010-ml_model.json PRE-CREATION 
> 
> 
> Diff: https://reviews.apache.org/r/71619/diff/11/
> 
> 
> Testing
> -------
> 
> verified it is valid json file
> 
> 
> Thanks,
> 
> Na Li
> 
>

Reply via email to