Polymorphism Understand the Concept Behind Creating Custom Classes like Custom Transformers in Scikit-Learn.
Understand how Polymorphism and Duck Typing in Python class context.
If you have ever encountered a Scikit-Learn custom transformer, you are very likely familiar with this phenomenons above. Well, if that's the case this article is for you. We will dive into the concept called Polymorphism that enables such behavior, and we will build some custom classes to get some hands on experience and closer understanding.