{"id":3535,"date":"2025-11-24T11:12:58","date_gmt":"2025-11-24T10:12:58","guid":{"rendered":"https:\/\/neuraldesigner.com\/learning\/neural-networks-applications\/"},"modified":"2026-10-12T13:35:04","modified_gmt":"2026-10-12T11:35:04","slug":"neural-networks-applications","status":"publish","type":"learning","link":"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/neural-networks-applications\/","title":{"rendered":"Machine learning tutorial: Model types"},"content":{"rendered":"<style id=\"nd-tutorial-series-css\">.ndts{max-width:1000px;margin:0 auto 26px;padding:18px 20px;border:1px solid #d8e2ef;border-radius:14px;background:#f7fafc;font-family:\"Outfit\",\"Roboto\",Arial,sans-serif}.ndts-meta{color:#2d799f;font-size:14px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.ndts-intro{margin:8px 0 14px;color:#405361;line-height:1.5}.ndts-progress{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin:0;padding:0;list-style:none}.ndts-progress a{display:flex;align-items:center;justify-content:center;min-height:38px;padding:6px;border:1px solid #cbd9e2;border-radius:7px;background:#fff;color:#285c78!important;text-decoration:none!important;font-size:13px;font-weight:700;text-align:center}.ndts-progress a[aria-current=\"step\"]{border-color:#2d799f;background:#2d799f;color:#fff!important}.ndts-controls{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:14px;flex-wrap:wrap}.ndts-controls a{color:#1261a0!important;font-weight:700;text-decoration:none!important}.ndts-bottom{max-width:1000px;margin:26px auto;padding:18px 20px;border-top:1px solid #d8e2ef;font-family:\"Outfit\",\"Roboto\",Arial,sans-serif}.ndts-finish{margin:0 0 18px;padding:22px;border:1px solid #d8e2ef;border-radius:12px;background:#f6f9fc}.ndts-btn{display:inline-block;margin:6px 8px 0 0;padding:11px 15px;border-radius:7px;background:#1261a0;color:#fff!important;text-decoration:none!important;font-weight:700}@media(max-width:760px){.ndts-progress{grid-template-columns:repeat(2,minmax(0,1fr))}}<\/style><nav class=\"ndts\" aria-label=\"Machine learning tutorial progress\"><div class=\"ndts-meta\">Machine learning tutorial \u00b7 Chapter 1 of 7<\/div><p class=\"ndts-intro\">This is the first chapter. Follow the sequence or use the progress links to open a specific topic. <a href=\"https:\/\/www.neuraldesigner.com\/learning\/machine-learning-tutorial\/\">Tutorial overview<\/a>.<\/p><ol class=\"ndts-progress\"><li><a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/neural-networks-applications\/\" aria-current=\"step\" data-tutorial-nav=\"chapter-1\" onclick=\"if(typeof gtag==='function'){gtag('event','tutorial_nav_click',{tutorial_action:'progress',tutorial_chapter:'1',link_url:this.href});}\">1. Model types<\/a><\/li><li><a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/data-set\/\" data-tutorial-nav=\"chapter-2\" onclick=\"if(typeof gtag==='function'){gtag('event','tutorial_nav_click',{tutorial_action:'progress',tutorial_chapter:'2',link_url:this.href});}\">2. Data set<\/a><\/li><li><a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/neural-network\/\" data-tutorial-nav=\"chapter-3\" onclick=\"if(typeof gtag==='function'){gtag('event','tutorial_nav_click',{tutorial_action:'progress',tutorial_chapter:'3',link_url:this.href});}\">3. Neural network<\/a><\/li><li><a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/training-strategy\/\" data-tutorial-nav=\"chapter-4\" onclick=\"if(typeof gtag==='function'){gtag('event','tutorial_nav_click',{tutorial_action:'progress',tutorial_chapter:'4',link_url:this.href});}\">4. Training strategy<\/a><\/li><li><a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/model-selection\/\" data-tutorial-nav=\"chapter-5\" onclick=\"if(typeof gtag==='function'){gtag('event','tutorial_nav_click',{tutorial_action:'progress',tutorial_chapter:'5',link_url:this.href});}\">5. Model selection<\/a><\/li><li><a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/testing-analysis\/\" data-tutorial-nav=\"chapter-6\" onclick=\"if(typeof gtag==='function'){gtag('event','tutorial_nav_click',{tutorial_action:'progress',tutorial_chapter:'6',link_url:this.href});}\">6. Testing analysis<\/a><\/li><li><a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/model-deployment\/\" data-tutorial-nav=\"chapter-7\" onclick=\"if(typeof gtag==='function'){gtag('event','tutorial_nav_click',{tutorial_action:'progress',tutorial_chapter:'7',link_url:this.href});}\">7. Model deployment<\/a><\/li><\/ol><div class=\"ndts-controls\"><a href=\"https:\/\/www.neuraldesigner.com\/learning\/machine-learning-tutorial\/\" data-tutorial-nav=\"overview\">\u2190 Tutorial overview<\/a><a href=\"https:\/\/www.neuraldesigner.com\/learning\/machine-learning-tutorial\/\">Overview<\/a><a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/data-set\/\" data-tutorial-nav=\"next\" onclick=\"if(typeof gtag==='function'){gtag('event','tutorial_nav_click',{tutorial_action:'next',tutorial_chapter:'1',link_url:this.href});}\">Data set \u2192<\/a><\/div><\/nav><style>.ndg{width:100vw;margin-left:calc(50% - 50vw);background:#eeeeee;padding:22px 24px 12px;font-family:\"Outfit\",\"Roboto\",Arial,sans-serif;color:#1b2635}.ndg *{box-sizing:border-box}.ndg a{text-decoration:none}.ndg-wrap{width:min(100%,1000px);margin:0 auto}.ndg-lead{font-size:19px;line-height:1.6;color:#3a4a5a;font-weight:300;margin:0 0 22px}.ndg-lead a{color:#2d799f;font-weight:600}.ndg-herofig{margin:0 0 30px;text-align:center}.ndg-herofig img{max-width:min(540px,100%);height:auto}.ndg-eyebrow{margin:0 0 14px;text-align:center;color:#2d799f;font-size:13px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.ndg-toc{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 48px;padding:0}.ndg-toc a{display:flex;align-items:center;gap:10px;height:100%;padding:14px 16px;background:#f2f2f2;border-radius:12px;color:#12354b!important;font-size:15px;font-weight:600;line-height:1.25;box-shadow:-8px -8px 16px rgba(255,255,255,.9),8px 8px 16px rgba(30,83,116,.10)}.ndg-toc a:hover{color:#2d799f!important}.ndg-step{display:grid;grid-template-columns:72px 1fr;gap:26px;margin:0 0 34px;padding:34px 38px;background:#f2f2f2;border-radius:22px;box-shadow:-14px -14px 28px rgba(255,255,255,.92),14px 14px 28px rgba(30,83,116,.12);scroll-margin-top:90px}.ndg-ic{width:72px;height:72px;border-radius:50%;background:#e7f1f7;display:flex;align-items:center;justify-content:center;flex:0 0 72px}.ndg-ic img{width:38px!important;height:38px!important;object-fit:contain;margin:0!important;box-shadow:none!important;border-radius:0!important}.ndg-step__body{min-width:0}.ndg-step__body h2{display:flex!important;align-items:center!important;min-height:72px;margin:0 0 16px!important;padding:0!important;color:#001233;font-size:25px;font-weight:700;line-height:1.2}.ndg-step__body h3{margin:26px 0 12px;color:#12354b;font-size:19px;font-weight:600}.ndg-step__body p{margin:0 0 16px;font-size:17px;line-height:1.62;color:#33424f}.ndg-step__body a{color:#2d799f;font-weight:500}.ndg-step__body ul{margin:0 0 16px;padding-left:22px}.ndg-step__body li{margin:7px 0;font-size:16px;line-height:1.55;color:#33424f}.ndg-step__body img{display:block!important;width:auto!important;max-width:min(560px,100%)!important;height:auto!important;margin:22px auto!important;border-radius:12px!important;box-shadow:0 12px 28px rgba(0,18,51,.12)!important}.ndg-step__body figure{margin:22px auto!important;max-width:min(620px,100%)}.ndg-step__body figcaption{text-align:center;color:#6a7884;font-size:13px;margin-top:8px}.ndg-nav{display:flex;justify-content:space-between;gap:16px;margin:12px 0 8px;flex-wrap:wrap}.ndg-nav a{display:inline-flex;align-items:center;padding:13px 24px;border-radius:10px;background:#f2f2f2;color:#2d799f!important;font-weight:800;font-size:15px;box-shadow:-8px -8px 16px rgba(255,255,255,.92),8px 8px 16px rgba(30,83,116,.10)}.ndg-nav a:hover{color:#1f5f80!important}@media(max-width:820px){.ndg-toc{grid-template-columns:1fr}.ndg-step{grid-template-columns:1fr;gap:16px;padding:26px 22px}.ndg-ic{width:56px;height:56px;flex:0 0 56px}.ndg-step__body h2{min-height:0;font-size:22px}}@media(max-width:640px){.ndg{padding:12px 14px}}<\/style><div class=\"ndg\"><div class=\"ndg-wrap\"><div class=\"ndg-lead\"><p>This tutorial describes different machine learning model types.<\/p>\n<p>Neural networks use information in the form of data to generate knowledge in the form of models.<\/p>\n<p>A model can be defined as a description of a real-world system or process using mathematical concepts.<\/p>\n<p>It is usually represented as a mapping between input and output variables.<\/p>\n<p>In this regard, neural networks are used to discover relationships, recognize patterns, predict trends, and recognize associations from data.<\/p>\n<\/div><div class=\"ndg-herofig\"><img fetchpriority=\"high\" decoding=\"async\" style=\"max-width: 600px;\" src=\"https:\/\/www.neuraldesigner.com\/images\/activity-diagram-neural-network.svg\" width=\"485\" height=\"254\" alt=\"Neural network modeling activity diagram\" \/><\/div><p class=\"ndg-eyebrow\">Model types<\/p><ul class=\"ndg-toc\"><li><a href=\"#Approximation\">1.1. Approximation (or function regression)<\/a><\/li><li><a href=\"#Classification\">1.2. Classification (or pattern recognition)<\/a><\/li><li><a href=\"#Forecasting\">1.3. Forecasting (or time series prediction)<\/a><\/li><li><a href=\"#AnomalyDetection\">1.4. Anomaly detection<\/a><\/li><li><a href=\"#TextClassification\">1.5. Text classification<\/a><\/li><li><a href=\"#ImageClassification\">1.6. Image classification model<\/a><\/li><\/ul><div class=\"ndg-step\" id=\"Approximation\"><div class=\"ndg-ic\"><img decoding=\"async\" src=\"https:\/\/www.neuraldesigner.com\/images\/approximation.svg\" width=\"44\" height=\"44\" alt=\"\" \/><\/div><div class=\"ndg-step__body\"><h2>1.1. Approximation (or function regression)<\/h2><p>In an approximation problem, a neural network learns how one or more continuous target variables depend on a set of input variables. No formula for that relationship is available beforehand; the model has to infer it from examples.<\/p>\n<p>The examples come from a <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/data-set\/\">data set<\/a>. Each <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/data-set\/#instances\">sample<\/a> pairs the values of the <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/data-set\/#InputVariables\">input variables<\/a> with the values measured for the <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/data-set\/#TargetVariables\">target variables<\/a>. During training, the targets play the role of the correct answers against which the outputs of the <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/neural-network\/\">neural network<\/a> are compared.<\/p>\n<p>Once trained, the model returns an estimate of the targets for any new combination of inputs. In the simplest case there is a single input, <em>x<\/em>, and a single target, <em>y<\/em>, and the model is a curve that runs through the cloud of points, as the following figure shows.<\/p>\n<p><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" style=\"max-width: 600px;\" src=\"https:\/\/www.neuraldesigner.com\/images\/approximation.webp\" alt=\"Approximation problem\" width=\"600\" height=\"350\" \/><\/p>\n<p>Approximation, also called regression, is one of the most widely used model types. Some examples are the following:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.neuraldesigner.com\/learning\/examples\/concrete-properties-assesment\/\">Model the strength of high-performance concretes<\/a>.<\/li>\n<li><a href=\"https:\/\/www.neuraldesigner.com\/learning\/examples\/airfoil-self-noise-prediction\/\">Predict the noise generated by airfoil blades<\/a>.<\/li>\n<li><a href=\"https:\/\/www.neuraldesigner.com\/learning\/examples\/yacht-hydrodynamics-modeling\/\">Predict the residuary resistance of sailing yachts<\/a>.<\/li>\n\n<li><a href=\"https:\/\/www.neuraldesigner.com\/learning\/examples\/combined-cycle-power-plant\/\">Predict the electricity generated by combined cycle power plants<\/a>.<\/li>\n<li><a href=\"https:\/\/www.neuraldesigner.com\/learning\/examples\/solar-power-generation\/\">Forecast the power generated by a solar plant<\/a>.<\/li>\n<li><a href=\"https:\/\/www.neuraldesigner.com\/learning\/examples\/wine-quality-improvement\/\">Model wine preferences from physicochemical properties<\/a>.<\/li>\n<\/ul>\n<p>Measured targets are never exact. Each value combines a systematic part, which changes smoothly with the inputs, and a random part caused by sensor noise, unrecorded factors or rounding. In statistical terms, when errors are measured as squared differences, the best possible prediction for a given input is the mean of the target values that would be observed for it, and that mean is precisely the systematic part.<\/p>\n<p>A good model therefore follows the trend and ignores the scatter around it. A <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/neural-network\/\">neural network<\/a> that bends to pass through every training point has also learned the noise, and its predictions for new samples get worse rather than better. The ability to predict well on samples that were not used for training is called generalization, and it is what ultimately decides how good an approximation model is. The <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/model-selection\/\">Model selection<\/a> chapter explains how to control it.<\/p>\n<\/div><\/div><div class=\"ndg-step\" id=\"Classification\"><div class=\"ndg-ic\"><img decoding=\"async\" src=\"https:\/\/www.neuraldesigner.com\/images\/classification.svg\" width=\"44\" height=\"44\" alt=\"\" \/><\/div><div class=\"ndg-step__body\"><h2>1.2. Classification (or pattern recognition)<\/h2><p>A classification model assigns each sample to one category out of a fixed set. The <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/data-set\/#InputVariables\">inputs<\/a> describe the sample, for example the measurements taken from a tumor or the activity of a customer, and the <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/data-set\/#TargetVariables\" target=\"_blank\" rel=\"noopener\">target<\/a> records the category it belongs to.<\/p>\n<p>Rather than returning a bare label, a neural network for classification estimates, for every class, the probability that the sample belongs to it given the values of its inputs. The predicted class is then the most probable one or, in binary problems, the one chosen by a decision threshold. Probabilities say more than labels: they show how confident the model is, and they let you balance false positives against false negatives.<\/p>\n<p>In the following figure, each sample is described by two inputs, <em>x<sub>1<\/sub><\/em> and <em>x<sub>2<\/sub><\/em>, and belongs to one of two classes, drawn as circles and green squares. The model has to find a boundary that separates the two groups.<\/p>\n<p><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" style=\"max-width: 600px;\" src=\"https:\/\/www.neuraldesigner.com\/images\/classification.webp\" alt=\"Classification problem\" width=\"600\" height=\"400\" \/><\/p>\n<p>As in approximation, what counts is the performance on samples that the model has not seen: a boundary that wraps tightly around every training point usually classifies new data worse than a smoother one.<\/p>\n<p>We can distinguish between two types of classification models:<\/p>\n<ul>\n<li><a href=\"#BinaryClassification\">Binary classification<\/a><\/li>\n<li><a href=\"#MultipleClassification\">Multiple classification<\/a><\/li>\n<\/ul>\n<h3 id=\"BinaryClassification\">Binary classification<\/h3>\n<p>In binary classification, the target variable is usually binary (true or false).<\/p>\n<p>Some examples are to:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.neuraldesigner.com\/learning\/examples\/breast-cancer-diagnosis\/\">Diagnose breast cancer from fine-needle aspirate images<\/a>.<\/li>\n\n<li><a href=\"https:\/\/www.neuraldesigner.com\/learning\/examples\/employee-attrition\/\">Reduce employee attrition<\/a>.<\/li>\n<li><a href=\"https:\/\/www.neuraldesigner.com\/learning\/examples\/bank-marketing-campaign\/\">Increase the conversion rate of telemarketing campaigns in banks<\/a>.<\/li>\n<li><a href=\"https:\/\/www.neuraldesigner.com\/learning\/examples\/credit-risk-management\/\">Predict the probability of default of credit card clients<\/a>.<\/li>\n<li><a href=\"https:\/\/www.neuraldesigner.com\/learning\/examples\/tree-wilt-detection\/\">Detect diseased trees from remote sensing data<\/a>.<\/li>\n<li><a href=\"https:\/\/www.neuraldesigner.com\/learning\/examples\/blood-donors-targeting\/\">Target donors in blood donation campaigns<\/a>.<\/li>\n<li><a href=\"https:\/\/www.neuraldesigner.com\/use-cases\/medical-diagnosis\/\">Diagnose acute inflammations of the urinary bladder<\/a>.<\/li>\n<li><a href=\"https:\/\/www.neuraldesigner.com\/learning\/examples\/telecommunications-churn\/\">Predict customer churn in telecommunications companies<\/a>.<\/li>\n<\/ul>\n<h3 id=\"MultipleClassification\">Multiple classification<\/h3>\n<p>In multiple classifications, the target variable is usually nominal (class_1, class_2, or class_3).<\/p>\n<p>Some examples are the following:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.neuraldesigner.com\/learning\/examples\/iris-flowers-classification\/\">Classify iris flowers from sepal and petal dimensions (setosa, versicolor or virginica)<\/a>.<\/li>\n<li><a href=\"https:\/\/www.neuraldesigner.com\/use-cases\/activity-recognition\/\">Recognize human activity on smartphones (walking, sitting, standing&#8230;)<\/a>.<\/li>\n<\/ul>\n<\/div><\/div><div class=\"ndg-step\" id=\"Forecasting\"><div class=\"ndg-ic\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.neuraldesigner.com\/images\/forecasting.svg\" alt=\"\" width=\"44\" height=\"44\" \/><\/div><div class=\"ndg-step__body\"><h2>1.3. Forecasting (or time series prediction)<\/h2><p>A forecasting model predicts the values that one or more variables will take in the future, using the values that they, and possibly other variables, took in the past.<\/p>\n<p>The data come as a time series: observations recorded at regular intervals, such as every hour, day or month. To train a neural network, the series is rearranged into samples. In Neural Designer, you choose the number of lags and the number of steps ahead: the inputs of each sample are the observations at the current time step and at the previous ones (the lags), and the targets are the values at the following time steps. After this rearrangement, a forecasting model is trained much like an approximation model.<\/p>\n<p>The following figure illustrates a forecast application: the model estimates the next value, <em>y<sub>t+1<\/sub><\/em>, from the current value, <em>y<sub>t<\/sub><\/em>, the previous one, <em>y<sub>t-1<\/sub><\/em>, and so on.<\/p>\n<p><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" style=\"max-width: 600px;\" src=\"https:\/\/www.neuraldesigner.com\/images\/forecasting.webp\" alt=\"Forecasting problem\" width=\"600\" height=\"350\" \/><\/p>\n<p>For instance, a car manufacturer can forecast next month&#8217;s sales of a model from its sales in previous months, its recent marketing actions and macroeconomic indicators.<\/p>\n<p>A forecasting model is only useful if its predictions hold beyond the period it was trained on. For that reason, it is good practice to test it on the most recent part of the series, which the model has not seen during training.<\/p>\n<\/div><\/div><div class=\"ndg-step\" id=\"AnomalyDetection\"><div class=\"ndg-ic\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.neuraldesigner.com\/images\/autoassociation.svg\" alt=\"\" width=\"44\" height=\"44\" \/><\/div><div class=\"ndg-step__body\"><span id=\"AutoAssociation\" aria-hidden=\"true\"><\/span><h2>1.4. Anomaly detection<\/h2>\n<p>Anomaly detection identifies samples that depart from normal behavior. In Neural Designer, this model uses an auto-associative neural network to reconstruct its own input variables. It learns from normal training samples; it does not need a separate target variable for training.<\/p>\n<p>The following figure illustrates the reconstruction network used by the model:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.neuraldesigner.com\/images\/auto-associative-neural-network.webp\" alt=\"Auto-associative neural network\" width=\"441\" height=\"314\" \/><\/p>\n<p>The difference between a sample and its reconstruction is an error score. Samples whose score reaches or exceeds the anomaly threshold are flagged for review. Neural Designer can calculate a threshold from normal training errors or use a threshold chosen by the user.<\/p>\n<p>Typical applications include spotting unusual sensor readings in industrial equipment, abnormal ECG measurements, and deviations in process or environmental data.<\/p>\n<p>Prepare normal samples for training and reserve separate samples for testing. An optional Evaluation variable can hold known labels (0 for normal, 1 for anomalous); it stays out of the model and is used only to assess detection results.<\/p>\n<p>For this model, Neural Designer provides tasks to inspect sample reconstructions, calculate anomaly thresholds, evaluate detection tests and ROC curves when labels are available, detect anomalies in a new CSV file, and export an anomaly detector.<\/p>\n<p>Explore three Anomaly Detection examples with saved task results:<\/p><ul><li><a href=\"https:\/\/www.neuraldesigner.com\/learning\/examples\/ecg-anomaly-detection\/\">ECG anomaly detection<\/a> \u2014 Research benchmark on ECG5000 beat classes from one recording.<\/li><li><a href=\"https:\/\/www.neuraldesigner.com\/learning\/examples\/bearing-anomaly-detection\/\">Bearing anomaly detection<\/a> \u2014 Four-bearing vibration feature review.<\/li><li><a href=\"https:\/\/www.neuraldesigner.com\/learning\/examples\/hydraulic-system-anomaly-detection\/\">Hydraulic system anomaly detection<\/a> \u2014 Hydraulic cycle monitoring with a training-derived threshold.<\/li><\/ul>\n<\/div><\/div><div class=\"ndg-step\" id=\"TextClassification\"><div class=\"ndg-ic\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.neuraldesigner.com\/images\/text-classification-icon.svg\" alt=\"\" width=\"44\" height=\"44\" \/><\/div><div class=\"ndg-step__body\"><h2>1.5. Text classification<\/h2><p>Text classification is a natural language processing task in which text data is categorized into predefined labels or categories.<\/p>\n<p>The basic goal of a text classification problem is to model one or several target variables conditioned on the input text data.<\/p>\n<p>The objective here is to predict the category or label of a given text based on its content.<\/p>\n<p>In text classification applications, the targets are usually discrete variables such as categories, labels, or sentiments.<\/p>\n<p>Some examples are the following:<\/p>\n<ul>\n<li>Spam detection: Classifying emails as spam or not based on their content.<\/li>\n<li>Sentiment analysis: Classifying text data as positive, negative, or neutral based on the sentiment expressed.<\/li>\n<li>Topic classification: Classifying news articles into predefined topics such as politics, sports, technology, etc.<\/li>\n<li>Named entity recognition: Identifying and classifying named entities such as people, organizations, locations, etc.<\/li>\n<\/ul>\n<p>Text data are noisy in their own way. Typos, grammatical errors, abbreviations and passages unrelated to the label add variation that says nothing about the category, while the useful information lies in recurring words, phrases and patterns.<\/p>\n<p>The aim is a model that relies on those recurring patterns rather than on accidental details of the training documents, so that it also assigns the right category to texts it has never seen.<\/p>\n<\/div><\/div><div class=\"ndg-step\" id=\"ImageClassification\"><div class=\"ndg-ic\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2026\/07\/image-classification-model-icon.svg\" width=\"44\" height=\"44\" alt=\"Image classification model\" \/><\/div><div class=\"ndg-step__body\"><h2>1.6. Image classification model<\/h2><p>Image classification is a computer vision task in which an entire image is assigned to one of a predefined set of classes. Unlike a conventional classification data set, every input sample is a three-dimensional tensor of pixel values with the shape <em>height \u00d7 width \u00d7 channels<\/em>. The model learns the visual features that distinguish one class from another directly from those pixels.<\/p>\n<p>In Neural Designer, an image classification project combines an image data set with a convolutional neural network. Images are organized into one folder per class, and the folder names define the class labels. The data set must contain at least two non-empty class folders.<\/p>\n<p>The image classification model processes the data through the following architecture:<\/p>\n<ul>\n<li><strong>Image scaling:<\/strong> Pixel values are normalized with image min-max scaling.<\/li>\n<li><strong>Feature extraction:<\/strong> One or more 3 \u00d7 3 convolutional layers with ReLU activation learn local visual patterns. Each convolutional block is followed by 2 \u00d7 2 max pooling.<\/li>\n<li><strong>Classification:<\/strong> The extracted feature maps are flattened and passed to a dense ReLU layer.<\/li>\n<li><strong>Output:<\/strong> Binary problems use a sigmoid output, while multiclass problems use a softmax output.<\/li>\n<\/ul>\n<p>Cross-entropy is the appropriate loss for this task, and adaptive moment estimation is commonly used to train the network. The trained model can be evaluated with a confusion matrix and the corresponding binary or multiclass classification metrics.<\/p>\n<p>Typical applications include handwritten character recognition, medical image classification, visual quality inspection, remote-sensing image analysis, and species or disease identification from photographs.<\/p>\n<figure style=\"margin: 28px 0 34px;\"><img loading=\"lazy\" decoding=\"async\" style=\"width: 100%; max-width: 820px;\" src=\"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2026\/07\/neural-designer-image-classification-dataset.png\" alt=\"Neural Designer Data set interface for an image classification model\" width=\"2492\" height=\"1382\" \/><figcaption style=\"margin-top: 10px; color: #54595f; font-size: 14px;\">The Data set interface displays the image folder, dimensions, number of classes, a sample image, and the training, validation, and testing split.<\/figcaption><\/figure>\n<\/div><\/div><\/div><\/div><nav class=\"ndts-bottom\" aria-label=\"Tutorial chapter navigation\"><div class=\"ndts-controls\"><a href=\"https:\/\/www.neuraldesigner.com\/learning\/machine-learning-tutorial\/\" data-tutorial-nav=\"overview\">\u2190 Tutorial overview<\/a><a href=\"https:\/\/www.neuraldesigner.com\/learning\/machine-learning-tutorial\/\">All chapters<\/a><a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/data-set\/\" data-tutorial-nav=\"next\" onclick=\"if(typeof gtag==='function'){gtag('event','tutorial_nav_click',{tutorial_action:'next',tutorial_chapter:'1',link_url:this.href});}\">Data set \u2192<\/a><\/div><\/nav>","protected":false},"author":122,"featured_media":2702,"template":"","categories":[30],"tags":[36],"class_list":["post-3535","learning","type-learning","status-publish","has-post-thumbnail","hentry","category-tutorials","tag-tutorials"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Machine Learning Tutorial: Model Types - Neural Designer<\/title>\n<meta name=\"description\" content=\"Learn how regression and classification define the main machine learning model types and how to choose the right approach for a problem.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/neural-networks-applications\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Neural networks tutorial: Application types\" \/>\n<meta property=\"og:description\" content=\"The applications of neural networks are uncountable, but most of them can be formulated as regression or classification problems. They are explained here.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/neural-networks-applications\/\" \/>\n<meta property=\"og:site_name\" content=\"Neural Designer\" \/>\n<meta property=\"article:modified_time\" content=\"2026-10-12T11:35:04+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"Neural networks tutorial: Application types\" \/>\n<meta name=\"twitter:description\" content=\"The applications of neural networks are uncountable, but most of them can be formulated as regression or classification problems. They are explained here.\" \/>\n<meta name=\"twitter:site\" content=\"@NeuralDesigner\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/neural-networks-applications\/\",\"url\":\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/neural-networks-applications\/\",\"name\":\"Machine Learning Tutorial: Model Types - Neural Designer\",\"isPartOf\":{\"@id\":\"https:\/\/www.neuraldesigner.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/neural-networks-applications\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/neural-networks-applications\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/activity-diagram-neural-designer.svg\",\"datePublished\":\"2025-11-24T10:12:58+00:00\",\"dateModified\":\"2026-10-12T11:35:04+00:00\",\"description\":\"Learn how regression and classification define the main machine learning model types and how to choose the right approach for a problem.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/neural-networks-applications\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/neural-networks-applications\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/neural-networks-applications\/#primaryimage\",\"url\":\"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/activity-diagram-neural-designer.svg\",\"contentUrl\":\"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/activity-diagram-neural-designer.svg\",\"width\":1200,\"height\":627,\"caption\":\"Neural Designer activity diagram\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/neural-networks-applications\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.neuraldesigner.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Learning\",\"item\":\"https:\/\/www.neuraldesigner.com\/learning\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Machine learning tutorial: Model types\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.neuraldesigner.com\/#website\",\"url\":\"https:\/\/www.neuraldesigner.com\/\",\"name\":\"Neural Designer\",\"description\":\"No-code AI Platform\",\"publisher\":{\"@id\":\"https:\/\/www.neuraldesigner.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.neuraldesigner.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.neuraldesigner.com\/#organization\",\"name\":\"Neural Designer\",\"url\":\"https:\/\/www.neuraldesigner.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.neuraldesigner.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/05\/logo-neural-1.png\",\"contentUrl\":\"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/05\/logo-neural-1.png\",\"width\":1024,\"height\":223,\"caption\":\"Neural Designer\"},\"image\":{\"@id\":\"https:\/\/www.neuraldesigner.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/NeuralDesigner\",\"https:\/\/es.linkedin.com\/showcase\/neuraldesigner\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Machine Learning Tutorial: Model Types - Neural Designer","description":"Learn how regression and classification define the main machine learning model types and how to choose the right approach for a problem.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/neural-networks-applications\/","og_locale":"en_US","og_type":"article","og_title":"Neural networks tutorial: Application types","og_description":"The applications of neural networks are uncountable, but most of them can be formulated as regression or classification problems. They are explained here.","og_url":"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/neural-networks-applications\/","og_site_name":"Neural Designer","article_modified_time":"2026-10-12T11:35:04+00:00","twitter_card":"summary_large_image","twitter_title":"Neural networks tutorial: Application types","twitter_description":"The applications of neural networks are uncountable, but most of them can be formulated as regression or classification problems. They are explained here.","twitter_site":"@NeuralDesigner","twitter_misc":{"Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/neural-networks-applications\/","url":"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/neural-networks-applications\/","name":"Machine Learning Tutorial: Model Types - Neural Designer","isPartOf":{"@id":"https:\/\/www.neuraldesigner.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/neural-networks-applications\/#primaryimage"},"image":{"@id":"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/neural-networks-applications\/#primaryimage"},"thumbnailUrl":"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/activity-diagram-neural-designer.svg","datePublished":"2025-11-24T10:12:58+00:00","dateModified":"2026-10-12T11:35:04+00:00","description":"Learn how regression and classification define the main machine learning model types and how to choose the right approach for a problem.","breadcrumb":{"@id":"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/neural-networks-applications\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.neuraldesigner.com\/learning\/tutorials\/neural-networks-applications\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/neural-networks-applications\/#primaryimage","url":"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/activity-diagram-neural-designer.svg","contentUrl":"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/activity-diagram-neural-designer.svg","width":1200,"height":627,"caption":"Neural Designer activity diagram"},{"@type":"BreadcrumbList","@id":"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/neural-networks-applications\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.neuraldesigner.com\/"},{"@type":"ListItem","position":2,"name":"Learning","item":"https:\/\/www.neuraldesigner.com\/learning\/"},{"@type":"ListItem","position":3,"name":"Machine learning tutorial: Model types"}]},{"@type":"WebSite","@id":"https:\/\/www.neuraldesigner.com\/#website","url":"https:\/\/www.neuraldesigner.com\/","name":"Neural Designer","description":"No-code AI Platform","publisher":{"@id":"https:\/\/www.neuraldesigner.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.neuraldesigner.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.neuraldesigner.com\/#organization","name":"Neural Designer","url":"https:\/\/www.neuraldesigner.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.neuraldesigner.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/05\/logo-neural-1.png","contentUrl":"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/05\/logo-neural-1.png","width":1024,"height":223,"caption":"Neural Designer"},"image":{"@id":"https:\/\/www.neuraldesigner.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/NeuralDesigner","https:\/\/es.linkedin.com\/showcase\/neuraldesigner\/"]}]}},"_links":{"self":[{"href":"https:\/\/www.neuraldesigner.com\/api\/wp\/v2\/learning\/3535","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.neuraldesigner.com\/api\/wp\/v2\/learning"}],"about":[{"href":"https:\/\/www.neuraldesigner.com\/api\/wp\/v2\/types\/learning"}],"author":[{"embeddable":true,"href":"https:\/\/www.neuraldesigner.com\/api\/wp\/v2\/users\/122"}],"version-history":[{"count":23,"href":"https:\/\/www.neuraldesigner.com\/api\/wp\/v2\/learning\/3535\/revisions"}],"predecessor-version":[{"id":24334,"href":"https:\/\/www.neuraldesigner.com\/api\/wp\/v2\/learning\/3535\/revisions\/24334"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.neuraldesigner.com\/api\/wp\/v2\/media\/2702"}],"wp:attachment":[{"href":"https:\/\/www.neuraldesigner.com\/api\/wp\/v2\/media?parent=3535"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.neuraldesigner.com\/api\/wp\/v2\/categories?post=3535"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.neuraldesigner.com\/api\/wp\/v2\/tags?post=3535"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}