جزییات کتاب
Methodologies and recipes to regularize nearly any machine learning and deep learning model using cutting-edge technologies such as Stable Diffusion, Dall-E and GPT-3. Key FeaturesLearn how to diagnose whether regularization is needed for any machine learning modelRegularize different types of ML models using a broad range of techniques and methodsGet the best of your models using state of the art Computer Vision and NLP Book DescriptionDeploying machine learning solutions is all about getting robust results on new, unseen data. To achieve such results, one way is regularization. Regularization can take many forms and can be used in many ways, and not all methods apply to all cases. This book aims at providing the right tools and methods to handle any case properly, with ready-to-use working codes as well as theoretical explanations whenever possible.After an introduction to regularization and methods to diagnose when to use it, we will start implementing regularization techniques on linear models such as linear and logistic regression, and tree-based models such as random forest and gradient boosting.The book will then introduce specific regularization methods based on data. High cardinality features and imbalanced datasets may require specific regularization methods that will be explored.In the last five chapters, the book will cover regularization for deep learning models. After reviewing general methods that apply to any type of neural network, the book will dive into more NLP-specific methods for RNNs and transformers, as well as using BERT or GPT-3. We will close with regularization for Computer Vision, covering CNN specifics, as well as the use of generative models such as Stable Diffusion and Dall-E. What you will learnHow to diagnose overfitting properly and when regularization is neededRegularizing common linear models such as logistic regressionGet a deeper knowledge of regularizing tree-based models such as XGBoostLeverage structured data to regularize ML modelsLearn general techniques to regularize deep learning modelsDiscover specific regularization techniques for NLP problems using TransformersUnderstand the regularization in Computer Vision models and CNN architecturesApply cutting-edge computer vision regularization with generative models Who This Book Is ForWhether you are a data scientist, a machine learning engineer, or just a machine learning enthusiast, if you want to get hands-on knowledge of the available methods to improve the performances of your models, this book is for you.Basic, hands-on knowledge of Python is expected to get the most out of the proposed codes. Also, basic concepts of ML and DL are reminded to smooth the learning curve, no matter their level. This book is also aimed at experienced professionals willing to use state-of-the-art methods for regularization. Table of ContentsOverview of RegularizationRegularization in MLRegularization with ML modelsRegularization with Tree based modelsRegularization with structured dataDeep learning remindersRegularization of a vanilla neural networkRegularization with recurrent neural networksAdvanced regularization in Natural Language ProcessingRegularization in Computer VisionAdvanced Regularization in Computer Vision: synthetic image generation