Grand Canyon National Park, United States.
Data mining
Feb 11, 2021 | 6 min read

Gradient Descent and Linear Regression

We implement linear regression using gradient descent, a general optimization technique which in this case can find the global minimum.

A magazine stand in Kiev, Ukraine.
Data mining
Feb 9, 2021 | 12 min read

Text Classification with Naive Bayes and NLTK

In the last post we talked about the theoretical side of naive Bayes in text classification. Here we will implement the model in Python, both from …

Solheimasandur plane wreck, Iceland.
Bayesian statistics
Feb 8, 2021 | 8 min read

Bayesian Inference for the Poisson Model

This lecture discusses Bayesian inference for the Poisson model, including conjugate prior specification, a different way to specify a "non-informative" prior, and relevant posterior summaries.

@markuswinkler from Unsplash.
Data mining
Feb 3, 2021 | 7 min read

Naive Bayes

We talk about one of the simplest classification methods, naive Bayes classifiers, and its applications in text classification. It's not really machine learning as we only need a single pass through the data to compute necessary values.

Person working on a test.
Bayesian statistics
Jan 25, 2021 | 18 min read

Bayesian Inference for the Binomial Model

The general procedure for Bayesian analysis. We use two different prior models and compare the resulting posteriors (visually and mathematically).

An iPhone under repair.
Bayesian statistics
Jan 18, 2021 | 11 min read

Frequentist Inference

A simple problem in the binomial setting solved under the frequentist view of statistics.

Bookstore in Warsaw, Poland.
Bayesian statistics
Jan 13, 2021 | 6 min read

Introduction to Bayesian Statistics

First lecture of the course, and a brief history of Bayesian statistics.

Sunset through waves.
Time series
Nov 23, 2020 | 15 min read

Conditional Heteroscedastic Models

Introducing volatility to our time series models. The properties and building procedures of ARCH and GARCH models are discussed.

Dimensions.
Linear algebra
Nov 18, 2020 | 20 min read

Eigenvalues and Eigenvectors

Probably the most important lecture in this course -- we start from the calculation of eigenvalues and eigenvectors, and move on to related topics such as the eigendecomposition, singular value decomposition, and the Moore-Penrose inverse.

Music mixing dials.
Time series
Nov 17, 2020 | 9 min read

Spectral Analysis

We talk about a method that helps us find the periodicity of a time series -- the spectral density.