Ian Quah

Camp Counselor

An Informal Introduction to Monoids, Functors and Monads in the Context of Machine Learning

Event Logo

Monday, January 16, 2023 - 4:30 PM UTC, for 1 hour.

Regular, 60 minute presentation

Room: Campsite 1

Design Patterns

Most articles introducing monoids, functors, and monads do so in contrived or simple scenarios. Here we visit those concepts in real-world (or close to) scenarios to help you remember and see how these concepts can apply to your code and make things cleaner. By introducing more and more constraints and requirements, as often happens in real-world software, we will see first-hand how and when to apply these concepts. We go from a tangled spaghetti-code mess to clean abstractions that are extensible as your problems and requirements change over time. We introduce these concepts in the context of machine learning (while not going in-depth into ML) to give you a flavored introduction.


Familiarity with Python

Take Aways

  • Learn how to write cleaner software
  • Identify when and where category theory can be applicable to your real-world software problems
favorited by:
Katherine Sanders Kristjan Roosild Caleb Jenkins Eric Ewing Josh Gretz Kris Kirkland Taylor Morgan Mike Clement Arana Fireheart