Questions tagged [artificial-intelligence]

Artifical Intelligence in the field of computer science is the study, design and engineering of intelligent systems able to perceive their environment and take actions to optimize their chance of success in achieving a goal.

Filter by
Sorted by
Tagged with
-1 votes
1 answer
33 views

Easiest Way To Implement Predictive Search On An Intranet Site [closed]

In my workplace, we have an intranet website developed internally that we use for CRM. The data of our clients are shown there (MS SQL server is used as a backend to store data). The site has a ...
user avatar
  • 1
0 votes
0 answers
59 views

pruning tree search in multiplayer zero-sum games with loss conditions

I'm trying to write a program to play a simple multiplayer (it's safe to assume less than 10 players) game where each player has a number of resources. Every turn the players make decisions that ...
user avatar
  • 117
2 votes
0 answers
337 views

How to OCR and/or recreate lines of Egyptian Hieroglyphs in Unicode/HTML?

I am wondering how to take these Hieroglyphs and make them into Unicode. I read through the Tesseract docs on how to create training data, but it seems largely tailored toward "traditional" ...
user avatar
  • 2,412
3 votes
1 answer
119 views

How to guess which pieces of text belong to which lines in a scanned document?

I want to be able to analyze a five-years archive of supermarket receipts. The receipts are scanned, and thanks to Google Cloud Vision API, the result of an OCR is available. Google's API, however, ...
user avatar
-3 votes
3 answers
593 views

How would someone record GPU image output?

I notice the GPU, like latest Nvidia/AMD cards, have an output that goes to your monitor but I want to know if we can also use that GPU output feed into some kind of image recorder HARDWARE? If yes, ...
user avatar
3 votes
3 answers
246 views

Move the onscreen circle when camera moves

I have a script that accesses my webcam and displays the captured video on the screen. I can also very easily draw a circle (a rectangle, it doesn't matter) over the video. When I move the camera ...
user avatar
5 votes
1 answer
766 views

What do I not understand about Alpha-Beta-Pruning in Chess?

I'm trying to write a chess engine, Min-Maxing works. Now I wanted to implement Alpha-Beta-Pruning, but despite reading about it and watching videos, I must have a severe misunderstanding somewhere. ...
user avatar
-2 votes
1 answer
181 views

Is there a way to get rid of loop for layers in a neural network

I have being learning about deep neural networks and how the increase in hidden layers give better results. but the problem that i found was we usually get rid of loops in calculations by using ...
user avatar
6 votes
4 answers
579 views

Improved design for a turn-based multiplayer game using AI?

I'm trying to decide which is the best architecture for a turn-based multiplayer game where the players can be either humans or AI and the UI is optional, for instance because the game can just be ...
user avatar
0 votes
1 answer
859 views

Clustering Algorithm with max number of clusters

I'm looking for a clustering algorithm (ideally density based) that allows me to specify the maximum number of clusters (but not the exact number). All points must be assigned to a cluster, so I can't ...
user avatar
-1 votes
1 answer
71 views

What kind of of tools/architecture would work well for a student team competing in a robot soccer competition?

The scenario is as follows. There is a PC running a complex piece of AI software wirelessly controlling a number of soccer robots. This software is written and maintained by a team of students that ...
user avatar
  • 337
3 votes
2 answers
539 views

Is manually tagging content an ideal start for eventual machine learning?

I'm putting together a mobile app that would allow users to search, rate, and upload photos of dishes at restaurants. I have no machine learning experience (just FE/BE/Mobile) so for the time being I ...
user avatar
3 votes
1 answer
3k views

Distinction between AI, ML, Neural Networks, Deep learning and Data mining

I have recently started exploring the field of machine learning (ML). I think I understand the difference between ML and AI at high level, but I wanted to understand more accurately the differences ...
user avatar
1 vote
0 answers
109 views

Can machine learning be used for non-numerical prediction?

I've started reading a machine learning book since a few days ago, and I've learned about how it can be used for classification/regression/etc. However, I am unsure if it will be able to handle the ...
user avatar
  • 358
3 votes
1 answer
275 views

Fitness Function altenatives in Genetic Algorithms for game AI

I have created a Gomoku(5 in a row) AI using Alpha-Beta Pruning. It makes move on a not-so-stupid level. First let me describe the grading function of the Alpha-Beta algorithm. When it receives a ...
user avatar
0 votes
2 answers
264 views

(AI) algorithm to optimize input parameters

Background information I am building a program that plays checkers as good as possible. It already plays pretty well but the goal is to improve it even more. This can be done by adding new methods to ...
user avatar
0 votes
1 answer
306 views

How do you evolve a neural network?

I've read about NEAT/Evolutionary Artificial Neural Networks/Genetic Algorithms. I understand the concept of choosing the fittest neural networks and breeding them to produce another one, but how ...
user avatar
  • 220
3 votes
5 answers
798 views

What programming paradigm do you think would work best for the AI aspect of a chess engine?

I wish to write a chess AI which simulates the way I think over the board, using C++. My focus is on writing the algorithms for choosing moves (decision making), not defining the board and pieces. To ...
user avatar
-6 votes
4 answers
321 views

AI Language that doesn't release source code or can't be decompiled

I looked at using python for the AI in a security application for hobby-business but apparently you either release it as source code or it can be easily decompiled. Of the new machine learning ...
user avatar
0 votes
1 answer
217 views

How to design an AI For Sorry?

Context: I'm working on a Windows console version of the board game Sorry. In Sorry, each player has four pawns. Based on drawn cards, a player moves their pawns around the board. These moves can ...
user avatar
  • 423
2 votes
1 answer
406 views

Monte Carlo Tree Search in Game AI

I am very confused in implementing MCTS for a connect 5 game. According to Wikipedia: Selection: start from root R and select successive child nodes down to a leaf node L. Lets say it's the AI's ...
user avatar
2 votes
1 answer
240 views

Is handwriting OCR more accurate if the author of the handwriting is indicated?

Question When training and using an OCR algorithm for handwriting recognition, is it helpful to indicate the author of the handwriting? Use Case Have a warehouse full of documents that need to be ...
user avatar
4 votes
1 answer
486 views

Double neural network architecture for starcraft AI programming endeavour

Please take a look at this AI system architecture proposal: As you can see this is a multi-agent AI system for starcraft brood war that utilizes BWAPI AI framework, and I proposed this idea for the ...
user avatar
1 vote
0 answers
611 views

Are there any rule-based programming language that are not considered production systems?

I am trying to learn the difference between a production system and a rule-based system because it seems to me that they are the same thing basically. I know that both refer to programs (system) that ...
user avatar
  • 2,197
1 vote
1 answer
470 views

When implementing Monte Carlo Tree Search for TicTacToe, do I simulate won states?

I'm trying to debug my MCTS implementation for TicTacToe (it doesn't block obvious wins for the opponent). I was wondering what the algorithm should do if it expands to a node which is a game over ...
user avatar
  • 113
1 vote
1 answer
85 views

How to analyse user input and determine if it (kind of) matches an answer

I'm working on a quiz system that will allow users to enter text as an answer. The question could be something simple to start with, looking for a short phrase, or a select few words as the "correct" ...
user avatar
  • 133
2 votes
3 answers
2k views

Building a simple AI for Noughts & Crosses game

I'm developing a simple noughts & crosses game where the player plays against the computer. Obviously, I use the Randomize function of the language, however, the final stage of refinement is to ...
user avatar
0 votes
1 answer
746 views

How to run 2-layer perceptron to solve XOR

XOR is not solvable by using a single perceptron with standard scalar product and unit step function. This article suggests using 3 perceptron to make a network: http://toritris.weebly.com/perceptron-...
user avatar
  • 103
6 votes
2 answers
9k views

What is identity mapping in neural networks

I came across the term identity mapping in some papers about neural networks but am not sure what it is supposed to mean in that context. I'm guessing it means to map a sort of input to an output? I ...
user avatar
  • 171
2 votes
0 answers
773 views

Programming a good puzzle game (Puyo Puyo) AI

I'm trying to build a strong AI for a game called Puyo Puyo, in Matlab (I know... but it's the only language I know well). Basically it's like Tetris but you get falling pairs of 2 puyos (blobs) of ...
user avatar
  • 29
-1 votes
2 answers
996 views

Normal Form in Artificial Intelligence

Why do we use normal form(like Conjuctive Normal Form and Disjunctive Normal Form) in Artificial intelligence?What is the specific purpose of Making a sentence in Normal Forms?
user avatar
1 vote
5 answers
1k views

Machine learning without programming?

I am old to programming and very beginner to Machine Learning and what make me surprise is the defination as i typed in google i found this. Machine learning is a type of artificial intelligence (...
user avatar
2 votes
2 answers
2k views

How to create an efficient implementation of a dictionary of synonyms?

How do I create a dictionary of synonyms that is efficient in terms of retrieving synonyms of a word? Basically, I want to use some sorts of data storage to store groups of words, and enable an end-...
user avatar
8 votes
4 answers
206 views

Choosing a sequence of animations for an NPC - use a behaviour tree?

I am implementing an NPC to walk around a virtual space, specifically a cat. I have a series of short animation clips (3-5 seconds). My first instinct was just to choose a random animation when the ...
user avatar
  • 392
2 votes
1 answer
559 views

Getting started with machine learning a zero sum game?

I have a simple zero sum, discrete, deterministic, complete information board game. I want to machine learn an evaluation function for an AI agent. Suppose each board state has ~20 identifiable ...
user avatar
3 votes
2 answers
212 views

Neural networks: No solutions for test data possible?

So there are two ways of teaching a neural network as far as I am aware of. You supply the AI with test data and the correct solution to the problem. After some time the network will be able to get ...
user avatar
  • 287
3 votes
1 answer
4k views

Vector input for Artificial Neural Network?

My problem is fairly complex, so here is a similar, simplified example. Let's say you wanted to predict the Miles Per Gallon (fuel consumption) of a car, based on the following information: you have ...
user avatar
  • 37
3 votes
2 answers
2k views

Class diagrams and frames

UML class diagrams (1st pic) and frames (which belong to knowledge representation and artificial intelligence) (2nd pic) look pretty alike. But do class diagrams exactly type of frames or they just ...
user avatar
  • 191
1 vote
2 answers
1k views

Algorithm for finding all empty tiles in rectangular grid?

I have a rectangular grid of square tiles, some of which are blocked/filled. I start at a random tile inside the grid with the blocked tiles, randomly placed. I can turn in 90° steps and check whether ...
user avatar
16 votes
2 answers
681 views

How to find hard to misspell given names?

Here is a question that I believe could be solved with some data mining and a sophisticated algorithm, but I don't quite know how. Any pointers as to what data sources to use and what algorithm to ...
user avatar
4 votes
1 answer
2k views

Best approach to implement multiple levels of difficulty to a minimax AI [closed]

I'm programming a game (turned base, in a grid) for which I implemented an AI using the minimax algorithm (with alpha-beta prunning). It's all fine and working, but the AI is too good and I can't win ...
user avatar
  • 204
4 votes
3 answers
526 views

Clustering algorithm based on distance

So, I have a packaging center A. And I have n points scattered around A. Let's call them i1, i2 ... in. I have a maximum distance threshold, called D. My task is to break those n points into groups ...
user avatar
2 votes
1 answer
96 views

To what values should you initialize the neurons and connection strengths in a neural network?

The values of all of the neurons in my neural network are initialized to 0 and the connection strengths between the neurons are set to randomly generated floats, between 0 and 1. I have seen other ...
user avatar
  • 290
3 votes
1 answer
167 views

How can you write an activation function in a neural network to handle a layer architecture of arbitrary dimensions?

I am making a neural network in Clojure that can take an array of integers,and return a data structure representing the layers of a neural network: so (make-layers [1 4 5]) would evaluate to: [[0] ...
user avatar
  • 290
3 votes
1 answer
692 views

Names for the two types of AI (in my eyes)?

In my head, AI attempts get sorted into two categories. I'm wondering if the distinction is present in reality or just my imagination. If this it's real, I'd like to know of any terms for them. The ...
user avatar
-1 votes
1 answer
76 views

What is the difference between multi-label learning and multi-label classification? [closed]

The litterature on multi-label learning uses the terms: multi-label learning and multi-label classification. I was wondering what the difference between these terms is, and when to use one over the ...
user avatar
  • 109
5 votes
2 answers
129 views

How should dynamic, interruptible multitasking structure look like?

I am trying to make an AI that plays a game. Actually, I'm playing around with both StarCraft and MineCraft which are completely different kinds of games. As well, I use different programming ...
user avatar
3 votes
2 answers
439 views

Obstacle bypass in 2d environment

For this 2d grid (black square are not penetrable, white square are): I want to find path who permit to move an object to a start point (x:18, y:18) to a end point (x:1, y:1), square by square. ...
user avatar
  • 133
0 votes
1 answer
776 views

How to avoid loop in a dept-search in a graph?

I must implement , in Lisp , a depth-search algorithm in an implict graph (namely a graph where I have the starting node, the goal node, and the successor function ,f, that give a node create his ...
user avatar
  • 1
-1 votes
1 answer
431 views

How probability function is computed for the game Battleships? [closed]

I'm writing AI for the game and encountered this article that helped me out. I'm not sure how the probability function is computed. Does it rely on some advanced math I'm not understanding or for each ...
user avatar