Skip to content

Commit 0d1471a

Browse files
committed
Merge branch 'master' into feat/reserve_branche
2 parents f656768 + a9310a2 commit 0d1471a

26 files changed

+965
-25
lines changed

.github/workflows/jekyll.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,6 @@ jobs:
3939
ruby-version: '3.3' # Not needed with a .ruby-version file
4040
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
4141
cache-version: 0 # Increment this number if you need to re-download cached gems
42-
- name: Setup Node
43-
uses: actions/setup-node@v4
44-
with:
45-
node-version: '20'
46-
- name: Install Node dependencies
47-
run: npm ci
48-
- name: Lint CSS
49-
run: npm run lint:css
5042
- name: Setup Pages
5143
id: pages
5244
uses: actions/configure-pages@v5

README.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -73,22 +73,19 @@ GitHub Actions already runs these commands automatically during deployments.
7373

7474
# ToDo
7575

76-
Have a consistency in the font and font sizes (ideally you want to use 2 fonts. One for the header/subtitle and one for the text. You can use this kind of website https://fontjoy.com/ which allow you to pair fonts).
76+
~~Have a consistency in the font and font sizes (ideally you want to use 2 fonts. One for the header/subtitle and one for the text. You can use this kind of website https://fontjoy.com/ which allow you to pair fonts).~~
7777

7878
Choose a few main colours for your site (I would suggest black/white/grey but not in solid. You can also use this kind of site: https://coolors.co/palettes/popular/2a4849).
7979

80-
Reduce then size of the homepage top image (ideally you want your first articles to be visible on load and not hidden below the fold).
80+
~~Reduce then size of the homepage top image (ideally you want your first articles to be visible on load and not hidden below the fold).~~
8181

82-
Restyle your links (ideally the link should be back with no underline and you add a css style on hover)
82+
~~Restyle your links (ideally the link should be back with no underline and you add a css style on hover)~~
8383

84-
Center pagination
84+
~~Center pagination~~
8585

86-
Restyle your article detail page breadcrumbs. You want them to be less visible (I would suggest a light grey colour here)
86+
~~Restyle your article detail page breadcrumbs. You want them to be less visible (I would suggest a light grey colour here)~~
8787

8888
Right now at the top of the detail page, you have your site breadcrumbs, a title then another title and the font sizes are a bit off and it is hard to understand the role of the second title. I would reorganise this to provide a better understanding to the reader
89-
9089
On the detail page, I would suggest you put the `You may also enjoy` straight at the end of the article. Right now it is after comments and you can lose engagement on your site.
91-
9290
I would suggest you remove your description from the detail page. I think having it on the home page is enough. You can have a smaller introduction if needed with a read more button or link that will take the reader to a full page description of yourself and your skillset. That will allow you to tell more about yourself and why you do what you do
93-
9491
I will create card article with a hover animation (add some shape and background colour and ideally a header image for the card. The graphs you show me last week for example.)

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
# theme : "minimal-mistakes-jekyll"
1414
remote_theme : "mmistakes/[email protected]"
15-
minimal_mistakes_skin : "dark" #"dark" "default" # "air", "aqua", "contrast", "dark", "dirt", "neon", "mint", "plum", "sunrise"
15+
minimal_mistakes_skin : "air" #"dark" "default" # "air", "aqua", "contrast", "dark", "dirt", "neon", "mint", "plum", "sunrise"
1616

1717
# Site Settings
1818
locale : "en"

_includes/head.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<!-- Google Fonts -->
2121
<link rel="preconnect" href="https://fonts.googleapis.com">
2222
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
23-
<link href="https://fonts.googleapis.com/css2?family=Cardo&display=swap" rel="stylesheet">
23+
<link href="https://fonts.googleapis.com/css2?family=Lora:wght@400;700&family=Roboto:wght@400;700&display=swap" rel="stylesheet">
2424

2525
{% if site.head_scripts %}
2626
{% for script in site.head_scripts %}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
author_profile: false
3+
categories:
4+
- Statistics
5+
classes: wide
6+
date: '2020-11-05'
7+
excerpt: An introduction to probability theory concepts every data scientist should know.
8+
header:
9+
image: /assets/images/data_science_10.jpg
10+
og_image: /assets/images/data_science_10.jpg
11+
overlay_image: /assets/images/data_science_10.jpg
12+
show_overlay_excerpt: false
13+
teaser: /assets/images/data_science_10.jpg
14+
twitter_image: /assets/images/data_science_10.jpg
15+
keywords:
16+
- Probability theory
17+
- Random variables
18+
- Distributions
19+
- Data science
20+
seo_description: Learn the core principles of probability theory, from random variables to common distributions, with practical examples for data science.
21+
seo_title: 'Probability Theory Basics for Data Science'
22+
seo_type: article
23+
summary: This post reviews essential probability concepts like random variables, expectation, and common distributions, illustrating how they underpin data science workflows.
24+
tags:
25+
- Probability
26+
- Statistics
27+
- Data science
28+
title: 'Probability Theory Basics for Data Science'
29+
---
30+
31+
Probability theory provides the mathematical foundation for modeling uncertainty. By understanding random variables and probability distributions, data scientists can quantify risks and make informed decisions.
32+
33+
## Random Variables and Distributions
34+
35+
A random variable assigns numerical values to outcomes in a sample space. Key distributions such as the binomial, normal, and Poisson describe how probabilities are spread across possible outcomes. Knowing these distributions helps in selecting appropriate models and estimating parameters.
36+
37+
## Expectation and Variance
38+
39+
Two fundamental measures of a random variable are its **expected value** and **variance**. The expected value represents the long-run average, while the variance measures how spread out the outcomes are. These metrics are critical for evaluating models and comparing predictions.
40+
41+
Mastering probability theory enables data scientists to better interpret model outputs and reason about uncertainty in real-world applications.
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
author_profile: false
3+
categories:
4+
- Data Science
5+
classes: wide
6+
date: '2020-11-10'
7+
excerpt: Understand how simple linear regression models the relationship between two variables using a single predictor.
8+
header:
9+
image: /assets/images/data_science_11.jpg
10+
og_image: /assets/images/data_science_11.jpg
11+
overlay_image: /assets/images/data_science_11.jpg
12+
show_overlay_excerpt: false
13+
teaser: /assets/images/data_science_11.jpg
14+
twitter_image: /assets/images/data_science_11.jpg
15+
keywords:
16+
- Linear regression
17+
- Least squares
18+
- Data analysis
19+
seo_description: Discover the mechanics of simple linear regression and how to interpret slope and intercept when fitting a straight line to data.
20+
seo_title: 'A Primer on Simple Linear Regression'
21+
seo_type: article
22+
summary: This article introduces simple linear regression and the least squares method, showing how a single predictor explains variation in a response variable.
23+
tags:
24+
- Regression
25+
- Statistics
26+
- Data science
27+
title: 'A Primer on Simple Linear Regression'
28+
---
29+
30+
Simple linear regression is a foundational technique for modeling the relationship between a predictor variable and a response variable. By fitting a straight line, we can quantify how changes in one variable are associated with changes in another.
31+
32+
## The Least Squares Method
33+
34+
The most common approach to estimating the regression line is **ordinary least squares (OLS)**. OLS finds the line that minimizes the sum of squared residuals between the observed data points and the line's predictions. The slope indicates the strength and direction of the relationship, while the intercept shows the expected value when the predictor is zero.
35+
36+
Understanding simple linear regression is a stepping stone toward more complex modeling techniques, providing crucial intuition about correlation and causation.
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
author_profile: false
3+
categories:
4+
- Statistics
5+
classes: wide
6+
date: '2020-11-20'
7+
excerpt: Explore the fundamentals of Bayesian inference and how prior beliefs combine with data to form posterior conclusions.
8+
header:
9+
image: /assets/images/data_science_12.jpg
10+
og_image: /assets/images/data_science_12.jpg
11+
overlay_image: /assets/images/data_science_12.jpg
12+
show_overlay_excerpt: false
13+
teaser: /assets/images/data_science_12.jpg
14+
twitter_image: /assets/images/data_science_12.jpg
15+
keywords:
16+
- Bayesian statistics
17+
- Priors
18+
- Posterior distributions
19+
- Data science
20+
seo_description: An overview of Bayesian inference, demonstrating how to update prior beliefs with new evidence to make data-driven decisions.
21+
seo_title: 'Bayesian Inference Explained'
22+
seo_type: article
23+
summary: Learn how Bayesian inference updates prior beliefs into posterior distributions, providing a flexible framework for reasoning under uncertainty.
24+
tags:
25+
- Bayesian
26+
- Inference
27+
- Statistics
28+
title: 'Bayesian Inference Explained'
29+
---
30+
31+
Bayesian inference offers a powerful perspective on probability, treating unknown quantities as distributions that update when new evidence appears.
32+
33+
## Priors and Posteriors
34+
35+
The process begins with a **prior distribution** that captures our initial beliefs about a parameter. After observing data, we apply Bayes' theorem to obtain the **posterior distribution**, reflecting how our beliefs should change.
36+
37+
## Why Use Bayesian Methods?
38+
39+
Bayesian techniques are particularly useful when data is scarce or when incorporating domain knowledge is essential. They provide a coherent approach to uncertainty that can complement or outperform classical methods in many situations.
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
author_profile: false
3+
categories:
4+
- Statistics
5+
classes: wide
6+
date: '2020-11-25'
7+
excerpt: See how hypothesis testing helps draw meaningful conclusions from data in practical scenarios.
8+
header:
9+
image: /assets/images/data_science_13.jpg
10+
og_image: /assets/images/data_science_13.jpg
11+
overlay_image: /assets/images/data_science_13.jpg
12+
show_overlay_excerpt: false
13+
teaser: /assets/images/data_science_13.jpg
14+
twitter_image: /assets/images/data_science_13.jpg
15+
keywords:
16+
- Hypothesis testing
17+
- P-values
18+
- Significance
19+
- Data science
20+
seo_description: Learn how to apply hypothesis tests in real-world analyses and avoid common pitfalls when interpreting p-values and confidence levels.
21+
seo_title: 'Applying Hypothesis Testing in the Real World'
22+
seo_type: article
23+
summary: This post walks through frequentist hypothesis testing, showing how to formulate null and alternative hypotheses and interpret the results in practical data science tasks.
24+
tags:
25+
- Hypothesis testing
26+
- Statistics
27+
- Experiments
28+
title: 'Applying Hypothesis Testing in the Real World'
29+
---
30+
31+
Hypothesis testing allows data scientists to objectively assess whether an observed pattern is likely due to chance or reflects a genuine effect.
32+
33+
## Null vs. Alternative Hypotheses
34+
35+
Every test starts with a **null hypothesis**, representing the status quo, and an **alternative hypothesis**, representing a potential effect. By choosing a significance level and calculating a p-value, we can decide whether to reject the null hypothesis.
36+
37+
## Common Pitfalls
38+
39+
Misinterpreting p-values or failing to consider effect sizes can lead to misguided conclusions. Always pair statistical significance with domain context to ensure results are meaningful.
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
author_profile: false
3+
categories:
4+
- Data Science
5+
classes: wide
6+
date: '2020-11-30'
7+
excerpt: Discover best practices for creating clear and compelling data visualizations that communicate insights effectively.
8+
header:
9+
image: /assets/images/data_science_14.jpg
10+
og_image: /assets/images/data_science_14.jpg
11+
overlay_image: /assets/images/data_science_14.jpg
12+
show_overlay_excerpt: false
13+
teaser: /assets/images/data_science_14.jpg
14+
twitter_image: /assets/images/data_science_14.jpg
15+
keywords:
16+
- Data visualization
17+
- Charts
18+
- Communication
19+
- Best practices
20+
seo_description: Guidelines for selecting chart types, choosing colors, and avoiding clutter when visualizing data for stakeholders.
21+
seo_title: 'Data Visualization Best Practices'
22+
seo_type: article
23+
summary: Learn how to design effective visualizations by focusing on clarity, appropriate chart selection, and thoughtful use of color and labels.
24+
tags:
25+
- Visualization
26+
- Data science
27+
- Communication
28+
title: 'Data Visualization Best Practices'
29+
---
30+
31+
Effective data visualization bridges the gap between complex datasets and human understanding. Following proven design principles ensures that your charts highlight the important messages without distractions.
32+
33+
## Choosing the Right Chart
34+
35+
Different data types call for different chart styles. Use bar charts for comparisons, line charts for trends, and scatter plots for relationships. Avoid pie charts when precise comparisons are needed.
36+
37+
## Keep It Simple
38+
39+
Cluttered visuals can obscure the message. Limit the number of colors and remove unnecessary grid lines or 3D effects. Focus the audience's attention on the key insights.
40+
41+
Clear and concise visualizations help stakeholders grasp findings quickly, making your analyses more persuasive and actionable.
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
author_profile: false
3+
categories:
4+
- Data Science
5+
classes: wide
6+
date: '2021-10-05'
7+
excerpt: Learn how to design robust data preprocessing pipelines that prepare raw data for modeling.
8+
header:
9+
image: /assets/images/data_science_6.jpg
10+
og_image: /assets/images/data_science_6.jpg
11+
overlay_image: /assets/images/data_science_6.jpg
12+
show_overlay_excerpt: false
13+
teaser: /assets/images/data_science_6.jpg
14+
twitter_image: /assets/images/data_science_6.jpg
15+
keywords:
16+
- Data preprocessing
17+
- Pipelines
18+
- Data cleaning
19+
- Feature engineering
20+
seo_description: Discover best practices for building reusable data preprocessing pipelines that handle missing values, encoding, and feature scaling.
21+
seo_title: Building Data Preprocessing Pipelines for Reliable Models
22+
seo_type: article
23+
summary: This post outlines the key steps in constructing data preprocessing pipelines using tools like scikit-learn to ensure consistent model inputs.
24+
tags:
25+
- Data preprocessing
26+
- Machine learning
27+
- Feature engineering
28+
title: Designing Effective Data Preprocessing Pipelines
29+
---
30+
31+
Real-world datasets rarely come perfectly formatted for modeling. A well-designed **data preprocessing pipeline** ensures that you apply the same transformations consistently across training and production environments.
32+
33+
## Handling Missing Values
34+
35+
Start by assessing the extent of missing data. Common strategies include dropping incomplete rows, filling numeric columns with the mean or median, and using the most frequent category for categorical features.
36+
37+
## Encoding Categorical Variables
38+
39+
Many machine learning algorithms require numeric inputs. Techniques like **one-hot encoding** or **ordinal encoding** convert categories into numbers. Scikit-learn's `ColumnTransformer` allows you to apply different encoders to different columns in a single pipeline.
40+
41+
## Scaling and Normalization
42+
43+
Scaling features to a common range prevents variables with large magnitudes from dominating a model. Standardization (mean of zero, unit variance) is typical for linear models, while min-max scaling keeps values between 0 and 1.
44+
45+
## Putting It All Together
46+
47+
Use scikit-learn's `Pipeline` to chain preprocessing steps with your model. This approach guarantees that the exact same transformations are applied when predicting on new data, reducing the risk of data leakage and improving reproducibility.

0 commit comments

Comments
 (0)