BDA-602 - Machine Learning Engineering

Dr. Julien Pierret

Lecture 3

A proper main


              
  • The entrypoint into your code

Classes

  • Constructor def __init__(self):
  • Destructor def __del__(self):
  • Class methods

Classes - Inheritance


            

Classes - Multiple Inheritance


            
  • There are ways to do this with super() too
    • But order matters

Classes - Parent method overriding


            

Debugging

  • Stepping through code
  • Debugging to aid in writing
  • List comprehension
  • Private/Public Methods
  • Decorators
    • @staticmethod
    • @property