avatar

KZK's blog

Lead engineer

Draw 24-08-2020 - Lightbulb doodle

![](./images/Ilustración_sin_título 3.png)`

Draw 25-08-2020

What is Machine Learning

What is Machine Learning? 🔗Machine learning, is just another way of writing programs. A program can be represented by an input, a set of rules or statements (the program) and an outcome. The traditional way of writings software is to recollect the behavior of the system from the users, and write the rules that matches this behavior. For most problems this works well, but for some other it’s really hard.

Broken window

from wikipedia: The broken windows theory is a criminological theory that states that visible signs of crime, anti-social behavior, and civil disorder create an urban environment that encourages further crime and disorder. Basically is a way of saying that if there is a show of bad habit in a group, it will spread and go deeper. Why? easy! If I have to do an effort to do an effort to makke things properly, For example once I finished my card, I know that I should is to refactor the code so it’s clear for next person.

Lottery Ticket Hypothesis

The lottery ticket hypothesis says: A randomly initialized, dense neural network contains a sub-network that is initialized such that, when trained in isolation, can match the test accuracy of the original network after training for at most the same number of iterations. This hypothesis can be used for Network pruning, by doing the following. Train the big network Detect the sub-network of the lottery ticket, we can do that by pruning, once pruned we will have a smaller network but our accuracy would have also decreased Get the random initialized values for the subnetwork.

Mutation Testing

Mutation testing is a technique to know how well your tests are saving you from deploying mistakes. The goal is very similar to Code Coverage, to have a metric that guide us to know how confident we can be with our code. They differ in the way you define the metric in Code Coverage you execute the tests, and check which statements where executed during the test suite execution in Mutation testing, the library is going to execute the tests multiple times, but slightly changing the code.

Second Order thinking

Our actions have consequences that normally we can predict, this is First order thinking, but we want also to understand the ripples that our actions that might eclipse the benefits first order benefit. People don’t consider the effects of the effects Always ask yourself “And then what?” Second order thinking is not predicting the future, you can only predict likely events that will occur with the information you have now.

Mental Models

title: First Principle date: 2020-08-04 00:00:00 First principles is the principles we use to build understanding on top of them. If we never learn to take something apart, test our assumptions about it and reconstruct it, we end up bound by what other people tell us, trapped in the ways things have always been done. When the environment changes. we just continue as if things were the same, making costly mistakes along the way

None

Five Why’s 🔗It’s a way to depth on what you know, and what you don’t know. trying to understand the world as a 5 year does. Asking compulsively Why every time. The idea is to get the main idea we want to deep, and ask Why is this true? and what ever the answer is, ask again: Why? If in any of the answers you get to a “cause this is how it is” or Cause yes.

None

the map of reality is not reality. not the best map. if it was so accurate it will also continue the map itself and would be as complex as reality maps are reductions of reality. to help us to understand the reality and make decisions without having to understand all the territory. most of the times we just need good enough information the truth is we can only navigate the complex reality through some abstraction.