Questions tagged [artificial-intelligence]

Artificial intelligence (AI) is the branch of computer science and technology that studies the development of machines able to simulate aspects of human intelligence. This tag may also refer to the part of a computer game application that controls the behavior of the virtual characters with which the player may interact during the game.

NOTE: If you want to use this tag for a question not directly concerning implementation, then consider posting on Artificial Intelligence, Computer Science, Data Science, or Cross Validated instead; otherwise you're probably off-topic. Please choose one site only and do not cross-post to more than one - see Is cross-posting a question on multiple Stack Exchange sites permitted if the question is on-topic for each site? (tl;dr: no).

Artificial intelligence (AI) is the branch of computer science and technology that studies the development of machines able to simulate aspects of human intelligence. This tag may also refer to the part of a computer game application that controls the behavior of the virtual characters with which the player may interact during the game.

While there are many different definitions, AI textbooks define the field as "the study and design of intelligent agents" where an intelligent agent is a system that perceives its environment and takes actions that maximize its chances of success. John McCarthy, who coined the term in 1956, defines it as "the science and engineering of making intelligent machines."

References

The field of artificial intelligence comprises areas as diverse as:

Related Tags

8491 questions
114
votes
7 answers

What is the difference between graph search and tree search?

What is the difference between graph search and tree search versions regarding DFS, A* searches in artificial intelligence?
Rayhanur Rahman
  • 1,141
  • 2
  • 8
  • 4
113
votes
43 answers

Best programming based games

Back when I was at school, I remember tinkering with a Mac game where you programmed little robots in a sort of pseudo-assembler language which could then battle each other. They could move themselves around the arena, look for opponents in…
Matt Sheppard
  • 116,545
  • 46
  • 111
  • 131
109
votes
10 answers

Is it possible for a computer to "learn" a regular expression by user-provided examples?

Is it possible for a computer to "learn" a regular expression by user-provided examples? To clarify: I do not want to learn regular expressions. I want to create a program which "learns" a regular expression from examples which are interactively…
Daniel Rikowski
  • 71,375
  • 57
  • 251
  • 329
108
votes
5 answers

How do 20 questions AI algorithms work?

Simple online games of 20 questions powered by an eerily accurate AI. How do they guess so well?
Daddy Warbox
  • 4,500
  • 9
  • 41
  • 56
107
votes
12 answers

Defeating a Poker Bot

There is a new Open Source poker bot called PokerPirate. I am interested in any creative ways in which a web application could detect/thwart/defeat a poker bot. (This is a purely academic discussion, in the same spirit that PokerPirate was…
rook
  • 66,304
  • 38
  • 162
  • 239
104
votes
6 answers

How to get Tensorflow tensor dimensions (shape) as int values?

Suppose I have a Tensorflow tensor. How do I get the dimensions (shape) of the tensor as integer values? I know there are two methods, tensor.get_shape() and tf.shape(tensor), but I can't get the shape values as integer int32 values. For example,…
99
votes
7 answers

Unsupervised clustering with unknown number of clusters

I have a large set of vectors in 3 dimensions. I need to cluster these based on Euclidean distance such that all the vectors in any particular cluster have a Euclidean distance between each other less than a threshold "T". I do not know how many…
98
votes
2 answers

How to create a new gym environment in OpenAI?

I have an assignment to make an AI Agent that will learn to play a video game using ML. I want to create a new environment using OpenAI Gym because I don't want to use an existing environment. How can I create a new, custom Environment? Also, is…
Rifat Bin Reza
  • 2,601
  • 2
  • 14
  • 29
87
votes
5 answers

What's the difference between uniform-cost search and Dijkstra's algorithm?

I was wondering what's the difference between uniform-cost search and Dijkstra's algorithm. They seem to be the same algorithm.
Grief Coder
  • 6,508
  • 9
  • 38
  • 51
83
votes
7 answers

Comparison between luis.ai vs api.ai vs wit.ai?

Does anyone know the specific differences and features among the three, Or if one has more features/more flexible to use as a developer?
77
votes
3 answers

Estimating the number of neurons and number of layers of an artificial neural network

I am looking for a method on how to calculate the number of layers and the number of neurons per layer. As input I only have the size of the input vector, the size of the output vector and the size of the training set. Usually the best net is…
75
votes
3 answers

How do Markov Chain Chatbots work?

I was thinking of creating a chatbot using something like markov chains, but I'm not entirely sure how to get it to work. From what I understand, you create a table from data with a given word and then words which follow. Is it possible to attach…
Jordan
  • 9,014
  • 8
  • 37
  • 47
74
votes
8 answers

"synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'." problem in TensorFlow

I installed TensorFlow 1.10.1 but when I tried to import TensorFlow it said that I need TensorFlow version 1.10.0. Thus, I installed it and now I get the following warnings: >>> import…
73
votes
2 answers

Any tutorials for developing chatbots?

As a engineering student, I would like to make a chat bot using python. So, I searched a lot but couldn't really find stuff that would teach me or give me some concrete information to build a intelligent chat bot. I would like to make a chatbot that…
Surya
  • 4,824
  • 6
  • 38
  • 63
70
votes
11 answers

Good beginners material on Prolog

I am looking for good beginners material on Prolog, both online and printed. I am not only interested in 'learning the language' but also in background and scientific information.
meelow
  • 861
  • 1
  • 7
  • 10