-
Notifications
You must be signed in to change notification settings - Fork 1
/
example_jupyter.json
89 lines (89 loc) · 2.97 KB
/
example_jupyter.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
{
"Endpoint": "https://labs.tib.eu/sdm/InterpretME-og/sparql",
"Type": "Person",
"Index_var": "x",
"Independent_variable": {
"x": "?x a <http://dbpedia.org/ontology/Person>. \n ",
"gender": "Optional { ?x <http://dbpedia.org/ontology/gender> ?gender } .\n ",
"childs": "?x <http://dbpedia.org/ontology/numChilds> ?childs . \n ",
"predecessors": "?x <http://dbpedia.org/ontology/numPredecessors> ?predecessors . \n",
"preds": "?x <http://dbpedia.org/ontology/numPreds> ?preds .\n",
"objects": "?x <http://dbpedia.org/ontology/numObjects> ?objects . \n",
"subjects": "?x <http://dbpedia.org/ontology/numSubjects> ?subjects . \n"
},
"Dependent_variable": {
"HasSpouse": "{ SELECT ?x, ((?partners > 0) AS ?HasSpouse) WHERE { ?x <http://dbpedia.org/ontology/numSpouses> ?partners . }} \n"
},
"Constraints": [
{
"name": "C10",
"inverted": false,
"shape_schema_dir": "./shapes/french_royalty/spouse/rule10",
"target_shape": "<http://example.org/Spouse>"
},
{
"name": "C9",
"inverted": false,
"shape_schema_dir": "./shapes/french_royalty/spouse/rule9",
"target_shape": "<http://example.org/Spouse>"
},
{
"name": "C8",
"inverted": false,
"shape_schema_dir": "./shapes/french_royalty/spouse/rule8",
"target_shape": "<http://example.org/Spouse>"
},
{
"name": "C7",
"inverted": false,
"shape_schema_dir": "./shapes/french_royalty/spouse/rule7",
"target_shape": "<http://example.org/Spouse>"
},
{
"name": "C6",
"inverted": false,
"shape_schema_dir": "./shapes/french_royalty/spouse/rule6",
"target_shape": "<http://example.org/Spouse>"
},
{
"name": "C5",
"inverted": false,
"shape_schema_dir": "./shapes/french_royalty/spouse/rule5",
"target_shape": "<http://example.org/Spouse>"
},
{
"name": "C4",
"inverted": false,
"shape_schema_dir": "./shapes/french_royalty/spouse/rule4",
"target_shape": "<http://example.org/Spouse>"
},
{
"name": "C3",
"inverted": false,
"shape_schema_dir": "./shapes/french_royalty/spouse/rule3",
"target_shape": "<http://example.org/Spouse>"
},
{
"name": "C2",
"inverted": false,
"shape_schema_dir": "./shapes/french_royalty/spouse/rule2",
"target_shape": "<http://example.org/Spouse>"
},
{
"name": "C1",
"inverted": false,
"shape_schema_dir": "./shapes/french_royalty/spouse/rule1",
"target_shape": "<http://example.org/Spouse>"
}
],
"classes": {
"NoSpouse": "0",
"HasSpouse": "1"
},
"3_valued_logic": true,
"sampling_strategy": "undersampling",
"number_important_features": 5,
"cross_validation_folds": 5,
"test_split": 0.3,
"model": "Random Forest"
}