Liz Sander - Software Library APIs: Lessons Learned from scikit-learn

Liz Sander - Software Library APIs: Lessons Learned from scikit-learn

When you think of an API, you’re probably thinking about a web service. But it’s important to think about your developer interface when designing a software library as well! I’ll talk about the scikit-learn package, and how its API makes it easy to construct complex models from simple building blocks, using three basic pieces: transformers, estimators, and meta-estimators. Then I’ll show how this interface enabled us to construct our own meta-estimator for model stacking. This will demonstrate how to implement new modeling techniques in a scikit-learn style, and more generally, the value of writing libraries with the developer interface in mind.

https://us.pycon.org/2018/schedule/presentation/76/

De174d82b2bbfe9e6f14a5a8c38b14be?s=128

PyCon 2018

May 11, 2018
Tweet