The Engineers Guide to Machine Learning: Data processing | Data Types

Christopher Dossman Christopher Dossman
April 15, 2019 AI & Machine Learning
The four main types of data you will see as machine learning engineer

Data processing: Data Types

Machine learning/Deep Learning/AI are fancy number crunchers and they can have some amazing results given good data, however, the first step is to properly understand your data so you can make informed decisions about what algorithms and data cleaning methods to use. One of the first things in understanding your data is to know what kind of data you have! Here are the 4 most common types of data that you will come across.

Nominal data

Nominal data is the least informative the four data types. These are variables with no inherent order or ranking sequence. “Nominal” scales could simply be called labels. All nominal scales are mutually exclusive and none of them have any numerical significance. An easy way to remember is that the “Nominal” sounds a lot like “name” and all nominal scales are a lot like names

Ordinal Data

Variables of an ordinal type can be differentiated by order (Rank, Position), but, the relative difference between them is not known. Ordinal data is a categorical type. “Ordinal” is easy to remember because is sounds like “order” and that’s the key to remember with “ordinal scales”–it is the order that matters, but that’s all you really get from these.

Interval Data

Interval scales are numerical scales where we know the order and exact differences between values. The classic example of an interval scale is Celsius temperature. The difference between 60 and 50 degrees is a measurable 10 degrees, as is the difference between 80 and 70 degrees. There is however no true zero and it is impossible to compute ratios.

Interval scales are nice because the realm of statistical analysis on these data sets opens up. You can measure the mode, median, mean, and standard deviation. Like the others, you can remember the key points of an “interval scale” pretty easily. “Interval” itself means “space in between,” which is the important thing to remember–interval scales not only tell us about order, but also about the value between each item.

Ratio Data

Ratio scales are the ultimate nirvana when it comes to measurement scales because they tell us about the order, they tell us the exact value between units, AND they also have an absolute zero–which allows for a wide range of both descriptive and inferential statistics to be applied. At the risk of repeating myself, everything above about interval data applies to ratio scales + ratio scales have a clear definition of zero. Good examples of ratio variables include height and weight.

Ratio scales provide a wealth of possibilities when it comes to statistical analysis. These variables can be meaningfully added, subtracted, multiplied, divided (ratios). Central tendency can be measured by mode, median, or mean; measures of dispersion, such as standard deviation and coefficient of variation can also be calculated from ratio scales.

Summary

In summary, nominal variables are used to “name,” or label a series of values. Ordinal scales provide good information about the order of choices, such as in a customer satisfaction survey. Interval scales give us the order of values + the ability to quantify the difference between each one. Finally, Ratio scales give us the ultimate–order, interval values, plus the ability to calculate ratios since a “true zero” can be defined.

  • Experfy Insights

    Top articles, research, podcasts, webinars and more delivered to you monthly.

  • Christopher Dossman

    Tags
    Machine Learning
    © 2021, Experfy Inc. All rights reserved.
    Leave a Comment
    Next Post
    Everything you need to know about Google’s new PlaNet reinforcement learning network

    Everything you need to know about Google’s new PlaNet reinforcement learning network

    Leave a Reply Cancel reply

    Your email address will not be published. Required fields are marked *

    More in AI & Machine Learning
    AI & Machine Learning,Future of Work
    AI’s Role in the Future of Work

    Artificial intelligence is shaping the future of work around the world in virtually every field. The role AI will play in employment in the years ahead is dynamic and collaborative. Rather than eliminating jobs altogether, AI will augment the capabilities and resources of employees and businesses, allowing them to do more with less. In more

    5 MINUTES READ Continue Reading »
    AI & Machine Learning
    How Can AI Help Improve Legal Services Delivery?

    Everybody is discussing Artificial Intelligence (AI) and machine learning, and some legal professionals are already leveraging these technological capabilities.  AI is not the future expectation; it is the present reality.  Aside from law, AI is widely used in various fields such as transportation and manufacturing, education, employment, defense, health care, business intelligence, robotics, and so

    5 MINUTES READ Continue Reading »
    AI & Machine Learning
    5 AI Applications Changing the Energy Industry

    The energy industry faces some significant challenges, but AI applications could help. Increasing demand, population expansion, and climate change necessitate creative solutions that could fundamentally alter how businesses generate and utilize electricity. Industry researchers looking for ways to solve these problems have turned to data and new data-processing technology. Artificial intelligence, in particular — and

    3 MINUTES READ Continue Reading »

    About Us

    Incubated in Harvard Innovation Lab, Experfy specializes in pipelining and deploying the world's best AI and engineering talent at breakneck speed, with exceptional focus on quality and compliance. Enterprises and governments also leverage our award-winning SaaS platform to build their own customized future of work solutions such as talent clouds.

    Join Us At

    Contact Us

    1700 West Park Drive, Suite 190
    Westborough, MA 01581

    Email: [email protected]

    Toll Free: (844) EXPERFY or
    (844) 397-3739

    © 2025, Experfy Inc. All rights reserved.