Skip to content

Commit e4ebcf9

Browse files
committed
work
1 parent 638cb5c commit e4ebcf9

File tree

2 files changed

+175
-0
lines changed

2 files changed

+175
-0
lines changed
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
---
2+
title: "Mathematicians Biographies: Exploring the Lives Behind Mathematical Discoveries"
3+
categories:
4+
- Mathematics
5+
- Biographies
6+
tags:
7+
- Mathematicians
8+
- History of Mathematics
9+
author_profile: false
10+
seo_title: "Mathematicians Biographies: Lives Behind Mathematical Discoveries"
11+
seo_description: "A list of articles detailing the biographies of some of the most influential mathematicians in history, including their contributions and lasting impact on the field of mathematics."
12+
excerpt: "Learn about the mathematicians whose ideas shaped the world of mathematics. From Pythagoras to John Nash, this collection of biographies covers their discoveries and legacies."
13+
summary: "Explore the lives and works of mathematicians who revolutionized the world with their groundbreaking discoveries. This list offers biographies of notable figures across different mathematical fields and eras."
14+
keywords:
15+
- mathematicians biographies
16+
- history of mathematics
17+
- contributions of mathematicians
18+
classes: wide
19+
---
20+
21+
## List of Articles on Mathematicians' Biographies
22+
23+
- **TODO: Euclid: The Father of Geometry**
24+
- A detailed look into the life of Euclid, whose work "Elements" laid the foundation for modern geometry. This article explores his methods, contributions to mathematics, and lasting influence.
25+
26+
- **TODO: Pythagoras: The Mystical Mathematician**
27+
- Discover the life of Pythagoras, the mathematician and philosopher known for the famous Pythagorean theorem. This biography delves into his mathematical discoveries and the Pythagorean school he founded.
28+
29+
- **TODO: Archimedes: The Master of Mechanical Mathematics**
30+
- This article highlights the life of Archimedes, one of the greatest mathematicians of antiquity. His contributions to geometry, calculus, and mechanics are explored, along with his famous inventions.
31+
32+
- **TODO: Carl Friedrich Gauss: The Prince of Mathematicians**
33+
- A biography of Carl Gauss, who made significant contributions to number theory, algebra, statistics, and more. The article covers his early genius, major works, and long-term influence on mathematics.
34+
35+
- **TODO: Leonhard Euler: Prolific Contributor to Every Mathematical Field**
36+
- Learn about Euler’s extraordinary career, where he made foundational contributions to graph theory, calculus, and topology. The article focuses on his vast output and mathematical notation still used today.
37+
38+
- **TODO: Srinivasa Ramanujan: The Self-Taught Genius**
39+
- A captivating biography of Ramanujan, an Indian mathematician whose intuitive approach to mathematics led to groundbreaking work in number theory, despite his lack of formal training. The article explores his partnership with G.H. Hardy and his profound contributions.
40+
41+
- **TODO: Ada Lovelace: The First Computer Programmer**
42+
- Ada Lovelace is often celebrated as the first computer programmer for her work with Charles Babbage's Analytical Engine. This article covers her early life, education, and her remarkable foresight into computational theory.
43+
44+
- **TODO: John Nash: Game Theory and the Beautiful Mind**
45+
- This biography covers the life of John Nash, the mathematician behind game theory, and his struggle with schizophrenia. The article examines his groundbreaking contributions to mathematics and economics, along with his personal challenges.
46+
47+
- **TODO: Sophie Germain: Pioneer in Number Theory and Elasticity**
48+
- Discover the life of Sophie Germain, a trailblazing female mathematician who made significant advances in number theory and elasticity theory, despite facing significant barriers due to her gender.
49+
50+
- **TODO: Évariste Galois: Revolutionary Mathematician**
51+
- The brief and tragic life of Évariste Galois, whose work laid the foundations of group theory and abstract algebra. This article covers his radical political views and the mathematical genius cut short at a young age.
52+
53+
- **TODO: David Hilbert: The Formulator of Mathematical Problems**
54+
- Hilbert’s biography delves into his creation of the famous "Hilbert Problems" and his foundational work in algebra, geometry, and logic. The article also explores his impact on 20th-century mathematics.
55+
56+
- **TODO: Henri Poincaré: The Father of Topology**
57+
- A deep dive into Poincaré’s work in topology, dynamical systems, and celestial mechanics. This article explores his influential ideas, including the "Poincaré Conjecture" and his role in the development of chaos theory.
58+
59+
- **TODO: Niels Henrik Abel: The Pioneer of Group Theory**
60+
- The story of Niels Abel, whose early death cut short a promising mathematical career. His work on group theory and the solution of quintic equations remains foundational in modern algebra.
61+
62+
- **TODO: Georg Cantor: Creator of Set Theory**
63+
- A biography of Georg Cantor, who revolutionized mathematics with the development of set theory and the concept of infinity. This article covers his breakthroughs and the controversies surrounding his work.
64+
65+
- **TODO: Kurt Gödel: Incompleteness Theorem and the Limits of Mathematics**
66+
- Explore the life and work of Kurt Gödel, known for his incompleteness theorems, which shook the foundations of mathematical logic. The article also touches on Gödel's close relationship with Einstein and his philosophical views.
67+
68+
## Final Thoughts
69+
70+
The contributions of these mathematicians have left an indelible mark on the world of mathematics and beyond. Their innovative ideas continue to shape the way we understand complex systems, logic, and the physical world. Whether through the development of fundamental theorems or new branches of mathematics, their legacies are firmly rooted in history, inspiring future generations of mathematicians.
Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
---
2+
author_profile: false
3+
categories:
4+
- Machine Learning
5+
classes: wide
6+
date: '2024-08-31'
7+
excerpt: Explore adaptive performance estimation techniques in machine learning, including
8+
methods like CBPE and PAPE. Learn how these approaches help monitor model performance
9+
and detect issues like data drift and covariate shift.
10+
header:
11+
image: /assets/images/data_science_8.jpg
12+
og_image: /assets/images/data_science_9.jpg
13+
overlay_image: /assets/images/data_science_8.jpg
14+
show_overlay_excerpt: false
15+
teaser: /assets/images/data_science_8.jpg
16+
twitter_image: /assets/images/data_science_9.jpg
17+
keywords:
18+
- Adaptive performance estimation
19+
- Machine learning monitoring
20+
- Cbpe
21+
- Pape
22+
- Data drift detection
23+
- Covariate shift management
24+
- Model performance tracking
25+
seo_description: Learn about adaptive performance estimation in machine learning with
26+
a focus on methods like CBPE and PAPE. Understand how to manage performance monitoring,
27+
data drift, and covariate shift for better model outcomes.
28+
seo_title: 'Adaptive Machine Learning Performance Estimation: CBPE and PAPE'
29+
seo_type: article
30+
summary: This article dives into adaptive performance estimation techniques in machine
31+
learning, comparing methods such as Confidence-Based Performance Estimation (CBPE)
32+
and Predictive Adaptive Performance Estimation (PAPE). It covers their roles in
33+
detecting data drift, covariate shift, and maintaining optimal model performance.
34+
tags:
35+
- Machine learning
36+
- Performance monitoring
37+
- Data drift
38+
- Covariate shift
39+
- Cbpe
40+
- Pape
41+
title: 'Adaptive Performance Estimation in Machine Learning: From CBPE to PAPE'
42+
---
43+
44+
Monitoring the performance of Machine Learning (ML) models post-deployment is crucial to ensure they continue to provide value. While performance can be directly calculated when labels are available immediately after prediction, this is often not the case. Labels may be delayed or unavailable, necessitating alternative monitoring strategies. Mature data science teams often monitor changes in input data distribution as a proxy for performance stability. However, data drift is common and does not always negatively impact performance. Existing methods that measure input data drift struggle to accurately quantify its impact, even when used in complex models. This motivates our research into more effective algorithms.
45+
46+
In this article, we introduce the Probabilistic Adaptive Performance Estimation (PAPE) algorithm, designed to estimate the performance of classification models without labels under covariate shift. We will also compare it with its predecessor, Confidence-based Performance Estimation (CBPE).
47+
48+
## Understanding Data Drift and Covariate Shift
49+
50+
Data drift refers to changes in the statistical properties of input data over time. This can happen due to various reasons such as seasonal effects, changes in user behavior, or external events. Covariate shift is a specific type of data drift where the input data distribution $P(X)$ changes, but the conditional distribution of the target given the input $P(Y|X)$ remains the same.
51+
52+
To illustrate these concepts, let's consider a credit default model. This binary classifier uses a continuous feature—credit applicant’s income. Here, $X$ represents the income, and $P(X) = P(x)$. The target $Y$ can be 0 (no default) or 1 (default). The concept $P(y=1|x)$ is the probability of default given the income.
53+
54+
## Example Scenario: Credit Default Model
55+
56+
In our example, the input distribution $P(x)$ and the concept $P(y=1|x)$ are as follows:
57+
58+
- The income is normally distributed with a mean of 80 kEUR.
59+
- The probability of default is high (95%) for low incomes (0 kEUR) and decreases sigmoidally, reaching 5% for incomes above 200 kEUR. The default probability is 50% at around 80 kEUR.
60+
61+
The classifier's predicted probabilities, $\hat{p} = f(x)$, approximate the true concept. A well-trained model should predict probabilities close to the true $P(y=1|x)$, although it may underperform in regions with sparse data.
62+
63+
## From Predicted Probabilities to Performance Metrics
64+
65+
Predicted probabilities are often converted into binary predictions using a threshold. For instance, if $f(x) > 0.5$, the model predicts a default ($\hat{y} = 1$); otherwise, it predicts no default ($\hat{y} = 0$). This thresholding helps in calculating performance metrics like accuracy.
66+
67+
Under covariate shift, while the conditional distribution $P(Y|X)$ remains unchanged, the input distribution $P(X)$ shifts. For example, if the income distribution shifts towards higher values, the distribution of predicted probabilities will also shift.
68+
69+
## Confidence-Based Performance Estimation (CBPE)
70+
71+
The CBPE method relies on the intuition that high-confidence predictions (probabilities close to 0 or 1) are more likely to be correct. For CBPE:
72+
73+
- Raw predicted probabilities from a classifier are calibrated using a calibrator $c$, typically a regressor trained on predicted probabilities and true labels.
74+
- The calibrated probability $c(\hat{p})$ represents the expected probability of a positive label.
75+
- Given calibrated probabilities, performance metrics can be estimated without labels. For instance, if $c(\hat{p})=0.9$ for a positive prediction, we expect 0.9 True Positives and 0.1 False Positives.
76+
77+
## Probabilistic Adaptive Performance Estimation (PAPE)
78+
79+
PAPE extends CBPE to handle shifts in data distributions more effectively. It uses Importance Weighting (IW) to adjust for covariate shifts. The key steps are:
80+
81+
1. Estimate the density ratio $P(X)_{\text{shifted}} / P(X)_{\text{reference}}$ to understand how the input distribution has changed.
82+
2. Train a Density Ratio Estimation (DRE) classifier to distinguish between reference and shifted data, using this classifier to assign weights to observations.
83+
3. The PAPE calibrator uses these weights to adapt to the shifted distribution, ensuring that calibrated probabilities remain accurate under the new distribution.
84+
85+
## Comparing CBPE and PAPE
86+
87+
Let’s consider different scenarios of covariate shift and compare the performance estimates from CBPE and PAPE:
88+
89+
| Covariate Shift Description | CBPE Accuracy Estimate | PAPE Accuracy Estimate | True Accuracy (Oracle) |
90+
|--------------------------------------|------------------------|------------------------|------------------------|
91+
| Shift in income distribution | 0.76 | 0.76 | 0.76 |
92+
| Shift in applicant's sex distribution| 0.69 | 0.74 | 0.74 |
93+
| Shift in both income and sex distribution | 0.76 | 0.87 | 0.87 |
94+
95+
In scenarios with strong covariate shifts, PAPE provides more accurate performance estimates than CBPE by adapting to the new data distribution.
96+
97+
## Importance of Calibration
98+
99+
Calibration ensures that predicted probabilities reflect the true likelihood of an event. Perfectly calibrated models will have their predicted probabilities equal to the observed frequencies. This calibration is crucial for accurate performance estimation, especially under covariate shift.
100+
101+
## Conclusion
102+
103+
CBPE and PAPE are robust methods for performance estimation in ML models. While CBPE works well under mild shifts, PAPE excels in scenarios with significant covariate shifts by adapting the calibration process. PAPE's adaptive nature makes it a preferable choice for environments with dynamic data distributions.
104+
105+
For real-world applications, PAPE offers a reliable way to monitor model performance without relying on immediate label availability, making it a valuable tool for data scientists and engineers.

0 commit comments

Comments
 (0)