Decision Trees Tutorial

Algobeans

Would you survive a disaster?

Certain groups of people, such as women and children, might be entitled to receiving help first, granting them a higher chance of survival. Knowing whether you belong to one of these privileged groups would help predict whether you would make it out alive. To identify which groups have higher survival rates, we can use decision trees.

While we forecast the rate of survival here, decision trees are used in a a wide range of applications. In the business setting, it can be used to define customer profiles or to predict who would resign.

Definition

A decision tree leads you to a prediction by asking a series of questions on whether you belong to certain groups (see Figure 1). Each question must only have 2 possible responses, such as “yes” versus “no”. You start at the top question, called the root node, then move through the tree branches according to…

View original post 746 more words

Downgrade pip

This saved my day today! 🙂

THA Pipeline

Wow, the new pip 8.1.2 is so horribly broken that it gives us all kinds of problems in our daily work, especially in combination with devpi. No idea how that could ever get released. For everyone encountering issues with it (failing to parse requirement strings, failing to install) I recommend the following line:

It will force a downgrade to 8.1.1 and you should be good to go again.

View original post