Monday, 22 December 2025

A Beginner's Guide to AI: Prediction vs Analysis

 When you're starting with Artificial Intelligence, it's easy to get confused by all the buzzwords. Let me break it down in the simplest way possible.

Two Main Goals in AI

Think of AI work falling into two buckets:

1. Predicting the Future - "What will happen?"
2. Understanding the Past - "What happened and why?"

When You Want to Predict

If you're trying to forecast or predict outcomes, you'll use these approaches:

Machine Learning

The foundation of prediction. Machine Learning algorithms learn patterns from historical data to make predictions. Think of it like teaching a child to recognize animals by showing them pictures - the more examples they see, the better they get at identifying new ones.

Example: Predicting whether a customer will buy a product based on their browsing history.

Deep Learning

A more advanced form of Machine Learning that uses neural networks (inspired by how our brain works). It's particularly powerful when you have massive amounts of data.

Example: Self-driving cars recognizing pedestrians, traffic signs, and other vehicles in real-time.

Time Series Analysis

Specifically designed for data that changes over time. It looks at patterns, trends, and seasonality to predict future values.

Example: Forecasting next month's sales based on the last 3 years of monthly sales data, or predicting tomorrow's stock price.

Natural Language Processing (NLP)

Helps computers understand and predict based on human language. This is what powers chatbots, translation tools, and sentiment analysis.

Example: Predicting if a customer review is positive or negative, or autocompleting your sentences as you type.

When you want to explore the data 

Data Science  

When You Want to Understand What Happened, This is where Data Science comes in. Data scientists use statistics, visualization, and exploratory analysis to tell the story hidden in your data.

Example: Business Intelligence: When answering questions like "Why did sales drop?" or "What are our customer demographics?". 

The Key Difference

Prediction approaches → Forward-looking → "What's next?"

Data Science analysis → Backward-looking → "What happened and why?"

A Real-World Example

Imagine you run an online store:

  • Data Science helps you analyze: "Why did we lose 20% of our customers last month? Which products sold best during holidays?"
  • Machine Learning helps you predict: "Which customers are likely to buy next week? What products should we recommend?"
  • Time Series helps you forecast: "How much inventory do we need for next month based on seasonal patterns?"
  • NLP(Natural Language Processing) helps you understand: "What are customers saying in their reviews? Are they happy or frustrated?"
  • Data Science is all about analysis - digging into past data to understand patterns, find insights, and answer questions like:
    • Why did sales drop last quarter?
    • Which marketing campaign performed best?
    • What factors influenced customer churn?

The journey into AI starts with understanding what question you're trying to answer - prediction or analysis. Master that, and you're already ahead of the game.

Problem Identification in AI

 

A Guide to Problem Identification in Artificial Intelligence: Mapping Input Data to Solutions



When stepping into the vast world of artificial intelligence (AI), a key initial step is learning how to structure your questions. This typically begins with understanding the types of data you have . Different data types are like different languages, and the various subfields of AI are "translators" specifically designed to interpret these languages.

By identifying your core input data, you can quickly pinpoint the problem to the most appropriate AI approach. Below is a concise framework based on the types of input you provide to help you identify the problem.


1. Input data: Number

  • AI subfield: Machine Learning (ML)

When your data is a structured numerical table (such as an Excel spreadsheet), traditional machine learning algorithms are often the best choice. These algorithms excel at finding patterns, establishing relationships, and making predictions in numbers.

  • You may face the following types of problems:

    • Predictive numerical values ​​(regression): For example, predicting the selling price of a house based on numerical characteristics such as its size, number of bedrooms, and location.

    • Categorized data (classification): For example, emails can be labeled as "spam" or "not spam" based on numerical metrics such as the frequency of specific words in the email and the sender's reputation score.

    • Discovering groups (clustering): For example, segmenting customer groups into different target groups based on numerical characteristics such as purchase history and demographics, without having to predefine these groups.


2. Input data: Image or Number

  • AI subfield: Deep Learning (DL)

Deep learning is a powerful branch of machine learning that uses multi-layered artificial neural networks to simulate the learning process of the human brain. It excels at processing unstructured data (such as images and sound) and extremely large and complex numerical datasets. For images, it essentially sees a massive matrix of pixel values.

  • You may face the following types of problems:

    • Computer Vision:

      • Image classification: Identifying the main content in an image, such as determining whether a photo is of a "cat" or a "dog".

      • Object detection: Locating and identifying multiple objects in an image or video, such as self-driving cars identifying pedestrians, traffic lights, and other vehicles.

      • Facial recognition: verifying identity or identifying a specific individual in a crowd.

    • Complex pattern recognition: Discovering hidden patterns in high-frequency financial trading, genomics, or any numerical data with massive features and complex nonlinear relationships.


3. Input data: Text

  • AI subfield: Natural Language Processing (NLP)

NLP aims to enable computers to understand, interpret, and generate human language. This is the domain you need when your input is a document, social media post, customer review, or any form of written text.

  • You may face the following types of problems:

    • Sentiment analysis: Determine the emotional attitude behind a piece of text, such as determining whether a product review is positive, negative, or neutral.

    • Machine translation: automatically translating text from one language (such as English) into another language (such as Chinese).

    • Text generation and dialogue systems: Create chatbots and virtual assistants that can answer customer questions, write article summaries, or engage in natural conversation.

    • Information extraction: Automatically extract key information, such as names of people, places, dates, or specific events, from unstructured text documents.


4. Input data: Date/Time

  • AI subfield: Time Series Analysis

If your data is a series of data points collected chronologically, and the order of these data points is crucial for understanding patterns, then you are dealing with a time series problem. The key here is not just the numbers themselves, but also their trends over time.

  • You may face the following types of problems:

    • Predicting future trends: forecasting future values ​​based on historical data. For example, predicting future stock prices, next month's product sales, or tomorrow's weather.

    • Anomaly detection: Identifying anomalous patterns in data streams that change over time. For example, detecting unusual network traffic spikes in server logs to uncover potential security vulnerabilities, or monitoring abnormal fluctuations in a patient's vital signs in medical device data.

    • Seasonal analysis: Understanding cyclical patterns in data, such as peak sales in the retail industry during holiday seasons.


Summarize

The first step to successfully applying AI is clearly defining your problem. By asking yourself, "What are my core input data?", you can use this framework to quickly match your problem with the most suitable toolkit, such as machine learning, deep learning, natural language processing, or time series analysis. This chart and article will provide you with a solid reference point on your AI learning journey.


A Beginner's Guide to AI: Prediction vs Analysis

 When you're starting with Artificial Intelligence, it's easy to get confused by all the buzzwords. Let me break it down in the simp...