22
Sun, Dec
3 New Articles

Artificial Intelligence, Part 1: Understanding Data

Typography
  • Smaller Small Medium Big Bigger
  • Default Helvetica Segoe Georgia Times

This article series is designed to provide you with an introduction to the basic concepts of artificial intelligence (AI), machine learning (ML), and deep learning (DL), as well as introduce you to some of the terminology that is frequently used in discussions regarding this technology. This is not a deep dive into AI, ML, and DL but rather a “dictionary” of AI, ML, and DL topics and terms.

The information provided is NOT intended to make you an AI, ML, or DL expert. Nor will it show you how to build, train, and deploy ML and DL models. Instead, it will give you a good foundation in AI, ML, and DL and help you understand some of the terminology you are likely to encounter in discussions, presentations, papers, and books on the subject.

Understanding data

Artificial Intelligence (AI), Machine Learning (ML), and Deep Learning (DL), Part 1: An Introduction - Figure 1

Figure 1: "Data is the new oil"

In 2006, Clive Humby, a British mathematician and entrepreneur in the field of data science and customer-centric business strategies, coined the phrase “Data is the new oil”. Soon after, Michael Palmer, executive vice president of the Association of National Advertisers, amplified the point in a blog post, writing that like oil, data is “valuable, but if unrefined it cannot really be used. [Oil] has to be changed into gas, plastic, chemicals, etc. to create a valuable entity that drives profitable activity; so, data must be broken down and analysed for it to have value.”

But how do organizations deal with the massive amounts of data that’s available to them? And how can they change this valuable “crude” into an even more valuable commodity – the insight needed to make actionable decisions?

These questions are even more consequential today than they were in 2006, given the exponential increase in the amount of data being generated. According to Statista (https://www.statista.com), approximately 97 zettabytes of data was created, copied, captured, or consumed around the world in 2022. And this number is expected to grow to 181 zettabytes by 2025! Therefore, it is incumbent upon organizations to employ tools like artificial intelligence (AI), machine learning (ML), and deep learning (DL), which enable them to ingest and process all this information, and in turn, gain insights that will help them make better decisions and ultimately improve their bottom line.

In its most basic form, data is information that has been translated into some format that can be easily stored, moved, or processed. Computers represent data as binary values using patterns of just two numbers: 0 and 1. And, keeping with the categorization that is central to most computer operations, data can fall into one of three categories:

  • Structured
  • Unstructured
  • Semi-structured

Technically, all data has structure of some sort. So, deciding which category certain data belongs to often comes down to whether that data has a pre-defined structure or is organized in a pre-defined way.

 

Sources:

Data, the “New Oil,” Cannot Be Used If Left Unrefined. Thankfully, AI Can Help
https://donbasile.com/2021/05/28/data-the-new-oil-cannot-be-used-if-left-unrefined-thankfully-ai-can-help/

Why Do People Still Think Data Is the New Oil?
https://datainnovation.org/2018/01/why-do-people-still-think-data-is-the-new-oil/

Structured Data

Artificial Intelligence, Part 1: Understanding Data - Figure 2

Figure 2: Structured data – data that has a clearly defined format

Structured data refers to data that has a clearly defined size and data type – commonly used data types include characters, numbers, dates, times, and groups of characters called strings. Usually, structured data is organized into some type of formatted repository (typically a spreadsheet or database), so its elements can be made addressable for more effective processing and analysis. Most experts agree that structured data accounts for about 20% of all the data that is generated.

If you look at an Excel spreadsheet, you will notice that it consists of rows (identified by numbers along the left-hand side) and columns (identified by characters across the top). A column typically represents some attribute that has a well-defined data type, and a row represents a single record that has multiple columnar values (or attributes). For instance, a record (row) that contains bank account information, might have one column that contains the account number, another column that contains the account balance, another column that contains the date the last debit or credit was made against the account, and so on. The column that contains the account number may be defined such that it only accepts a string of characters and numbers, the account balance column may only accept currency values, and the column containing information about dates that transactions were performed may only accept valid dates.

As you can see from this example, each row in a structured data set is well defined in that all column values for any given row are somewhat related. We say the row is “structured” because there is a well-defined column for every value stored in the row and each row contains the same set of columns.

Relational database management systems (RDBMSs) like IBM Db2, Oracle, Microsoft SQL Server, and so forth, store data using a similar row-column format, but at a much larger scale. Consequently, they often serve as the main repository for structured data in a company and are frequently used as the primary data source for AI, ML, and DL projects. In many cases, such projects are looking for patterns in existing rows so they can predict the value for a given column.

For example, if a table in a database contains information about the local real estate market, a single record (for a house) might contain information such as style, location, square footage, lot size, number of bedrooms, number of bathrooms, room sizes, tax appraisal value, last sale price, and so on. Using this data, an ML model could be developed that accurately predicts the sales price for a home when presented with information found in the other columns. And an application could be developed that uses this ML model to predict the optimum sale price for a new home coming on the market when all relevant information is provided.

 Unstructured Data

Artificial Intelligence, Part 1: Understanding Data - Figure 3

Figure 3: Unstructured data – drawings, photographic images, audio clips, videos, etc.

Unstructured data is data that either does not have a pre-defined data model or is not organized in a pre-defined manner. Drawings, photographic images, audio clips, and videos are examples of unstructured data. That said, it’s important to note that a small amount of metadata – attributes that define the data itself – that has a defined structure may be stored with this type of data so delivery mechanisms can use it. For example, image data stored in a JPEG (Joint Photographic Experts Group)-formatted file will have some structured metadata stored with it so select applications will know how to use the data to render the image on a computer screen.

According to Gartner, somewhere around 80% of enterprise data originates in unstructured form. IDC claims that unstructured data grows at 26.8% annually compared to structured data, which only grows at 19.6%. And it’s not just the digital photos, recordings, videos, and social media postings people produce daily that is driving this trend; unstructured data is increasingly being generated by machines like laboratory equipment and medical devices, as well as software that aids in tasks like electronic design and geospatial modeling.

As businesses embrace AI, ML, and DL, unstructured data is becoming essential to their offerings and operations. Why? Because ML and DL algorithms are capable of gaining valuable insights from unstructured data that are otherwise impossible to derive.

For example, the medical industry is beginning to see ML and DL models that can use unstructured data in the form of images to help diagnose cancer and other diseases. In other areas, ML and DL models are being used to search social media for patterns that indicate a user’s sentiment (how they feel) about a particular product or service, and to create chatbots (software that conducts a conversation via audio or text to convincingly simulate how a human would behave as a conversational partner) to answer questions that traditionally would have been addressed by someone working at a help desk.

 

Semi-structured Data

Artificial Intelligence, Part 1: Understanding Data - Figure 4

Figure 4: Semi-structured data – data with some number of organizational properties.

Semi-structured data is a form of structured data that does not adhere to the formal structure used with spreadsheets and relational databases, but nonetheless has some organizational properties like semantic tags and hierarchies, that make it easier to read and analyze. A good example of semi-structured data is Hypertext Markup Language (HTML) code, which doesn't restrict the amount of information that can be stored in a document, but still enforces a hierarchy via required semantic elements. (HTML is the standard markup language that is used for documents that are designed to be displayed in a web browser.) Other forms of semi-structured data include:

  • Email messages – a method of exchanging messages between people using electronic devices.
  • Comma Separated Value (CSV) files – CSV files consist of “rows” of data where each “column” value is separated by a comma and each row is separated by a carriage-return/line feed character.
  • Extensible Markup Language (XML) documents – XML is a markup language that defines a set of rules for encoding documents in a format that is both human and machine readable.
  • JavaScript Object Notation (JSON) objects – JSON is an open standard format that uses human readable text to transmit data objects consisting of attribute–value pairs.
  • Electronic Data Interchange (EDI) documents – EDI is a process that allows one company to send information to another company electronically rather than with paper. Many business documents can be exchanged using EDI, but the two most common are purchase orders and invoices.
  • Resource Description Framework (RDF) metadata – RDF is a standard model for data interchange on the Web that allows structured and semi-structured data to be mixed, exposed, and shared across different applications.
  • NoSQL database data – A NoSQL database provides a mechanism for the storage and retrieval of data that is modeled in methods other than that used with relational databases. (Popular NoSQL databases include MongoDB, Redis, Apache CouchDB, and Cassandra, to name a few.)

It’s important to note that because very little data in the modern age has absolutely no structure and no metadata associated with it, data that is categorized as being unstructured could, technically, be considered semi-structured. So, there are some who argue that the distinction between unstructured and semi-structured data is moot.

 

Adding Dimensions to Data

Artificial Intelligence, Part 1: Understanding Data - Figure 2

Figure 5: Data in terms of dimensions

Now that we have looked at the different types of data that’s available, let’s talk about data in terms of dimensions. It’s relatively easy to conceptualize dimensions when it comes to two-dimensional (2D) and three-dimensional (3D) objects. For example, a circle, square, or triangle drawn on a piece of paper has two dimensions – width and height. But a cube or sphere drawn on a piece of paper, along with the paper itself and practically every other object in the world has three dimensions – width, height, and depth (sometimes referred to as length or thickness).

It’s also not that difficult for humans to visualize objects in four dimensions. The four-dimensional example shown in Figure 5 begins with a three-dimensional graph that shows X, Y, and Z planes, and then adds color to create a fourth dimension. In the real world, the fourth dimension is often referred to as the time dimension. Thus, a box being thrown from one person to another has four dimensions – the width, height, and length of the box, coupled with the time it takes for the box to travel through the air.

But how do you graphically represent a fifth-dimension, sixth-dimension, or more? If you have data stored in a table that has four or more columns and you think of each column as being a different dimension, it’s not too difficult to picture what data with more than four dimensions might look like. However, trying to find patterns or correlations in all that data is difficult. And having more than four columns (dimensions) makes the problem exponentially more difficult to solve. The more dimensions you have, the more combinations of data you need to examine to find patterns amongst all the possible combinations of data available. That’s why it’s a good idea to eliminate dimensions that are not needed before you attempt to use data for AI, ML, and DL.

Stay Tuned

In the next part of this article series, we’ll explore what AI, ML, and DL are, as well as look at the building blocks of AI, ML, and DL, and explore the typical ML and DL workflow.

BLOG COMMENTS POWERED BY DISQUS

LATEST COMMENTS

Support MC Press Online

$

Book Reviews

Resource Center

  • SB Profound WC 5536 Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application. You can find Part 1 here. In Part 2 of our free Node.js Webinar Series, Brian May teaches you the different tooling options available for writing code, debugging, and using Git for version control. Brian will briefly discuss the different tools available, and demonstrate his preferred setup for Node development on IBM i or any platform. Attend this webinar to learn:

  • SB Profound WP 5539More than ever, there is a demand for IT to deliver innovation. Your IBM i has been an essential part of your business operations for years. However, your organization may struggle to maintain the current system and implement new projects. The thousands of customers we've worked with and surveyed state that expectations regarding the digital footprint and vision of the company are not aligned with the current IT environment.

  • SB HelpSystems ROBOT Generic IBM announced the E1080 servers using the latest Power10 processor in September 2021. The most powerful processor from IBM to date, Power10 is designed to handle the demands of doing business in today’s high-tech atmosphere, including running cloud applications, supporting big data, and managing AI workloads. But what does Power10 mean for your data center? In this recorded webinar, IBMers Dan Sundt and Dylan Boday join IBM Power Champion Tom Huntington for a discussion on why Power10 technology is the right strategic investment if you run IBM i, AIX, or Linux. In this action-packed hour, Tom will share trends from the IBM i and AIX user communities while Dan and Dylan dive into the tech specs for key hardware, including:

  • Magic MarkTRY the one package that solves all your document design and printing challenges on all your platforms. Produce bar code labels, electronic forms, ad hoc reports, and RFID tags – without programming! MarkMagic is the only document design and print solution that combines report writing, WYSIWYG label and forms design, and conditional printing in one integrated product. Make sure your data survives when catastrophe hits. Request your trial now!  Request Now.

  • SB HelpSystems ROBOT GenericForms of ransomware has been around for over 30 years, and with more and more organizations suffering attacks each year, it continues to endure. What has made ransomware such a durable threat and what is the best way to combat it? In order to prevent ransomware, organizations must first understand how it works.

  • SB HelpSystems ROBOT GenericIT security is a top priority for businesses around the world, but most IBM i pros don’t know where to begin—and most cybersecurity experts don’t know IBM i. In this session, Robin Tatam explores the business impact of lax IBM i security, the top vulnerabilities putting IBM i at risk, and the steps you can take to protect your organization. If you’re looking to avoid unexpected downtime or corrupted data, you don’t want to miss this session.

  • SB HelpSystems ROBOT GenericCan you trust all of your users all of the time? A typical end user receives 16 malicious emails each month, but only 17 percent of these phishing campaigns are reported to IT. Once an attack is underway, most organizations won’t discover the breach until six months later. A staggering amount of damage can occur in that time. Despite these risks, 93 percent of organizations are leaving their IBM i systems vulnerable to cybercrime. In this on-demand webinar, IBM i security experts Robin Tatam and Sandi Moore will reveal:

  • FORTRA Disaster protection is vital to every business. Yet, it often consists of patched together procedures that are prone to error. From automatic backups to data encryption to media management, Robot automates the routine (yet often complex) tasks of iSeries backup and recovery, saving you time and money and making the process safer and more reliable. Automate your backups with the Robot Backup and Recovery Solution. Key features include:

  • FORTRAManaging messages on your IBM i can be more than a full-time job if you have to do it manually. Messages need a response and resources must be monitored—often over multiple systems and across platforms. How can you be sure you won’t miss important system events? Automate your message center with the Robot Message Management Solution. Key features include:

  • FORTRAThe thought of printing, distributing, and storing iSeries reports manually may reduce you to tears. Paper and labor costs associated with report generation can spiral out of control. Mountains of paper threaten to swamp your files. Robot automates report bursting, distribution, bundling, and archiving, and offers secure, selective online report viewing. Manage your reports with the Robot Report Management Solution. Key features include:

  • FORTRAFor over 30 years, Robot has been a leader in systems management for IBM i. With batch job creation and scheduling at its core, the Robot Job Scheduling Solution reduces the opportunity for human error and helps you maintain service levels, automating even the biggest, most complex runbooks. Manage your job schedule with the Robot Job Scheduling Solution. Key features include:

  • LANSA Business users want new applications now. Market and regulatory pressures require faster application updates and delivery into production. Your IBM i developers may be approaching retirement, and you see no sure way to fill their positions with experienced developers. In addition, you may be caught between maintaining your existing applications and the uncertainty of moving to something new.

  • LANSAWhen it comes to creating your business applications, there are hundreds of coding platforms and programming languages to choose from. These options range from very complex traditional programming languages to Low-Code platforms where sometimes no traditional coding experience is needed. Download our whitepaper, The Power of Writing Code in a Low-Code Solution, and:

  • LANSASupply Chain is becoming increasingly complex and unpredictable. From raw materials for manufacturing to food supply chains, the journey from source to production to delivery to consumers is marred with inefficiencies, manual processes, shortages, recalls, counterfeits, and scandals. In this webinar, we discuss how:

  • The MC Resource Centers bring you the widest selection of white papers, trial software, and on-demand webcasts for you to choose from. >> Review the list of White Papers, Trial Software or On-Demand Webcast at the MC Press Resource Center. >> Add the items to yru Cart and complet he checkout process and submit

  • Profound Logic Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application.

  • SB Profound WC 5536Join us for this hour-long webcast that will explore:

  • Fortra IT managers hoping to find new IBM i talent are discovering that the pool of experienced RPG programmers and operators or administrators with intimate knowledge of the operating system and the applications that run on it is small. This begs the question: How will you manage the platform that supports such a big part of your business? This guide offers strategies and software suggestions to help you plan IT staffing and resources and smooth the transition after your AS/400 talent retires. Read on to learn: