> For the complete documentation index, see [llms.txt](https://book.mlinpractice.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://book.mlinpractice.com/data-science-machine-learning-ai.md).

# Data Science, Machine Learning, AI?

The terms data science, machine learning, and artificial intelligence are sometimes used pretty interchangeably. What really is the difference? Here is how I see it.

**Artificial Intelligence (AI)** is a field of research that tries to create intelligent machines. It is almost as long as the idea of computers. Alan Turing is one of the pioneers to think about the topic and proposing the [Turing test](https://en.wikipedia.org/wiki/Turing_test) as a way to define AI.

**Machine Learning (ML)** is an area of research that has been around since at least the 1980s, that aims at creating programs that can automatically learn from data (instead of a human having to specify and write the program explicitly). ML is one possible approach to getting AI, but it is not the only one. In fact, early attempts at creating AI used a more classical software approach, for example by using logic and symbolic reasoning.

**Data Science** originated in the late 2000s, famously being clarified by [Drew Conway's Venn diagram](http://drewconway.com/zia/2013/3/26/the-data-science-venn-diagram) as a new kind of job profile for people who are good at business, statistics and ML, and programming.

So given all that I'd say that data scientists can use ML (but don't have to) to create AIs (but could also work on other kinds of "smart" solutions).

In recent years people have started to use AI when they want to imply that the methods are somehow more powerful than just using statistics, but in fact I think most of what we call AI today is still a far way off.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://book.mlinpractice.com/data-science-machine-learning-ai.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
