Data

This implementation of Machine Learning uses Python under-the-hood. Hence, its workflow units adopt the schema used by Python Units.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
    "schemaId": "software-directory/scripting/python",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "Python Programing Language Schema",
    "type": "object",
    "allOf": [
        {
            "schemaId": "software/application",
            "title": "application schema (base)",
            "type": "object",
            "properties": {
                "name": {
                    "description": "The name of the application. e.g. espresso",
                    "type": "string"
                },
                "shortName": {
                    "description": "The short name of the application. e.g. qe",
                    "type": "string"
                },
                "summary": {
                    "description": "Application's short description.",
                    "type": "string"
                },
                "version": {
                    "description": "Application version. e.g. 5.3.5",
                    "type": "string"
                },
                "build": {
                    "description": "Application build. e.g. VTST",
                    "type": "string"
                },
                "hasAdvancedComputeOptions": {
                    "description": "Whether advanced compute options are present",
                    "type": "boolean"
                },
                "isLicensed": {
                    "description": "Whether licensing is present",
                    "type": "boolean"
                }
            },
            "additionalProperties": true,
            "required": [
                "name"
            ]
        }
    ],
    "properties": {
        "name": {
            "enum": [
                "python"
            ]
        },
        "flavor": {
            "enum": [
                "python2",
                "python3"
            ]
        },
        "summary": {
            "enum": [
                "Python Script"
            ]
        },
        "version": {
            "enum": [
                "2.7.5",
                "3.6.1"
            ]
        },
        "exec": {
            "enum": [
                "python"
            ]
        },
        "arguments": {
            "description": "Optional arguments passed to the Python script",
            "type": "string"
        },
        "environment": {
            "description": "Optional environment variables exported before running the Python script",
            "type": "object"
        },
        "dependencies": {
            "description": "Optional Python dependencies, e.g. amqp==1.4.6",
            "type": "array"
        }
    }
}
1
2
3
4
5
6
7
8
{
    "exec": "python",
    "flavor": "python2",
    "name": "python",
    "shortName": "py",
    "summary": "Python Script",
    "version": "2.7.5"
}