The next session will focus on the philosopher-emperor Marcus Aurelius, in conjunction with the publication of the newest book of Stoic writer Donald Robertson: How to Think Like a Roman Emperor: The Stoic philosophy of Marcus Aurelius.
Marcus was the last emperor of the so called ‘Five-Good-Emperors’ period of the Roman Empire. He spent 12 years of his reign fighting the Germanic tribes on the border of the Empire (the same as seen at the beginning of the film Gladiator).
And, at nights in his tent, he wrote his most famous work Meditation (or ‘to himself’). Consequently, this book is a sort of diary and philosophic text. It contains an amazing recollection of the most important Stoic teachings plus the internal discussion of the emperor Marcus Aurelius, resulting in the most intimate, lonely and rational diary that you will ever encounter.
Let’s see a simple way to produce compute a linear regression using Python.
import matplotlib.pyplot as plt # To plot the graph
# Import a database to use in this case I choose the famous Iris database
import matplotlib.pyplot as plt
import pandas as pd
iris = pd.DataFrame(db.load_iris()['data'],
Let’s take two columns from the database and plot it: