-
Notifications
You must be signed in to change notification settings - Fork 0
/
friedman1.json
113 lines (113 loc) · 2.43 KB
/
friedman1.json
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
[
{
"modelParams": {
"name": "Friedman1",
"description": "Generate the “Friedman1” regression problem. Number of features has to be more than or equal to 5.",
"steps": 1,
"method": "forward",
"include": [],
"table": false,
"customCode": ""
},
"blocks": [
{
"id": "b14669636",
"name": "Features",
"show": false,
"type": "Data",
"typeCode": 2,
"useAsParameter": true,
"dims": "",
"value": "10",
"units": "",
"dataType": "integer",
"dataCategories": "",
"minimized": true,
"pos": {
"x": 73,
"y": -159
}
},
{
"id": "b53851285",
"name": "Sigma",
"show": false,
"type": "Data",
"typeCode": 2,
"useAsParameter": true,
"dims": "",
"value": "1",
"units": "",
"dataType": "",
"dataCategories": "",
"minimized": false,
"pos": {
"x": 163,
"y": 63
}
},
{
"id": "b69522219",
"distribution": "Uniform",
"name": "X",
"once": false,
"params": {
"a": "0",
"b": "1"
},
"show": true,
"type": "Random Variable",
"typeCode": 0,
"dims": "Features",
"units": "",
"minimized": true,
"pos": {
"x": -109,
"y": -82
}
},
{
"id": "b45222697",
"distribution": "Gaussian",
"name": "Noise",
"once": false,
"params": {
"mu": "0",
"sigma": "Sigma"
},
"show": false,
"type": "Random Variable",
"typeCode": 0,
"dims": "1",
"units": "",
"minimized": false,
"pos": {
"x": 60,
"y": 5
}
},
{
"id": "b56827669",
"name": "y",
"history": false,
"show": true,
"type": "Expression",
"typeCode": 1,
"expressionType": "Custom",
"params": {},
"value": "10 * Math.sin(Math.PI * X[0] * X[1]) + 20 * Math.pow(X[2] - 0.5, 2) + 10 * X[3] + 5 * X[4] + Noise",
"units": "",
"dataType": "",
"minimized": false,
"pos": {
"x": -56,
"y": 23
}
}
],
"methodParams": {
"chains": 1,
"samples": 1000
}
}
]