Docsity

Understanding Machine Learning: Definitions, Applications, and Best Practices, Study notes of Introduction to Machine Learning

Partial preview of the text

Download Understanding Machine Learning: Definitions, Applications, and Best Practices and more Study notes Introduction to Machine Learning in PDF only on Docsity!

Primer

The

a SAS Best Practices e-book by Kimberly Nevala

LEARNING

MACHINE

Table of Contents

    1. Machine Learning Defined
    • • Do Machines Learn?
    • • Problems that Lend Themselves to Machine Learning
    1. The Basic Techniques
    • • The 4 Types of Learning....................................................................................
    • • Hot Topics
    1. Points to Ponder
    1. Best Practices
    1. Are You Ready for Machine Learning? (A Checklist)

A Machine Learning Primer: Machine Learning Defined 4

machine \mə-ˈshēn\ a mechanically, electrically, or electronically

operated device for performing a task.

learning \ˈlərniNG\ the activity or process of gaining knowledge or skill

by studying, practicing, being taught, or experiencing something.

A Machine L earning Primer: Machine L earning Deffined 55

Do Machines Learn? Yes! Machines learn by studying data to detect patterns or by applying known rules to:

  • Categorize or catalog like people or things
  • Predict likely outcomes or actions based on identified patterns
  • Identify hitherto unknown patterns and relationships
  • Detect anomalous or unexpected behaviors The processes machines use to learn are known as algorithms. Different algo- rithms learn in different ways. As new data regarding observed responses or changes to the environment are provided to the ā€œmachineā€ the algorithm’s performance improves. Thereby resulting in increasing ā€œintelligenceā€ over time.

A Machine L earning Primer: Machine L earning Deffined 7

CASE IN POINT Companies are better than ever at understanding why customers buy their products, use their services, or engage their expertise. We can point the ā€œmachineā€ at a lake of consumer data to detect patterns and preferred channels for consumption. It can use historical and real-time data to deter- mine that I, a frequent business traveler and coffee addict, may welcome a real-time message that my favorite coffee shop is around the corner. My dad would not welcome this interaction. He brews his coffee at home and will respond to a coupon in the mail. Which can also include incentives for other items he might buy on his next grocery outing. The machine is optimizing activities for each customer across known channels (digital, paper, brick and mortar). It won’t, however, independently create a new interaction channel that doesn’t already exist. Personalized Marketing

A Machine L earning Primer: Machine L earning Deffined 8

In simple terms, machine learning is particularly suited to problems where:

  • Applicable associations or rules might be intuited, but are not easily codified or described by simple logical rules.
  • Potential outputs or actions are defined but which action to take is dependent on diverse conditions which cannot be predicted or uniquely identified before an event happens.
  • Accuracy is more important than interpretation or interpretability.
  • The data is problematic for traditional analytic techniques. Specif- ically, wide data (data sets with a large number of data points or attributes in every record compared to the number of records) and highly correlated data (data with similar or closely related values) can present problems for traditional analytic methods. Problems That Lend Themselves to Machine Learning

A Machine L earning Primer: Machine L earning Deffined 10

CASE IN POINT Machine learning can help discover what genes are involved in specific disease pathways. Machine learning can also be used to determine which treatments will be most effective for an indi- vidual patient based on their genetic makeup, demographic and psychographic characteristics.

Why Is This a Machine Learning Problem?

Genomic data is wide: every person has more than 20,000 genes. As a result, the number of genes (data points) in an individual record is always larger than the number of people (records) in any data set. A number of factors add to the complexity. Including, but not limited to: the high degree of varia- tion within each of those 20,000+ genes. The fact that your relatives have similar genomes (making them highly correlated). That relatively few individuals may suffer from a given disease making the data pool extremely shallow. Last but not least, genes in isolation may not predict health outcomes or disease expression. Biochemical, environmental and other factors must also be considered, thereby requiring integrated data from multiple, diverse sources. Genomics

A Machine L earning Primer: Machine L earning Deffined 11

CASE IN POINT Machine learning can identify the best routes from point A to B, predict transit conditions and travel time and predict the best route based on current, evolving road conditions. Machine Learning can drive a car without requiring input from a driver.

Why Is This a Machine Learning Problem?

Driving is a complicated but well-bounded problem. There are, in fact, a limited number of actions a vehicle may take: start, stop, go forward, go backward, turn, speed up and slow down. However, the decision to take any of action is influenced by numerous factors including but not limited to road conditions, weather conditions, presence and behavior of other vehicles, two-legged persons and their four-legged friends, and the rules of the road – just to name a few. While a human driver instinc- tually assesses all these inputs on the fly, capturing discrete rules for every possible combination is impossible. Navigation and the Self-Driving Car

The Basic Techniques

A Machine L earning Primer: The Basic Techniques 14

The 4 Types of Machine Learning Semi-supervised Unsupervised Reinforcement Supervised

A Machine L earning Primer: The Basic Techniques 16

Semi-Supervised Learning Semi-supervised learning is used to address similar problems as supervised learning. However, in semi-supervised learning the machine is provided some data with the answer defined (aka labeled) along with additional data that is not labeled with the answer. In other words, the some of the input data is tagged with desired output (answer) while the remainder is untagged. Semi-supervised learning is used in cases where there is too much data or subtle variations in the data to be able to provide a comprehensive set of examples. In this case, the provided inputs and outputs provide the general pattern the machine can extrapolate and apply to the remaining data.

Practical Applications

Common Techniques

  • See Supervised Learning IMAGE RECOGNITION/ CLASSIFICATION WEB PAGE CLASSIFICATION SPEECH RECOGNITION

A Machine L earning Primer: The Basic Techniques 17

In unsupervised learning, the machine studies data to identify patterns. In this case, there is no answer key. The machine determines correlations and relationships by parsing the available data. Unsupervised learning is modeled on how we humans naturally observe the world: drawing inferences and grouping like things based on uncon- strained observation and intuition. As our experience grows (or in the case of the machine – the amount of data it is exposed to grows) our intuition and observations change and/or become more refined.

Practical Applications

Unsupervised Learning

Common Techniques

  • Affinity Analysis
  • Clustering
  • Clustering: K-Means
  • Nearest-Neighbor Mapping
  • Self-Organizing Maps
  • Singular Value Decomposition MARKET BASKET ANALYSIS IDENTIFYING LIKE THINGS ANOMALY/INTRUSION DETECTION

A Machine L earning Primer: The Basic Techniques 19

HOT

TOPICS

A modern, advanced machine learning technique that makes use of extremely sophis- ticated neural networks. Called deep learning because the models generated are significantly more complex or deep than traditional neural networks. Deep learning models also ingest vastly larger amounts of data than their predecessors.

Why Is This Important?

Deep learning is the underpinning of many advanced machine learning systems today. Perhaps most importantly, deep learning has vastly improved our ability to understand and analyze image, sound and video. This has been made possible by major advances in machine learning research as well as vast increases in both avail- able data and massive computing power. Deep Learning VIDEO ANALYSIS IMAGE ANALYSIS TEXT ANALYSIS

A Machine L earning Primer: The Basic Techniques 20

HOT

TOPICS

Systems that seek to understand and emulate human behavior. As well as to provide a more natural and intuitive interface between man and machine. This typically involves deploying systems that interface with people in their ā€œnative tongue.ā€ In other words, without requiring a user to write or understand code. Cognitive computing platforms accomplish this using a myriad of techniques including natural language processing, advanced machine learning algorithms (including deep learning) and natural language generation.

Why Is This Important?

Cognitive computing makes machines (software systems) more accessible and intu- itive to engage with. As a result, cognitive computing may be the key to increasing adoption of automated systems and analytic solutions. Ultimately, transcending the man vs. machine barrier in favor of cooperative systems in which man and machine seamlessly work together. This is a precursor of what people commonly think of when speaking of artificial intelligence. Cognitive Computing PERSONAL ASSISTANTS CHATBOTS QUESTION-ANSWER SYSTEMS