The short version
Artificial intelligence
- The broad goal
- Many possible methods
- Includes learning and non-learning systems
Machine learning
- One method inside AI
- Learns patterns from data
- Needs examples to train on
Think of AI as the destination and machine learning as one road to it.
MIT's professional education team describes artificial intelligence as computers imitating human mental functions such as learning and solving problems.
Machine learning is the part where the system learns from examples rather than from rules a person typed in.