liveBook · Manning

Machine learning

As explained in Starting Data Analytics with Generative AI and Python

Machine learning is the computational use of algorithms that learn patterns from data to make predictions, classifications, or decisions.

Machine learning uses algorithms that learn patterns from structured data to predict outcomes without being explicitly programmed for each pattern. In text mining, natural language processing first converts language into forms a computer can analyze; machine learning then helps identify patterns, classify content, or predict sentiment. section 5.1

Machine learning supports practical text-analysis tasks such as:

  • Analyzing sentiment more effectively than frequency counts, keyword searches, or dictionary-based methods for many everyday tasks. section 6.2.4
  • Finding patterns and predicting outcomes from text prepared through natural language processing. section 5.1
  • Working across social media, websites, emails, company documents, and academic publications as sources of unstructured text. section 5.1

Sentiment analysis

A sentiment-analysis task can use a machine-learning model to recognize patterns in text and classify its emotional orientation. Unlike a simple keyword or dictionary approach, the model learns from structured examples. Pretrained models make this practical without requiring the analyst to construct the model or master its underlying mathematics. section 6.2.4

How Starting Data Analytics with Generative AI and Python covers it

How deep it goes
Explains practical model use while deferring deep mechanics such as matrix multiplication.
Examples
Uses sentiment analysis across social media, websites, emails, company documents, and academic publications as application contexts.
What it assumes
Requires no deep technical grasp for effective use, while making underlying mechanics worthwhile to learn.
What you can do after
Apply machine learning to sentiment analysis through pretrained models, libraries, pipelines, and the Hugging Face platform.
How it connects
Connects machine learning with natural language processing, artificial intelligence, text mining, sentiment analysis, and topic modeling.

Also explained in

Compare how 42 books explain machine learning →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Starting Data Analytics with Generative AI and Python. The section links point to the parts of the book it draws on.