Skip to content

Structured Data for Linear Regression Method

Below, the user can find an example JSON structured representation for the Linear Regression Method.

 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
{
    "$id": "methods-directory/legacy/regression",
    "$schema": "http://json-schema.org/draft-07/schema#",
    "title": "legacy method regression",
    "type": "object",
    "allOf": [
        {
            "$ref": "../../method.json"
        }
    ],
    "properties": {
        "type": {
            "enum": [
                "linear",
                "kernel_ridge"
            ]
        },
        "subtype": {
            "enum": [
                "least_squares",
                "ridge"
            ]
        },
        "precision": {
            "$ref": "../mathematical/regression/precision.json"
        },
        "data": {
            "$ref": "../mathematical/regression/data.json"
        }
    },
    "required": [
        "precision",
        "data"
    ]
}
 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
{
    "data": {
        "dataSet": {
            "exabyteIds": [
                "LCthJ6E2QabYCZqf4",
                "LCthJ6E2QabYCZqf5",
                "LCthJ6E2QabYCZqf6",
                "LCthJ6E2QabYCZqf7",
                "LCthJ6E2QabYCZqf8",
                "LCthJ6E2QabYCZqf9",
                "LCthJ6E2QabYCZq10",
                "LCthJ6E2QabYCZq11"
            ],
            "extra": {}
        },
        "perProperty": [
            {
                "intercept": 0.363,
                "name": "band_gaps:direct",
                "perFeature": [
                    {
                        "coefficient": 0.015,
                        "importance": 0.134,
                        "name": "atomic_radius:Ge"
                    },
                    {
                        "coefficient": 0.016,
                        "importance": 0.135,
                        "name": "atomic_radius:Si"
                    }
                ]
            },
            {
                "intercept": 0.364,
                "name": "band_gaps:indirect",
                "perFeature": [
                    {
                        "coefficient": 0.016,
                        "importance": 0.135,
                        "name": "atomic_radius:Ge"
                    },
                    {
                        "coefficient": 0.017,
                        "importance": 0.136,
                        "name": "atomic_radius:Si"
                    }
                ]
            }
        ]
    },
    "precision": {
        "perProperty": [
            {
                "score": 0.8,
                "trainingError": 0.002
            }
        ]
    },
    "subtype": "least_squares",
    "type": "linear"
}