Saturday, April 17, 2021
  • Setup menu at Appearance » Menus and assign menu to Top Bar Navigation
Advertisement
  • AI Development
    • Artificial Intelligence
    • Machine Learning
    • Neural Networks
    • Learn to Code
  • Data
    • Blockchain
    • Big Data
    • Data Science
  • IT Security
    • Internet Privacy
    • Internet Security
  • Marketing
    • Digital Marketing
    • Marketing Technology
  • Technology Companies
  • Crypto News
No Result
View All Result
NikolaNews
  • AI Development
    • Artificial Intelligence
    • Machine Learning
    • Neural Networks
    • Learn to Code
  • Data
    • Blockchain
    • Big Data
    • Data Science
  • IT Security
    • Internet Privacy
    • Internet Security
  • Marketing
    • Digital Marketing
    • Marketing Technology
  • Technology Companies
  • Crypto News
No Result
View All Result
NikolaNews
No Result
View All Result
Home Data Science

Conjunction vs Disjunction: Bad Apples and Other Analogies

October 30, 2020
in Data Science
Conjunction vs Disjunction: Bad Apples and Other Analogies
589
SHARES
3.3k
VIEWS
Share on FacebookShare on Twitter
  • Conjunctions and disjunctions are useful tools for building algorithms. 
  • They enable you to combine propositions. 
  • Truth tables are a fast way to find solutions. 
  • Analogies can help you to remember the results. 

Dive into machine learning, and you’ll come across algorithms that include conjunctions and disjunctions. For example, you might come across a set of conjunctive rules in a hypothesis space (the set of all functions a model can return) or create a learning algorithm that builds a conjunction using similar features.

Conjunctions and Disjunctions are one way to combine propositions into more complex ones. Propositions [noterm] are statements that are either true or false. For example, “2 is greater than 3” or “10 + 10 = 21.” Some statements like “He is a great swimmer” or “How are you today” don’t have true or false answers and so aren’t propositions. Once you have a set of propositions, you can combine them in various ways, including:

You might also like

DSC Weekly Digest 12 April 2021

6 Limitations of Desktop System That QuickBooks Hosting Helps Overcome

Robust Artificial Intelligence of Document Attestation to Ensure Identity Theft

  • Conjunction (and, &, ∧):  combine (add) propositions. 
  • Disjunction (or):  choose (select) propositions. 

Many outcomes for these two simple statements are possible.  You can quickly find solutions using truth tables.

Truth Table for Conjunctions

In order to account all the possible combinations of truth values for two statements p and q, we can create a four-row truth table:

A key fact from the table: a conjunction is true only if all the variables in it are true. If you’re familiar with the simple model theory of eye color (where Brown B is dominant over blue b) [1], one way to make sense of the table results is just to remember a single fact: “False” is dominant over “true”. In order for true to appear, it must be paired (t, t). But if False shows in any position, it dominates truth; It will result in an F even when paired with true (F, t) or (t, F). 

What happens when the “Basket” is empty?

In that case, an empty conjunction is always defined as true. [2] The eye color analogy obviously doesn’t work here, but an old saying does work:

One bad apple spoils the bunch. 

Imagine you have a basket that you’re going to fill with varieties of good (true) and bad (False) apples. If you have a single false statement, everything in the basket is tainted (i.e. False). But if your basket is empty (a.k.a. the empty truth table), then it  hasn’t been filled with apples yet . You have no reason to assume that your basket is going to be filled with good apples. Unless you’re very pessimistic, in which case perhaps data science isn’t the career for you!

Truth Table for Disjunctions

Similarly, a truth table can find solutions for disjunctions. The format is the same but the results are slightly different:

Here’s my analogy for remembering the results here. It’s similar to the “bunch of apples” analogy except here we are given a choice: apple P or apple Q. So, given that basket of apples where some are rotten, which would you choose? Every time, you would choose the good (a.k.a. true) apple. In the last row, you have two bad apples so you have no choice but to pick one of those. 

The empty disjunction is defined as false. Back to our basket analogy, the “OR” here is you being forced to choose between good apples OR bad apples that are already in the basket. The basket is empty when everyone has chosen their apples. You’re left with a basket that has, unfortunately, mold in it from those bad apples. So you’re left with bad (False) residue.

How to Use a Truth Table: An Example

Let’s take two statements:

P: There are 99 cents in $1

Q: The dollar ($) is US currency.

We want to know: what is the conjunction of P and Q?

Solution:

Step 1. Construct a truth table. This is an “and” question, so create a conjunction truth table. 

Step 2: Determine whether the statements are true or false.  For this example, P is False and Q is true. 

Step 3: Refer to the line that reflects whether the statements are true or False. The third line (F, t = F) is the correct solution.

References

Table pictures by author.

[1] Eye Color and its Inheritance

[2] Foundations of Machine Learning


Credit: Data Science Central By: Stephanie Glen

Previous Post

Federal Government Investments in AI Beginning to Pay Off

Next Post

FBI warning: Trickbot and ransomware attackers plan big hit on US hospitals

Related Posts

DSC Weekly Digest 01 March 2021
Data Science

DSC Weekly Digest 12 April 2021

April 14, 2021
6 Limitations of Desktop System That QuickBooks Hosting Helps Overcome
Data Science

6 Limitations of Desktop System That QuickBooks Hosting Helps Overcome

April 13, 2021
Robust Artificial Intelligence of Document Attestation to Ensure Identity Theft
Data Science

Robust Artificial Intelligence of Document Attestation to Ensure Identity Theft

April 13, 2021
Trends in custom software development in 2021
Data Science

Trends in custom software development in 2021

April 13, 2021
Epoch and Map of the Energy Transition through the Consensus Validator
Data Science

Epoch and Map of the Energy Transition through the Consensus Validator

April 13, 2021
Next Post
FBI warning: Trickbot and ransomware attackers plan big hit on US hospitals

FBI warning: Trickbot and ransomware attackers plan big hit on US hospitals

Leave a Reply Cancel reply

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

Recommended

Plasticity in Deep Learning: Dynamic Adaptations for AI Self-Driving Cars

Plasticity in Deep Learning: Dynamic Adaptations for AI Self-Driving Cars

January 6, 2019
Microsoft, Google Use Artificial Intelligence to Fight Hackers

Microsoft, Google Use Artificial Intelligence to Fight Hackers

January 6, 2019

Categories

  • Artificial Intelligence
  • Big Data
  • Blockchain
  • Crypto News
  • Data Science
  • Digital Marketing
  • Internet Privacy
  • Internet Security
  • Learn to Code
  • Machine Learning
  • Marketing Technology
  • Neural Networks
  • Technology Companies

Don't miss it

10 Popular Must-Read Free eBooks on Machine Learning
Machine Learning

10 Popular Must-Read Free eBooks on Machine Learning

April 17, 2021
Security crucial as 5G connects more industries, devices
Internet Security

Security crucial as 5G connects more industries, devices

April 17, 2021
Relay Therapeutics pays $85M for startup with a new AI tech for drug discovery
Machine Learning

Relay Therapeutics pays $85M for startup with a new AI tech for drug discovery

April 17, 2021
Google releases Chrome 90 with HTTPS by default and security fixes
Internet Security

Google releases Chrome 90 with HTTPS by default and security fixes

April 17, 2021
ML Scaling Requires Upgraded Data Management Plan
Machine Learning

ML Scaling Requires Upgraded Data Management Plan

April 17, 2021
SolarWinds cybersecurity spending tops $3 million in Q4, sees $20 million to $25 million in 2021
Internet Security

SolarWinds: US and UK blame Russian intelligence service hackers for major cyberattack

April 17, 2021
NikolaNews

NikolaNews.com is an online News Portal which aims to share news about blockchain, AI, Big Data, and Data Privacy and more!

What’s New Here?

  • 10 Popular Must-Read Free eBooks on Machine Learning April 17, 2021
  • Security crucial as 5G connects more industries, devices April 17, 2021
  • Relay Therapeutics pays $85M for startup with a new AI tech for drug discovery April 17, 2021
  • Google releases Chrome 90 with HTTPS by default and security fixes April 17, 2021

Subscribe to get more!

© 2019 NikolaNews.com - Global Tech Updates

No Result
View All Result
  • AI Development
    • Artificial Intelligence
    • Machine Learning
    • Neural Networks
    • Learn to Code
  • Data
    • Blockchain
    • Big Data
    • Data Science
  • IT Security
    • Internet Privacy
    • Internet Security
  • Marketing
    • Digital Marketing
    • Marketing Technology
  • Technology Companies
  • Crypto News

© 2019 NikolaNews.com - Global Tech Updates