Notes on good ideas for organizing and developing a Python project. […]
Continue reading [View source ]CartPole-v0
Solve the CartPole-v0
from
OpenAI gym
using Q-learning with experience resampling.
[…]
In this git repository I show the unsupervised learning trick on the mnist data using a Random Forest. It works sorta ok. […]
Continue reading [View source ]An example of how to cluster numerical features using their correlation. […]
Continue reading [View source ]A list of references to blog posts, articles, books etc. I find nice. […]
Continue reading [View source ]An app used to display real estate data in Denmark. […]
Continue reading [View source ]Commands to run a minimal docker container. […]
Continue reading [View source ]The haversine distance can be used to calculate the distance between two points on a sphere. Here is my derivation of it. […]
Continue reading [View source ]tqdm
is a nice Python module
for creating a progressbar when processing a list of items. […]
While working at Maersk there was a power-to-speed model used for planning, basically a polynomial inferred from a regression, taking in some extra inputs besides power and outputting speed. For this model there was defined valid input power levels. In this post I will talk about my thoughts on why it seems useful to define the operational range AND data type of an inferred function in an operational setting. […]
Continue reading [View source ]Hodrick-Prescott filtering is a filtering method. A filtering method can be used to find \(x_t\) given \(x_1,\dots,x_t\). In this post we will go through a simple filtering example with Hodrick-Prescott filtering. […]
Continue reading [View source ]A presentation I did on the book Machine Learning Yearning by Andrew Ng using remark.js. […]
Continue reading [View source ]Random variables have an intuitive definition, but might not fully cover the intuitive concept of independence. […]
Continue reading [View source ]The pipeline object in sklearn makes it easy to sequentially apply a list of transforms and a final estimator [1]. This makes it easy to organize models. PySpark has a similar pipeline API but there are some differences. […]
Continue reading [View source ]The Monty Hall problem is an awesome brain teaser […]
Continue reading [View source ]While working at Maersk I went to PyData 2019. I found two presentations very useful and I have used learnings from both in my day job. […]
Continue reading [View source ]Some useful patterns / tricks I find myself using at work. […]
Continue reading [View source ]Broadcasting a variable is useful for repeatedly used read-only variables in an application […]
Continue reading [View source ]The gradient descent algorithm and its variants are some of the most widely used optimization algorithms in machine learning today. In this post a super simple example of gradient descent will be implemented. […]
Continue reading [View source ]Leave one out encoding is a new feature encoding technique used by a Kaggle Grandmaster […]
Continue reading [View source ]Giving an estimate of generalization error in Machine Learning is vital. […]
Continue reading [View source ]In this post we will go through an example application of the XGBoost algorithm […]
Continue reading [View source ]In this post the famous AdaBoost algoritm will be implemented in R […]
Continue reading [View source ]Two sampling methods often applied in practice are: oversampling and undersampling. […]
Continue reading [View source ]The Perceptron by Rosenblat is one of the earliest machine learning algorithms. It was proposed as a model of an artificial neuron, and can be used for classification. […]
Continue reading [View source ]