Calibration for deep learning models

Posted on June 20, 2020

Wikipedia’s definition for calibration is calibration is the comparison of measurement values delivered by a device under test with those of a calibration standard of known accuracy. Put in a context that means that the distribution of predicted probabilities is similar to the distribution observed probabilities in training data. If we rephrase it again means that if your model is predicting cat vs dog and the model states that a given image is a cat with 70% probability then theRead More

Worth mentioning II: PhD survival guide, ergodicity, death after 75, content marketing, and email marketing

Posted on May 16, 2020

This is the continuation of the worth mentioning experiment where I shared links that I deemed important to be kept for future references. A graduate school survival guide: “So long, and thanks for the Ph.D!: On this essay Ronald Azuma states the path to a successful PhD defense. He states a few things that may seem obvious be we often forget. He is not arguing in favor of a PhD title, he simply states that what works for some mayRead More

Europe can do better and you know it

Posted on May 5, 2020

Europe for many centuries has been the center of the world. The cradle of the current civilization and the spark that ignited the fire of industrialization. We got into a position where we got comfortable. Across many centuries European countries colonized the world leaving a huge mark still noticeable nowadays. But we got complacent. Luckily we didn’t come to a grinding halt. It takes time to slow down. We were the first countries to be industrialized and keep progressing atRead More

Tired of self empowerment

Posted on April 25, 2020

We are living in a hyperventilated society. Entrepreneurs, makers, all of us. There was a time where truly big people were defined by their achievements in life, the accumulated experiences. Now, this has changed. It does not really matter anymore. Your current projection is what matters. What are you doing? Where are you going? Don’t stop! Otherwise, you’re suspicious. What is that person doing standing still? It’s disturbing. Suspicious. Very suspicious. No one will truly believe that you’re resting, thinking,Read More

Book summary: How Asia works by Joe Studwell

Posted on April 13, 2020

Many years ago (around 7) I read poor economics. It was a book about developing nations and what challenges they are facing. I even did a review in Spanish. This is a topic that aligns with my quest for a better world. Joe Studwell, in the book How Asia works, analyzes different Asian countries. He analyses Japan, South Korea, Taiwan, Indonesia, Malaysia, Thailand, the Philippines, Vietnam, and China. Comparing the rights and wrong each country did and what they couldRead More

10 Interesting Conversation Starters from Vanessa Van Edwards

Posted on April 4, 2020

Ten questions: 1) What is one thing that you have always wanted to try but never have? Why haven’t you done it yet? 2) What has been the highlight of your year so far? 3) What book or movie character do you most relate to? 4) What is your biggest regret? 5) What do you daydream about? 6) Who would you play in a movie? 7) If you could trade places with anyone for 1 week, who would it be?Read More

We got the trolley dilemma wrong

Posted on March 27, 2020

The trolley dilemma or trolley problem is a thought experiment in ethics. The problem states that we have a trolley on railway tracks going directly towards five people. They are tight to the tracks and therefore cannot move. The trolley is also unstoppable. You are standing next to a lever with a full picture of the situation. If you pull the lever the trolley will switch to a new set of rails. However, the new direction has one person tiedRead More

How to add ROC AUC as a metric in Tensorflow / Keras

Posted on March 19, 2020

The way to add the ROC AUC as a metric on your Tensorflow / Keras project is to copy this function that computes the ROC AUC and use the function name in the model. The function only requires a little customized tf code. To use the function in the model. We first need to compile with the function passed directly and not a string (as it is shown in the example below). Then we can use it in the callbacksRead More

How to insert code snippets in WordPress or any other website

Posted on March 11, 2020

I was recently struggling to insert code snippets into this blog. I tried SyntaxHighlighter Evolved among others. And I didn’t like the outcome… (CSS is messed up?). The way to go? 1. Create a Gist thanks to Github ( ) 2. Copy the embedded JS script they offer you after publishing the code snippet. 3. Put it on your website Nice, isn’t it?

Forcing the disagreement

Posted on March 8, 2020

Currently, the idea that the crowd is wiser than any single individual is widely spread. Places like Wikipedia and Quora rely on the network effect of the internet to benefit from collective human knowledge. The idea behind this is that the aggregated knowledge of the population is able to find the right answer and cancel out the noise. But the crowd may not be wise. The un-wiseness may be caused by the herd mentality. Once several people group together andRead More