Example: Difference between revisions

228 bytes added ,  19 February 2023
no edit summary
No edit summary
No edit summary
Line 5: Line 5:
==What is an example in machine learning?==
==What is an example in machine learning?==
An example in machine learning refers to a pair of input and output values used to train a model. The input value is made up of [[features]] or attributes that describe an object or phenomenon, while the output value serves as its [[label]] or [[class]]. For instance, spam detection systems typically take email messages (input) as their label (output), which could either be "spam" or "not spam." Similarly, image recognition systems take pictures as inputs and assign them labels describing what the image depicts. Suppose we collected a dataset of 2000 apartments with their features and prices. The features and the price of a single apartment would be an example.
An example in machine learning refers to a pair of input and output values used to train a model. The input value is made up of [[features]] or attributes that describe an object or phenomenon, while the output value serves as its [[label]] or [[class]]. For instance, spam detection systems typically take email messages (input) as their label (output), which could either be "spam" or "not spam." Similarly, image recognition systems take pictures as inputs and assign them labels describing what the image depicts. Suppose we collected a dataset of 2000 apartments with their features and prices. The features and the price of a single apartment would be an example.
{| class="wikitable"
|-
! colspan="3"| Features
! colspan="1"| Label
|-
! Location
! Bedroom #
! Bathroom #
! Price
|-
| Midtown || 3 || 2 || $800,000
|-
| Uptown || 2 || 2 || $500,000
|-
| Downtown || 2 || 1 || $700,000
|-
|}


==Explain Like I'm 5 (ELI5)==
==Explain Like I'm 5 (ELI5)==