Supervised Machine Learning for Text Analysis in R
Author | : Emil Hvitfeldt |
Publisher | : CRC Press |
Total Pages | : 402 |
Release | : 2021-11-03 |
ISBN-10 | : 9781000461978 |
ISBN-13 | : 1000461971 |
Rating | : 4/5 (971 Downloads) |
Download or read book Supervised Machine Learning for Text Analysis in R written by Emil Hvitfeldt and published by CRC Press. This book was released on 2021-11-03 with total page 402 pages. Available in PDF, EPUB and Kindle. Book excerpt: Text data is important for many domains, from healthcare to marketing to the digital humanities, but specialized approaches are necessary to create features for machine learning from language. Supervised Machine Learning for Text Analysis in R explains how to preprocess text data for modeling, train models, and evaluate model performance using tools from the tidyverse and tidymodels ecosystem. Models like these can be used to make predictions for new observations, to understand what natural language features or characteristics contribute to differences in the output, and more. If you are already familiar with the basics of predictive modeling, use the comprehensive, detailed examples in this book to extend your skills to the domain of natural language processing. This book provides practical guidance and directly applicable knowledge for data scientists and analysts who want to integrate unstructured text data into their modeling pipelines. Learn how to use text data for both regression and classification tasks, and how to apply more straightforward algorithms like regularized regression or support vector machines as well as deep learning approaches. Natural language must be dramatically transformed to be ready for computation, so we explore typical text preprocessing and feature engineering steps like tokenization and word embeddings from the ground up. These steps influence model results in ways we can measure, both in terms of model metrics and other tangible consequences such as how fair or appropriate model results are.