Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Machine Learning Engineering with MLflow

You're reading from  Machine Learning Engineering with MLflow

Product type Book
Published in Aug 2021
Publisher Packt
ISBN-13 9781800560796
Pages 248 pages
Edition 1st Edition
Languages
Author (1):
Natu Lauchande Natu Lauchande
Profile icon Natu Lauchande

Table of Contents (18) Chapters

Preface 1. Section 1: Problem Framing and Introductions
2. Chapter 1: Introducing MLflow 3. Chapter 2: Your Machine Learning Project 4. Section 2: Model Development and Experimentation
5. Chapter 3: Your Data Science Workbench 6. Chapter 4: Experiment Management in MLflow 7. Chapter 5: Managing Models with MLflow 8. Section 3: Machine Learning in Production
9. Chapter 6: Introducing ML Systems Architecture 10. Chapter 7: Data and Feature Management 11. Chapter 8: Training Models with MLflow 12. Chapter 9: Deployment and Inference with MLflow 13. Section 4: Advanced Topics
14. Chapter 10: Scaling Up Your Machine Learning Workflow 15. Chapter 11: Performance Monitoring 16. Chapter 12: Advanced Topics with MLflow 17. Other Books You May Enjoy

Generating a feature set and training data

We will refactor a bit of the code previously developed in our local environment to generate features for training to add to our MLflow project the data pipelineof our MLflow project .

We will now create the feature_set_generation.py file, which will be responsible for generating our features and saving them in the training folder where all the data is valid and ready to be used for ML training. You can look at the contents in the file in the repository https://github.com/PacktPublishing/Machine-Learning-Engineering-with-MLflow/blob/master/Chapter07/psystock-data-features-main/feature_set_generation.py:

  1. We need to import the following dependencies:
    import mlflow
    from datetime import date
    from dateutil.relativedelta import relativedelta
    import pprint
    import pandas as pd
    import pandas_datareader
    import pandas_datareader.data as web
    import numpy as np
  2. Before delving into the main component of the code, we'll now proceed to...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}