Date: Sat, 30 Oct 2021 21:00:00 -0400
<div class="wp-block-jetpack-markdown"><h2>Summary</h2> <p>Every machine learning model has to start with feature engineering. This is the process of combining input variables into a more meaningful signal for the problem that you are trying to solve. Many times this process can lead to duplicating code from previous projects, or introducing technical debt in the form of poorly maintained feature pipelines. In order to make the practice more manageable Soledad Galli created the feature-engine library. In this episode she explains how it has helped her and others build reusable transformations that can be applied in a composable manner with your scikit-learn projects. She also discusses the importance of understanding the data that you are working with and the domain in which your model will be used to ensure that you are selecting the right features.</p> <h2>Announcements</h2> <ul> <li>Hello and welcome to Podcast.__init__, the podcast about Python’s role in data and science.</li> <li>When you’re ready to launch your next app or want to try a project you hear about on the show, you’ll need somewhere to deploy it, so take a look at our friends over at Linode. With the launch of their managed Kubernetes platform it’s easy to get started with the next generation of deployment and scaling, powered by the battle tested Linode platform, including simple pricing, node balancers, 40Gbit networking, dedicated CPU and GPU instances, and worldwide data centers. Go to <a href="https://www.pythonpodcast.com/linode?utm_source=rss&utm_medium=rss">pythonpodcast.com/linode</a> and get a $100 credit to try out a Kubernetes cluster of your own. And don’t forget to thank them for their continued support of this show!</li> <li>Your host as usual is Tobias Macey and today I’m interviewing Soledad Galli about feature-engine, a Python library to engineer features for use in machine learning models</li> </ul> <h2>Interview</h2> <ul> <li>Introductions</li> <li>How did you get introduced to Python?</li> <li>Can you describe what feature-engine is and the story behind it?</li> <li>What are the complexities that are inherent to feature engineering? <ul> <li>What are the problems that are introduced due to incidental complexity and technical debt?</li> </ul> </li> <li>What was missing in the available set of libraries/frameworks/toolkits for feature engineering that you are solving for with feature-engine?</li> <li>What are some examples of the types of domain knowledge that are needed to effectively build features for an ML model?</li> <li>Given the fact that features are constructed through methods such as normalizing data distributions, imputing missing values, combining attributes, etc. what are some of the potential risks that are introduced by incorrectly applied transformations or invalid assumptions about the impact of these manipulations?</li> <li>Can you describe how feature-engine is implemented? <ul> <li>How have the design and goals of the project changed or evolved since you started working on it?</li> </ul> </li> <li>What (if any) difference exists in the feature engineering process for frameworks like scikit-learn as compared to deep learning approaches using PyTorch, Tensorflow, etc.?</li> <li>Can you describe the workflow of identifying and generating useful features during model development? <ul> <li>What are the tools that are available for testing and debugging of the feature pipelines?</li> </ul> </li> <li>What do you see as the potential benefits or drawbacks of integrating feature-engine with a feature store such as Feast or Tecton?</li> <li>What are the most interesting, innovative, or unexpected ways that you have seen feature-engine used?</li> <li>What are the most interesting, unexpected, or challenging lessons that you have learned while working on feature-engine?</li> <li>When is feature-engine the wrong choice?</li> <li>What do you have planned for the future of feature-engine?</li> </ul> <h2>Keep In Touch</h2> <ul> <li><a href="https://www.linkedin.com/in/soledad-galli/?originalSubdomain=de&utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">LinkedIn</a></li> <li><a href="https://twitter.com/Soledad_Galli?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">@Soledad_Galli</a> on Twitter</li> <li><a href="https://github.com/solegalli?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">solegalli</a> on GitHub</li> </ul> <h2>Picks</h2> <ul> <li>Tobias <ul> <li><a href="https://www.imdb.com/title/tt1160419/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Dune Movie</a></li> <li><a href="https://en.wikipedia.org/wiki/Dune_(franchise)?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Dune Series</a></li> </ul> </li> <li>Soledad <ul> <li><a href="https://www.thesocialdilemma.com/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">The Social Dilemma</a></li> <li><a href="https://www.penguinrandomhouse.com/books/602099/dont-be-evil-by-rana-foroohar/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Don’t Be Evil</a> by Rana Foroohar</li> </ul> </li> </ul> <h2>Closing Announcements</h2> <ul> <li>Thank you for listening! Don’t forget to check out our other show, the <a href="https://www.dataengineeringpodcast.com?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Data Engineering Podcast</a> for the latest on modern data management.</li> <li>Visit the <a href="https://www.pythonpodcast.com?utm_source=rss&utm_medium=rss">site</a> to subscribe to the show, sign up for the mailing list, and read the show notes.</li> <li>If you’ve learned something or tried out a project from the show then tell us about it! Email <a href="mailto:hosts@podcastinit.com">hosts@podcastinit.com</a>) with your story.</li> <li>To help other people find the show please leave a review on <a href="https://itunes.apple.com/us/podcast/podcast.-init/id981834425?mt=2&uo=6&at=&ct=&utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">iTunes</a> and tell your friends and co-workers</li> </ul> <h2>Links</h2> <ul> <li><a href="https://feature-engine.readthedocs.io/en/latest/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">feature-engine</a></li> <li><a href="https://en.wikipedia.org/wiki/Feature_engineering?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Feature Engineering</a></li> <li><a href="https://www.trainindata.com/#books?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Python Feature Engineering Cookbook</a></li> <li><a href="https://scikit-learn.org/stable/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">scikit-learn</a></li> <li><a href="https://www.featurestore.org/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Feature Stores</a> <ul> <li><a href="https://www.pythonpodcast.com/machine-learning-operations-episode-289/?utm_source=rss&utm_medium=rss">Podcast Episode</a></li> </ul> </li> <li><a href="https://pandas.pydata.org/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Pandas</a> <ul> <li><a href="https://www.pythonpodcast.com/episode-98-pandas-with-jeff-reback/?utm_source=rss&utm_medium=rss">Podcast Episode</a></li> </ul> </li> <li><a href="https://pytorch.org/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">PyTorch</a> <ul> <li><a href="https://www.pythonpodcast.com/pytorch-deep-learning-epsiode-202/?utm_source=rss&utm_medium=rss">Podcast Episode</a></li> </ul> </li> <li><a href="https://www.tensorflow.org/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Tensorflow</a></li> <li><a href="https://feast.dev/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Feast</a></li> <li><a href="https://www.tecton.ai/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Tecton</a> <ul> <li><a href="https://www.dataengineeringpodcast.com/tecton-mlops-feature-store-episode-166/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Data Engineering Podcast Episode</a></li> </ul> </li> <li><a href="https://www.kaggle.com/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Kaggle</a></li> <li><a href="https://dask.org/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Dask</a> <ul> <li><a href="https://www.dataengineeringpodcast.com/episode-2-dask-with-matthew-rocklin/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Data Engineering Podcast Episode</a></li> </ul> </li> </ul> <p>The intro and outro music is from Requiem for a Fish <a href="http://freemusicarchive.org/music/The_Freak_Fandango_Orchestra/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">The Freak Fandango Orchestra</a> / <a href="http://creativecommons.org/licenses/by-sa/3.0/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">CC BY-SA</a></p> </div> <img alt="" height="0" src="https://analytics.boundlessnotions.com/piwik.php?idsite=1&rec=1&url=https%3A%2F%2Fwww.pythonpodcast.com%2Ffeature-engine-feature-engineering-pipelines-episode-338%2F&action_name=Build+Composable+And+Reusable+Feature+Engineering+Pipelines+with+Feature-Engine+-+Episode+338&urlref=https%3A%2F%2Fwww.pythonpodcast.com%2Ffeed%2F&utm_source=rss&utm_medium=rss" style="border: 0; width: 0; height: 0;" width="0" />