the way it would work in this example would be as follows would have some sort of dataset of historical weatherand data about whether or not people went outside to play on particular day would feed the model this data of whether it was sunny or not on each daywhat the humidity wasand if it was windy or notand whether or not it was good day to go play outside given that training dataa decision tree algorithm can then arrive at tree that gives us flowchart that we can print out it looks just like the following flow chart you can just walk through and figure out whether or not it' good day to play outside based on the current attributes you can use that to predict the decision for new set of valueshow cool is thatwe have an algorithm that will make flowchart for you automatically just based on observational data what' even cooler is how simple it all works once you learn how it works