Author: shotlefttodatascience

  • 3Blue1Brown – thank you!

    This resource was just recommended via Coursera Mathematics for Machine Learning: Linear Algebra, and all I can say is WOW! Animated math: it’s slick, it’s professional, it’s cute, it makes you smile – and it makes it all seem so obvious :). I can heartily recommend you take the time if you need help on Linear Algebra. In…

  • Linear algebra

    It’s started! The long-awaited Mathematics for Machine Learning: Linear Algebra – and it was worth waiting for – great lectures and coursework so far… So excited to be learning this stuff :).

  • Visualization seems to be a thing…?

    Are people craving interesting ways to visualize data? When I tell people I’m studying data science it seems to be the first thing that springs to mind – so I’m getting good practice in that area! Next challenge: map visualizations…  

  • Polar bar chart challenge

    A big thanks to ujubee.com for challenging me to create a polar bar chart last week – I hadn’t done one of these before, but the matplotlib polar_bar_demo documentation was most excellent – and you can see from the test sample below that the results are very pretty! If you’re interested in a bit more…

  • Conditional probability refresher

    Probability is always… A number between 1 (certain) and 0 (impossible): The probability experiment This is process that can be repeated and in which the outcome will be uncertain, for example rolling a dice, tossing a coin, or selecting a card from a pack. The sample space This is the set of all possible outcomes…

  • My 1st Dashboard :)

      15 buildings, 35 aspects per building, each weighted according to importance, and then condensed into 6 key categories, with colour coding depending on how the results tumble out. What helped me get the final result? Pandas to import data from spreadsheet extract only the data I need manipulate it so we end up with…

  • Snippets

    Small things that drove me nuts – and how they were resolved… an ever-expanding list, no doubt 🙂    Issue  Solution  Source plt.savefig() saves an empty picture or a cut-off picture plt.savefig() should be placed BEFORE plt.show() to prevent this happening  Stackoverflow solution Pandas prints pie chart labels and a legend which is redundant To lose…

  • Natural sorting

    The joys of real world data… I received a file today with building floors: 1st, 2nd, 3rd, all the way to 22nd… Regular sorting quickly got me nowhere, with results that started 10th, 11th, 12th, 13th, 14th, 15th, 16th, 17th, 18th, 19th, 1st, 22nd, etc. This led to my discovery of the most marvellous natsort…

  • Matplotlib gallery

    Matplotlib gallery – the possibilities seem near endless… A great starting point when trying to figure out how to get the result you imagine!