Repository navigation
Expand file tree
/
Copy pathCLEAR_report.html
More file actions
113 lines (73 loc) · 4.16 KB
/
Copy pathCLEAR_report.html
File metadata and controls
113 lines (73 loc) · 4.16 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title> CLEAR Report</title>
<link rel="stylesheet" type="text/css" href="CLEAR.css">
</head>
<body>
<div class="first-div">
<h1>CLEAR Report: <span class="CLEARdataset">
{{dataset_name}}</span></h1>
<hr class="clear">
<span class="main-text2"> Prediction to be explained: Observation <span class="AI_prob">{{observation_number}}</span> has <span class="AI_prob">{{AI_prediction}}</span> probability of belonging to class: {{explanadum}} </span>
<hr class="clear">
<h2>Regression Results<br></h2>
</div>
<div id= "regress-section" class="flexi-cont">
<div id= "reg-formula">
<p id="regression-formula">{{ regression_formula }}</p>
<form id="Simplify-regression">
<input type="checkbox" id="simplify" />
<label for="simplify">Simplify display of regression equation</label>
</form>
<form>
<fieldset id="Select-features">
<legend>Select Features</legend>
<button id="Select-button" type="button">Show</button>
</fieldset>
</form>
<p class="main-text" id= "simplified-equation"> </p> <br>
</div>
<div class= "feature-GRAPH">
<p id= Feature-title> Feature Importance</p>
<img src="Feature_plot.png" alt="Feature Importance plot">
</div>
<div class= "reg-GRAPH">
<p class=main-text> Regression for Neighbourhood of Observation {{observation_number}}</p>
<img src="CLEAR_plot.png" alt="Regression plot">
<p id=reg-stat> Quality of regression statistic:<br><br>
{{regression_score_type}} =
{{prediction_score}}</p>
</div>
</div>
<div class="clearfix"></div>
<hr>
<div id="counterfactuals" class="flexi-cont">
<div id="b-counterfactuals">
<h2><i>b</i>-Counterfactual Results<br></h2>
<p class= "counter-def">"b-counterfactual value" = numeric value needed to be at the decision boundary<br><span class="actual-def">"actual b-counterfactual value" determined by carrying out a grid search on the <strong>target</strong> AI system.</span> </p>
<p class= "counterfactual-table" > {{counterfactual_table}}</p>
</div>
<div id="c-counterfactuals">
<h2><i>c</i>-Counterfactual Results</h2>
<p class= "counter-def">"c-counterfactual value" = categorical value that <i>flips</i> the observation's classification<br><span class="actual-def">"actual c-counterfactual value" determined by running <strong>target</strong> AI system with c-counterfactual. </span> </p>
<p class= "counterfactual-table" > {{cat_counterfactual_table}}</p>
</div>
</div>
<hr>
<div class="clearfix"></div>
<div class= "reg-div">
<h3>Input Data</h3>
<p id="input-data-table">{{ input_data_table }} </p>
</div>
<div id="feature-list">
<p id="features"> {{ feature_list }} </p>
<p id="spreadsheet-data"> {{ spreadsheet_data }} </p>
<p id="weights"> {{ weights }} </p>
<p id ="intercept">{{intercept}}</p>
<p id ="regression-type">{{regression_type}}</p>
</div>
<script src="CLEARapp.js"></script>
</body>
</html>