-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample_chemML.json
120 lines (120 loc) · 2.31 KB
/
sample_chemML.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
114
115
116
117
118
119
120
{
"data":
{
"nodes": {
"ID1": {
"name": "read_csv",
"library": "pandas",
"module": "",
"inputs": {
"filepath_or_buffer": "temp/wine_dataset.csv",
"index_col": 0
},
"outputs": {
"df": true
},
"method": {}
},
"ID4": {
"name": "Select_Columns_By_Index",
"library": "chemml",
"module": "wrapper.preprocessing",
"inputs": {
"selection": [13]
},
"outputs": {},
"method": {
"name": "fit",
"inputs": {
"X": "@ID1@df"
},
"outputs": {
"X1": true,
"X2": true
}
}
},
"ID5": {
"name": "train_test_split",
"library": "sklearn",
"module": "model_selection",
"inputs": {
"*args": "@ID4@X1@ID4@X2",
"test_size": 0.2
},
"outputs": {
"train1": true,
"test1": true,
"train2": true,
"test2": true
},
"method": {}
},
"ID6": {
"name": "RandomForestClassifier",
"library": "sklearn",
"module": "ensemble",
"inputs": {
"max_depth": 8,
"random_state": 0
},
"outputs": {"obj": true},
"method": {
"name": "fit",
"inputs": {
"X": "@ID5@train1",
"y": "@ID5@train2"
},
"outputs": {}
}
},
"ID7": {
"name": "RandomForestClassifier",
"library": "sklearn",
"module": "ensemble",
"inputs": {
"obj": "@ID6@obj"
},
"outputs": {},
"method": {
"name": "predict",
"inputs": {
"X": "@ID5@test1"
},
"outputs": {
"C": true
}
}
},
"ID8": {
"name": "accuracy_score",
"library": "sklearn",
"module": "metrics",
"inputs": {
"y_true": "@ID5@test2",
"y_pred": "@ID7@C"
},
"outputs": {
"result": true
},
"method": {}
},
"ID9": {
"name": "SaveFile",
"library": "chemml",
"module": "wrapper.preprocessing",
"inputs": {
"file_path": "metric/results.txt"
},
"outputs": {},
"method": {
"name": "write",
"inputs": {
"X": "@ID8@result"
},
"outputs": {}
}
}
}
}
}