-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
55 lines (55 loc) · 4.03 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Confusion Matrix</title>
<link rel="stylesheet" href="css/style.css">
<link rel="shortcut icon" href="images/favicon.webp" type="image/x-icon">
</head>
<body>
<div class="container">
<h1 class="title">Confusion Matrix</h1>
<table>
<thead>
<tr>
<th></th>
<th title="Actually">Positive</th>
<th title="Actually">Negative</th>
</tr>
</thead>
<tbody>
<tr>
<td title="Outcome/Predicted">Positive</td>
<td contenteditable oninput="main(this.id)" class="TPs" id="TPs" title="TP : hits">55</td>
<td contenteditable oninput="main(this.id)" class="FPs" id="FPs" title="FP : false alarms">0</td>
</tr>
<tr>
<td title="Outcome/Predicted">Negative</td>
<td contenteditable oninput="main(this.id)" class="FNs" id="FNs" title="FN : missed">0</td>
<td contenteditable oninput="main(this.id)" class="TNs" id="TNs" title="TN : non events | correct rejections">0</td>
</tr>
</tbody>
</table>
<div class="stats">
<p>N = <span class="calSteps"><span id="nCal">?</span> = <span id="n">?</span></p>
<p>accuracy = <span class="calSteps"><span id="accuracyCal1">?</span> = <span id="accuracyCal2">?</span> =</span> <span id="accuracy">?</span> & R2 = <span id="r2">?</span></p>
<p><span title="the Ratio of true positives to total predicted positives">precision</span> = <span class="calSteps"><span id="precisionCal1">?</span> = <span id="precisionCal2">?</span> =</span> <span id="precision">?</span></p>
<p><span title="the Ratio of true positives to total (actual) positives in the data">recall (Sensitivity)</span> = <span class="calSteps"><span id="recallCal1">?</span> = <span id="recallCal2">?</span> =</span> <span id="recall">?</span></p>
<p><span title="the harmonic mean of precision and recall">F-measure (F1 Score)</span> = <span class="calSteps"><span id="FMeasureCal1">?</span> = <span id="FMeasureCal2">?</span> =</span> <span id="FMeasure">?</span></p>
<p><span title="the Ratio of true negatives to total negatives in the data">specificity</span> = <span class="calSteps"><span id="specificityCal1">?</span> = <span id="specificityCal2">?</span> =</span> <span id="specificity">?</span></p>
<p><span>P</span> = <span class="calSteps"><span id="prCal"></span> = <span id="p1"></span> & <span>P'</span> = <span class="calSteps"><span id="prCal2"></span> = <span id="p2"></span></p>
<p><span>Q</span> = <span class="calSteps"><span id="qCal"></span> = <span id="q1"></span> & <span>Q'</span> = <span class="calSteps"><span id="qCal2"></span> = <span id="q2"></span></p>
<p><span>Pre-test odds</span> = <span class="calSteps"><span id="POCal"></span> = <span id="PO"></span> & <span>Pre-test odds against</span> = <span class="calSteps"><span id="POACal"></span> = <span id="POA"></span></p>
<p>Quality Measures : <span>QSN or TPR<sub>Q</sub></span> = <span class="calSteps"><span id="QSNCal"></span> = <span id="QSN"></span> & <span>QSP or TNR<sub>Q</sub></span> = <span class="calSteps"><span id="QSPCal"></span> = <span id="QSP"></span></p>
</div>
</div>
</div>
<!-- <script src="https://cdn.jsdelivr.net/gh/PingHuskar/BackgroundColorChangerJS/script.js"></script> -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/2.1.2/TweenMax.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/2.1.2/easing/EasePack.min.js"></script>
<script src="js/script.js"></script>
</body>
</html>