Models describe a real-world system or process using mathematical concepts.

They are used to make decisions or predictions in various fields and sectors, including energy, medicine, and marketing.

In this regard, machine learning is a part of artificial intelligence that deals with building models without requiring explicit programming.

In the machine learning field, a model is sometimes referred to as a hypothesis.

In machine learning model, the structure is the following: inputs, model and outputs. This is the same for all models types.

Supervised learning is the most common paradigm within machine learning.

We can define it as the task of learning a function that maps an input to an output based on example input-output pairs.

A supervised learning algorithm analyzes the training data and produces an inferred function to map new examples.

In supervised learning, each example is a pair consisting of an input object and the desired output value.

An optimal scenario will enable the algorithm to determine the class labels for unseen instances accurately.

In this sense, generalization refers to a model’s ability to adapt correctly to new, previously unseen data from the same domain as the one used to create the model.

The most important types of models in machine learning are approximation, classification, and forecasting.

They allow us to discover relationships, recognize patterns, and predict trends from data, respectively.

The most important types of models in machine learning are approximation, classification, and forecasting.

Contents

  1. Approximation.
  2. Classification.
  3. Forecasting.
  4. Conclusions.
  5. Tutorial video.
  6. References.

1. Approximation

An approximation model assigns a set of input variables to one or several output variables.

Here, the model learns from knowledge represented by a data set consisting of instances with input and target variables.

The targets are a specification of the response to the inputs.

In this regard, the primary goal of an approximation problem is to model one or more target variables, given the input variables.

The following figure illustrates an approximation problem.

The objective here is to estimate the value of y, knowing the value of x. Figure \ ref{ApproximationFigure} illustrates a dataset with 21 samples, one input variable (x), and one target variable (y).

The following figure illustrates an approximation problem.
It also shows the corresponding approximation model.

The following is an example of an approximation model in the industrial sector.

Example: Reducing the gas emissions of a combined cycle power plant using machine learning

A combined cycle power plant that generates electricity wants to reduce its emissions of polluting gases, such as nitrogen oxides, which are harmful to health.

The combined cycle power plant consists of gas, steam, and steam generators with heat recovery. Gaseous combustion generates electricity by driving steam turbines.

The power plant is equipped with sensors that record all the data. From this, the company builds a model. The shape of this model is shown in the following figure:
Classification follows the same pattern as the other machine learning models types: inputs, model, outputs. In this case, inputs are the variables of the dataset, model is calculate_outputs, and output is NOx_concentration.

The input variables are atmospheric variables and plant-related variables. The model is created based on these data, and the values of nitrogen oxide emissions produced by the plant are estimated.

2. Classification

A classification model assigns a set of features to one of a prescribed number of classes.

We refer to binary classification as a classification where the classes are true and false.

An example is diagnosing a breast tumor as malignant (true) or benign (false) from digitized images.

We refer to multiple classification when we need to distinguish among many classes.

In classification models, the targets are binary variables.

Typical examples are customer segmentation or medical diagnosis.

Data sets for classification are very similar to those for approximation.

The inputs here include features that characterise an object; the targets specify the corresponding class.

The primary goal in classification is to model the posterior probabilities of class membership, given the input variables.

This means that the output of a classification model is the probability that an object belongs to each class.

The following image illustrates the case of a binary classification problem with two features:

The central goal is to design a neural network with good generalisation capabilities.

That is a model that can accurately classify new data.

The following is an example of an approximation model in the healthcare sector.

Example: Early detection of lung carcinoma

Lung cancer is the leading cause of cancer death worldwide. This type of cancer does not show up in testing until later, after which treatments become ineffective or have lower success rates. For this reason, lung cancer must be diagnosed as early as possible.

To enable the early detection of lung cancer, hospitals develop models that provide tools to support lung cancer risk assessment and management, facilitating discussions between individuals and their physicians about prevention and screening.

To build the model, a hospital creates a dataset containing lung cancer risk factors for 309 patients.

The form of this model is shown in the following figure:

The model estimates the probability that a patient will develop lung cancer based on the clinical input variables.

This will allow the hospital to closely follow new patients with a high probability of developing lung cancer.

3. Forecasting

A forecasting model makes predictions based on available information about the past.

The objective is to predict a system’s future state from past observations.

An example is forecasting future sales of a car model as a function of past sales, marketing actions, and macroeconomic variables.

The following figure illustrates a forecasting model:

In forecasting applications, the data has a time-series format.

It consists of a sequence of variables observed at regular time intervalstau = 1, 2,.

A forecasting problem can also be solved by approximating a function from input-target data.

Here, the inputs include past observations (predictors), and the targets include their corresponding future values (predictands).

As always, good generalisation is the central goal in forecasting applications.

We will now illustrate how prediction models work with an example.

Example: Country’s inflation

A country’s government wants to predict next month’s inflation.

For this purpose, it uses a time series with macroeconomic variables.

A government uses data for the previous three months to predict a country’s inflation for the next month.

From these data, the following approximation model is created.

The following figure shows the model’s form.

Based on the inflation and consumer price index of the previous three months, the model is created to predict next month’s inflation.

This forecasting will allow the government to take corresponding measures as inflation rises or falls.

Conclusions

The main machine learning models are approximation, classification, and prediction models.

A model uses mathematical concepts to describe a real-world system or process.

Good generalizability is the central objective when designing a model.

Tutorial video

You can watch the video tutorial to help you complete this article.

Related posts