|
1 The Case for Quantification |
|
|
1 | (18) |
|
1.1 Class Distributions and Their Estimation |
|
|
2 | (1) |
|
1.2 The Suboptimality of Classify and Count |
|
|
3 | (2) |
|
1.3 Notational Conventions |
|
|
5 | (1) |
|
1.4 Quantification Problems |
|
|
6 | (2) |
|
1.5 Dataset Shift and Quantification |
|
|
8 | (6) |
|
1.5.1 Types of Dataset Shift and Their Relation to Quantification |
|
|
11 | (3) |
|
1.6 Quantification and Bias Mitigation |
|
|
14 | (2) |
|
1.7 Structure of This Book |
|
|
16 | (3) |
|
2 Applications of Quantification |
|
|
19 | (14) |
|
2.1 Improving Classification Accuracy |
|
|
19 | (3) |
|
2.1.1 Word Sense Disambiguation |
|
|
21 | (1) |
|
|
22 | (2) |
|
|
22 | (1) |
|
|
23 | (1) |
|
|
24 | (1) |
|
2.4 Social and Political Sciences |
|
|
25 | (2) |
|
|
27 | (1) |
|
|
28 | (1) |
|
|
29 | (2) |
|
|
31 | (2) |
|
3 Evaluation of Quantification Algorithms |
|
|
33 | (22) |
|
3.1 Measures for Evaluating SLQ, BQ, and MLQ |
|
|
34 | (11) |
|
3.1.1 Properties of Evaluation Measures for SLQ, BQ, and MLQ |
|
|
35 | (2) |
|
|
37 | (1) |
|
3.1.3 Absolute Error and its Variants |
|
|
37 | (1) |
|
3.1.4 Relative Absolute Error and its Variants |
|
|
38 | (3) |
|
3.1.5 Kullback-Leibler Divergence and its Variants |
|
|
41 | (1) |
|
3.1.6 Which Measure is the Best for SLQ? |
|
|
42 | (3) |
|
3.2 Measures for Evaluating OQ |
|
|
45 | (2) |
|
3.2.1 Earth Mover's Distance |
|
|
45 | (1) |
|
3.2.2 Root Normalised Order-Aware Divergence |
|
|
46 | (1) |
|
3.3 Measures for Evaluating Regression Quantification |
|
|
47 | (1) |
|
3.4 Experimental Protocols for Evaluating Quantification |
|
|
48 | (5) |
|
3.4.1 Natural Prevalence Protocol (NPP) |
|
|
49 | (1) |
|
3.4.2 Artificial Prevalence Protocol (APP) |
|
|
49 | (1) |
|
3.4.3 A Variant of the APP Based on the Kraemer Algorithm |
|
|
50 | (1) |
|
3.4.4 Should we Use the NPP or the APP? |
|
|
51 | (2) |
|
3.5 Model Selection in Quantification |
|
|
53 | (2) |
|
4 Methods for Learning to Quantify |
|
|
55 | (32) |
|
4.1 Maximum Likelihood Prevalence Estimation |
|
|
56 | (1) |
|
4.2 Aggregative Methods Based on General-Purpose Learners |
|
|
57 | (17) |
|
|
57 | (1) |
|
4.2.2 Probabilistic Classify and Count |
|
|
58 | (1) |
|
4.2.3 Adjusted Classify and Count |
|
|
59 | (2) |
|
4.2.4 Probabilistic Adjusted Classify and Count |
|
|
61 | (2) |
|
4.2.5 X, MAX, and Threshold@0.50 |
|
|
63 | (1) |
|
|
64 | (1) |
|
4.2.7 The Ratio Estimator |
|
|
64 | (2) |
|
|
66 | (3) |
|
4.2.9 Expectation Maximisation for Quantification |
|
|
69 | (2) |
|
4.2.10 Class Distribution Estimation |
|
|
71 | (1) |
|
4.2.11 Ensemble Methods for Quantification |
|
|
72 | (1) |
|
|
73 | (1) |
|
4.3 Aggregative Methods Based on Special-Purpose Learners |
|
|
74 | (4) |
|
4.3.1 Methods Based on Explicit Loss Minimisation |
|
|
75 | (1) |
|
4.3.2 Quantification Trees and Quantification Forests |
|
|
76 | (2) |
|
4.4 Non-Aggregative Methods |
|
|
78 | (9) |
|
|
78 | (1) |
|
|
79 | (1) |
|
|
80 | (1) |
|
|
81 | (1) |
|
4.4.5 The MMD-RKHS Method |
|
|
82 | (1) |
|
4.4.6 The Uncertainty-Aware Generative Model |
|
|
82 | (1) |
|
4.4.7 Deep Quantification Network |
|
|
83 | (4) |
|
|
87 | (16) |
|
5.1 Ordinal Quantification |
|
|
87 | (1) |
|
5.2 Regression Quantification |
|
|
88 | (2) |
|
5.3 Cross-Lingual Quantification |
|
|
90 | (1) |
|
5.4 Quantification for Networked Data |
|
|
91 | (1) |
|
|
92 | (2) |
|
5.6 Quantification in Data Streams |
|
|
94 | (3) |
|
5.7 One-Class Quantification |
|
|
97 | (2) |
|
5.8 Confidence Intervals for Class Prevalence Estimates |
|
|
99 | (4) |
|
6 The Quantification Landscape |
|
|
103 | (18) |
|
6.1 Historical Development |
|
|
103 | (2) |
|
6.1.1 The Trajectory of Quantification |
|
|
103 | (1) |
|
|
104 | (1) |
|
|
105 | (4) |
|
6.2.1 Publicly Available Implementations |
|
|
105 | (1) |
|
6.2.2 QuaPy: A Comprehensive Framework for Quantification |
|
|
106 | (3) |
|
6.3 How Do Different Quantification Methods Fare? |
|
|
109 | (8) |
|
6.3.1 A Tour of Experimental Results |
|
|
109 | (6) |
|
6.3.2 Visualisation Tools for the Analysis of Results |
|
|
115 | (2) |
|
|
117 | (4) |
|
6.4.1 Links to Existing Tasks |
|
|
117 | (2) |
|
6.4.2 A Possible Variant of the Quantification Task |
|
|
119 | (2) |
|
|
121 | (4) |
Bibliography |
|
125 | (10) |
Index |
|
135 | |
About the Author |
|
ix | |
About the Technical Reviewer |
|
xi | |
Introduction |
|
xiii | |
|
Chapter 1 Getting Started |
|
|
1 | (1) |
|
|
1 | (2) |
|
Where Are Web Pages Stored? |
|
|
3 | (1) |
|
|
3 | (2) |
|
|
5 | (2) |
|
|
7 | (1) |
|
|
7 | (2) |
|
|
9 | (4) |
|
Installing Our Web Server |
|
|
9 | (4) |
|
|
13 | (2) |
|
|
15 | (4) |
|
|
15 | (1) |
|
|
16 | (3) |
|
Development Tools and Code Editors |
|
|
19 | (4) |
|
|
23 | (5) |
|
|
28 | (1) |
|
|
29 | (2) |
|
Chapter 2 Introduction to HTML |
|
|
31 | (10) |
|
Structure of an HTML Page |
|
|
31 | (3) |
|
|
34 | (3) |
|
|
37 | (1) |
|
|
38 | (1) |
|
|
39 | (2) |
|
Chapter 3 Getting Started with HTML |
|
|
41 | (34) |
|
|
42 | (2) |
|
Elements for Formatting Text |
|
|
44 | (7) |
|
|
46 | (1) |
|
|
47 | (1) |
|
|
47 | (1) |
|
|
48 | (3) |
|
|
51 | (2) |
|
|
53 | (1) |
|
|
54 | (1) |
|
|
55 | (1) |
|
|
56 | (2) |
|
Understanding Image Dimensions |
|
|
58 | (1) |
|
|
59 | (1) |
|
|
60 | (3) |
|
|
63 | (1) |
|
|
64 | (3) |
|
|
67 | (2) |
|
|
69 | (1) |
|
|
69 | (1) |
|
|
69 | (1) |
|
|
70 | (1) |
|
Structuring Your Web Page |
|
|
70 | (2) |
|
|
72 | (1) |
|
|
73 | (2) |
|
Chapter 4 Cascading Style Sheets |
|
|
75 | (52) |
|
|
76 | (2) |
|
|
78 | (5) |
|
|
80 | (1) |
|
|
80 | (1) |
|
|
81 | (1) |
|
|
82 | (1) |
|
|
82 | (1) |
|
|
83 | (2) |
|
|
85 | (2) |
|
|
85 | (1) |
|
|
86 | (1) |
|
|
86 | (1) |
|
Understanding Measurement Units |
|
|
87 | (1) |
|
Padding, Margins, and Borders |
|
|
88 | (2) |
|
|
90 | (34) |
|
|
91 | (33) |
|
|
124 | (1) |
|
|
125 | (2) |
|
Chapter 5 Special Effects |
|
|
127 | (8) |
|
|
127 | (2) |
|
|
129 | (1) |
|
|
130 | (1) |
|
|
131 | (2) |
|
|
133 | (1) |
|
|
134 | (1) |
|
|
135 | (12) |
|
|
135 | (4) |
|
|
139 | (1) |
|
|
140 | (5) |
|
|
145 | (1) |
|
|
146 | (1) |
|
|
147 | (22) |
|
|
148 | (4) |
|
|
148 | (3) |
|
|
151 | (1) |
|
|
152 | (1) |
|
|
152 | (1) |
|
|
153 | (3) |
|
|
156 | (6) |
|
Configure the Web Server to Execute Scripts |
|
|
156 | (6) |
|
|
162 | (2) |
|
|
164 | (2) |
|
|
164 | (1) |
|
|
165 | (1) |
|
|
166 | (1) |
|
|
167 | (2) |
|
Chapter 8 Introduction to JavaScript |
|
|
169 | (12) |
|
|
172 | (2) |
|
|
172 | (1) |
|
|
172 | (1) |
|
|
172 | (1) |
|
|
173 | (1) |
|
|
173 | (1) |
|
|
174 | (1) |
|
|
175 | (4) |
|
|
179 | (2) |
|
Chapter 9 Content Management Systems |
|
|
181 | (22) |
|
Set Up WordPress on Our Server |
|
|
183 | (16) |
|
Web Development Frameworks |
|
|
199 | (1) |
|
|
200 | (3) |
Appendix A HTML Element Reference |
|
203 | (12) |
Appendix B CSS Selector Reference |
|
215 | (12) |
Appendix C CSS Color Codes |
|
227 | (8) |
Index |
|
235 | |