Python Feature Engineering Cookbook

Python Feature Engineering Cookbook
Title Python Feature Engineering Cookbook PDF eBook
Author Soledad Galli
Publisher Packt Publishing Ltd
Total Pages 364
Release 2020-01-22
Genre Computers
ISBN 1789807824

Download Python Feature Engineering Cookbook Book in PDF, Epub and Kindle

Extract accurate information from data to train and improve machine learning models using NumPy, SciPy, pandas, and scikit-learn libraries Key FeaturesDiscover solutions for feature generation, feature extraction, and feature selectionUncover the end-to-end feature engineering process across continuous, discrete, and unstructured datasetsImplement modern feature extraction techniques using Python's pandas, scikit-learn, SciPy and NumPy librariesBook Description Feature engineering is invaluable for developing and enriching your machine learning models. In this cookbook, you will work with the best tools to streamline your feature engineering pipelines and techniques and simplify and improve the quality of your code. Using Python libraries such as pandas, scikit-learn, Featuretools, and Feature-engine, you’ll learn how to work with both continuous and discrete datasets and be able to transform features from unstructured datasets. You will develop the skills necessary to select the best features as well as the most suitable extraction techniques. This book will cover Python recipes that will help you automate feature engineering to simplify complex processes. You’ll also get to grips with different feature engineering strategies, such as the box-cox transform, power transform, and log transform across machine learning, reinforcement learning, and natural language processing (NLP) domains. By the end of this book, you’ll have discovered tips and practical solutions to all of your feature engineering problems. What you will learnSimplify your feature engineering pipelines with powerful Python packagesGet to grips with imputing missing valuesEncode categorical variables with a wide set of techniquesExtract insights from text quickly and effortlesslyDevelop features from transactional data and time series dataDerive new features by combining existing variablesUnderstand how to transform, discretize, and scale your variablesCreate informative variables from date and timeWho this book is for This book is for machine learning professionals, AI engineers, data scientists, and NLP and reinforcement learning engineers who want to optimize and enrich their machine learning models with the best features. Knowledge of machine learning and Python coding will assist you with understanding the concepts covered in this book.

Python Feature Engineering Cookbook

Python Feature Engineering Cookbook
Title Python Feature Engineering Cookbook PDF eBook
Author Soledad Galli
Publisher
Total Pages 372
Release 2020-01-22
Genre Computers
ISBN 9781789806311

Download Python Feature Engineering Cookbook Book in PDF, Epub and Kindle

Extract accurate information from data to train and improve machine learning models using NumPy, SciPy, pandas, and scikit-learn libraries Key Features Discover solutions for feature generation, feature extraction, and feature selection Uncover the end-to-end feature engineering process across continuous, discrete, and unstructured datasets Implement modern feature extraction techniques using Python's pandas, scikit-learn, SciPy and NumPy libraries Book Description Feature engineering is invaluable for developing and enriching your machine learning models. In this cookbook, you will work with the best tools to streamline your feature engineering pipelines and techniques and simplify and improve the quality of your code. Using Python libraries such as pandas, scikit-learn, Featuretools, and Feature-engine, you'll learn how to work with both continuous and discrete datasets and be able to transform features from unstructured datasets. You will develop the skills necessary to select the best features as well as the most suitable extraction techniques. This book will cover Python recipes that will help you automate feature engineering to simplify complex processes. You'll also get to grips with different feature engineering strategies, such as the box-cox transform, power transform, and log transform across machine learning, reinforcement learning, and natural language processing (NLP) domains. By the end of this book, you'll have discovered tips and practical solutions to all of your feature engineering problems. What you will learn Simplify your feature engineering pipelines with powerful Python packages Get to grips with imputing missing values Encode categorical variables with a wide set of techniques Extract insights from text quickly and effortlessly Develop features from transactional data and time series data Derive new features by combining existing variables Understand how to transform, discretize, and scale your variables Create informative variables from date and time Who this book is for This book is for machine learning professionals, AI engineers, data scientists, and NLP and reinforcement learning engineers who want to optimize and enrich their machine learning models with the best features. Knowledge of machine learning and Python coding will assist you with understanding the concepts covered in this book.

Python Feature Engineering Cookbook - Second Edition

Python Feature Engineering Cookbook - Second Edition
Title Python Feature Engineering Cookbook - Second Edition PDF eBook
Author Soledad Galli
Publisher
Total Pages 0
Release 2022-10-31
Genre
ISBN 9781804611302

Download Python Feature Engineering Cookbook - Second Edition Book in PDF, Epub and Kindle

Create end-to-end, reproducible feature engineering pipelines that can be deployed into production using open-source Python libraries Key Features: Learn and implement feature engineering best practices Reinforce your learning with the help of multiple hands-on recipes Build end-to-end feature engineering pipelines that are performant and reproducible Book Description: Feature engineering, the process of transforming variables and creating features, albeit time-consuming, ensures that your machine learning models perform seamlessly. This second edition of Python Feature Engineering Cookbook will take the struggle out of feature engineering by showing you how to use open source Python libraries to accelerate the process via a plethora of practical, hands-on recipes. This updated edition begins by addressing fundamental data challenges such as missing data and categorical values, before moving on to strategies for dealing with skewed distributions and outliers. The concluding chapters show you how to develop new features from various types of data, including text, time series, and relational databases. With the help of numerous open source Python libraries, you'll learn how to implement each feature engineering method in a performant, reproducible, and elegant manner. By the end of this Python book, you will have the tools and expertise needed to confidently build end-to-end and reproducible feature engineering pipelines that can be deployed into production. What You Will Learn: Impute missing data using various univariate and multivariate methods Encode categorical variables with one-hot, ordinal, and count encoding Handle highly cardinal categorical variables Transform, discretize, and scale your variables Create variables from date and time with pandas and Feature-engine Combine variables into new features Extract features from text as well as from transactional data with Featuretools Create features from time series data with tsfresh Who this book is for: This book is for machine learning and data science students and professionals, as well as software engineers working on machine learning model deployment, who want to learn more about how to transform their data and create new features to train machine learning models in a better way.

Machine Learning with Python Cookbook

Machine Learning with Python Cookbook
Title Machine Learning with Python Cookbook PDF eBook
Author Chris Albon
Publisher "O'Reilly Media, Inc."
Total Pages 305
Release 2018-03-09
Genre Computers
ISBN 1491989335

Download Machine Learning with Python Cookbook Book in PDF, Epub and Kindle

This practical guide provides nearly 200 self-contained recipes to help you solve machine learning challenges you may encounter in your daily work. If you’re comfortable with Python and its libraries, including pandas and scikit-learn, you’ll be able to address specific problems such as loading data, handling text or numerical data, model selection, and dimensionality reduction and many other topics. Each recipe includes code that you can copy and paste into a toy dataset to ensure that it actually works. From there, you can insert, combine, or adapt the code to help construct your application. Recipes also include a discussion that explains the solution and provides meaningful context. This cookbook takes you beyond theory and concepts by providing the nuts and bolts you need to construct working machine learning applications. You’ll find recipes for: Vectors, matrices, and arrays Handling numerical and categorical data, text, images, and dates and times Dimensionality reduction using feature extraction or feature selection Model evaluation and selection Linear and logical regression, trees and forests, and k-nearest neighbors Support vector machines (SVM), naïve Bayes, clustering, and neural networks Saving and loading trained models

Feature Engineering for Machine Learning

Feature Engineering for Machine Learning
Title Feature Engineering for Machine Learning PDF eBook
Author Alice Zheng
Publisher "O'Reilly Media, Inc."
Total Pages 218
Release 2018-03-23
Genre Computers
ISBN 1491953195

Download Feature Engineering for Machine Learning Book in PDF, Epub and Kindle

Feature engineering is a crucial step in the machine-learning pipeline, yet this topic is rarely examined on its own. With this practical book, you’ll learn techniques for extracting and transforming features—the numeric representations of raw data—into formats for machine-learning models. Each chapter guides you through a single data problem, such as how to represent text or image data. Together, these examples illustrate the main principles of feature engineering. Rather than simply teach these principles, authors Alice Zheng and Amanda Casari focus on practical application with exercises throughout the book. The closing chapter brings everything together by tackling a real-world, structured dataset with several feature-engineering techniques. Python packages including numpy, Pandas, Scikit-learn, and Matplotlib are used in code examples. You’ll examine: Feature engineering for numeric data: filtering, binning, scaling, log transforms, and power transforms Natural text techniques: bag-of-words, n-grams, and phrase detection Frequency-based filtering and feature scaling for eliminating uninformative features Encoding techniques of categorical variables, including feature hashing and bin-counting Model-based feature engineering with principal component analysis The concept of model stacking, using k-means as a featurization technique Image feature extraction with manual and deep-learning techniques

Feature Engineering and Selection

Feature Engineering and Selection
Title Feature Engineering and Selection PDF eBook
Author Max Kuhn
Publisher CRC Press
Total Pages 266
Release 2019-07-25
Genre Business & Economics
ISBN 1351609467

Download Feature Engineering and Selection Book in PDF, Epub and Kindle

The process of developing predictive models includes many stages. Most resources focus on the modeling algorithms but neglect other critical aspects of the modeling process. This book describes techniques for finding the best representations of predictors for modeling and for nding the best subset of predictors for improving model performance. A variety of example data sets are used to illustrate the techniques along with R programs for reproducing the results.

Python Data Science Handbook

Python Data Science Handbook
Title Python Data Science Handbook PDF eBook
Author Jake VanderPlas
Publisher "O'Reilly Media, Inc."
Total Pages 743
Release 2016-11-21
Genre Computers
ISBN 1491912138

Download Python Data Science Handbook Book in PDF, Epub and Kindle

For many researchers, Python is a first-class tool mainly because of its libraries for storing, manipulating, and gaining insight from data. Several resources exist for individual pieces of this data science stack, but only with the Python Data Science Handbook do you get them all—IPython, NumPy, Pandas, Matplotlib, Scikit-Learn, and other related tools. Working scientists and data crunchers familiar with reading and writing Python code will find this comprehensive desk reference ideal for tackling day-to-day issues: manipulating, transforming, and cleaning data; visualizing different types of data; and using data to build statistical or machine learning models. Quite simply, this is the must-have reference for scientific computing in Python. With this handbook, you’ll learn how to use: IPython and Jupyter: provide computational environments for data scientists using Python NumPy: includes the ndarray for efficient storage and manipulation of dense data arrays in Python Pandas: features the DataFrame for efficient storage and manipulation of labeled/columnar data in Python Matplotlib: includes capabilities for a flexible range of data visualizations in Python Scikit-Learn: for efficient and clean Python implementations of the most important and established machine learning algorithms