For example, is it a subset?

Are they two separate fields in Computer Science?

I have hear conflicting information: one professor said they are synonyms. However, in the courses taught at Stanford CS they are two distinct classes:

CS221 (Artificial Intelligence)


CS229 (Machine Learning)

  • $\begingroup$ en.wikipedia.org/wiki/…, en.wikipedia.org/wiki/Machine_learning $\endgroup$
    – D.W.
    Jan 16, 2018 at 6:53
  • $\begingroup$ @D.W ,The OP should do further reading; computational intelligence,artificial intelligence and machine learning.or else we shall get vague answers here. $\endgroup$
    – quintumnia
    Jul 19, 2018 at 17:41
  • $\begingroup$ @quintumnia I agree with you, but at the same time, if answered well, this could be a good resource for other people in the future. $\endgroup$
    – koverman47
    Jul 19, 2018 at 19:34

2 Answers 2


Machine Learning is a subset of (the scientific field of) Artificial Intelligence.

What is ML?

Machine Learning is defined by Tom Mitchel:

A computer program is said to learn from experience E with respect to some class of tasks T and performance measure P if its performance at tasks in T, as measured by P, improves with experience E.

Hence: When you write an algorithm that gets better the more data you give it, then you can call it ML.

What is AI but not ML?

See also

  • 1
    $\begingroup$ The last paragraph is out of fit! We have to get it right here...those are computational intelligence applications but not artificial lntelligence $\endgroup$
    – quintumnia
    Jul 19, 2018 at 17:36
  • 1
    $\begingroup$ @quintumnia Translated, the first sentence in the German Wikipedia about Computational Intelligence says "Computational Intelligence is a subfield of artificial intelligence" ;-) $\endgroup$ Jul 19, 2018 at 19:40

Is it a subset?

Yes, it's a subset of artificial intelligence and artificial intelligence is a subset of computer science. AI is a simulation of human intelligence that is coupled with processes, i.e.,

self learning (neither program nor an agent has the capabilities of acquiring of information and rules for using the information).

reasoning (neither program nor an agent uses the rules to reach approximate conclusions or definite conclusion and self correction. Are they two separate fields in Computer Science?

I have heard conflicting information. One professor said they are the synonyms.

Today machine learning and artificial intelligence are becoming buzz words all over the media, various applications have been developed, but out of 100%, you find that only 40% is a real application that's considered AI, then the 60% are computational intelligence applications.

Hint: artificial intelligence is the mother of machine learning; algorithms which corrects their mistakes and makes decisions without human help.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.