Skip to main content

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
0 votes
1 answer
85 views

I'm currently trying to understand protocolls such as A2A and MCP. While doing so, I wasn't sure whether MCP is responsible for defining: The structure and required fields of JSON messages (e.g., ...
Flower's user avatar
  • 3
1 vote
4 answers
611 views

Given a large Git commit, how can I split it in a "virtual branch" of multiple smaller coherent changes properly annotated with commit messages? How can AI be applied to the task? I like ...
xralf's user avatar
  • 573
5 votes
3 answers
1k views

A topic that recently started appearing on my socials in programming-related circles was "vibe coding". Based on the context, it appeared to be some sort of emergent methodology to write ...
Nzall's user avatar
  • 1,416
-2 votes
1 answer
606 views

I sometimes use some language model assistance (e.g., GPT-4o) while coding. I'd like to save somewhere the prompts and language model versions I used. Are there good practices or even conventions to ...
Franck Dernoncourt's user avatar
-2 votes
2 answers
197 views

Some context here: I am developing a comparison tool that coalesces, formats and concatenates all column values for the individual rows in a table. This single string is further reduced in size by ...
Lauren_G's user avatar
2 votes
2 answers
459 views

I am working through an example of best-first search on a graph, and I'm having some trouble understanding exactly what the process should be. This is the graph I have: The heuristic values are in ...
Gerhardus Carinus's user avatar
22 votes
4 answers
6k views

The traditional non AI software with if-then-else and loop statements can be fully controlled. In contrast, machine learning software behaviour is unpredictable since the developer cannot control what ...
curious's user avatar
  • 331
0 votes
1 answer
129 views

I'm designing a web application for image analysis using AI. My API for CRUD operations is written in Django. Now I want to add the AI functionality which loads the model once on the startup, receives ...
Karol Borkowski's user avatar
1 vote
1 answer
919 views

Question inspired by a similar question in Academia.SE: Is it OK to generate parts of a research paper using a large language model such as ChatGPT? I've always been very sceptical about AI code ...
gaazkam's user avatar
  • 4,529
-2 votes
1 answer
206 views

So, i just start learning in AI field and i want to develop my skill more. So, i just curious is it possible to predict last 3 digits of a closing stock price? which mean the output result will run ...
Issara Ghfdyhgchj's user avatar
0 votes
0 answers
109 views

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 ...
DutChen18's user avatar
  • 117
6 votes
0 answers
790 views

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" ...
Lance Pollard's user avatar
3 votes
1 answer
254 views

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, ...
Arseni Mourzenko's user avatar
-3 votes
3 answers
844 views

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, ...
thundergawd's user avatar
2 votes
3 answers
279 views

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 ...
Lorenzo Villani's user avatar
5 votes
1 answer
1k views

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. ...
Robert Tausig's user avatar
-2 votes
1 answer
256 views

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 ...
Sachith Rukshan's user avatar
6 votes
4 answers
822 views

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 ...
heapOverflow's user avatar
2 votes
1 answer
2k views

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 ...
Yair Halberstadt's user avatar
-1 votes
1 answer
83 views

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 ...
Pepijn's user avatar
  • 337
3 votes
2 answers
637 views

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 ...
Carl Edwards's user avatar
3 votes
1 answer
4k views

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 ...
user3222249's user avatar
1 vote
0 answers
128 views

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 ...
James Ko's user avatar
  • 358
3 votes
1 answer
309 views

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 ...
Dashadower's user avatar
0 votes
2 answers
366 views

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 ...
Stan Callewaert's user avatar
0 votes
1 answer
335 views

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 ...
Tobi's user avatar
  • 220
3 votes
5 answers
997 views

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 ...
Seeking_Truth's user avatar
-6 votes
4 answers
433 views

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 ...
WaterKnight's user avatar
0 votes
1 answer
331 views

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 ...
Craig's user avatar
  • 473
2 votes
1 answer
433 views

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 ...
Dashadower's user avatar
2 votes
1 answer
262 views

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 ...
Chris Dutrow's user avatar
4 votes
1 answer
539 views

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 ...
Nylithius's user avatar
1 vote
0 answers
664 views

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 ...
yoyo_fun's user avatar
  • 2,297
1 vote
1 answer
567 views

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 ...
Amja's user avatar
  • 113
1 vote
1 answer
187 views

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" ...
simonw16's user avatar
  • 133
2 votes
3 answers
3k views

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 ...
user3396486's user avatar
0 votes
1 answer
909 views

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-...
Dan D's user avatar
  • 103
6 votes
2 answers
13k views

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 ...
tt_Gantz's user avatar
  • 171
2 votes
0 answers
964 views

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 ...
BrouH's user avatar
  • 29
-1 votes
2 answers
2k views

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?
Roshan Budhathoki's user avatar
1 vote
5 answers
1k views

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 (AI)...
Muhammad Faizan Khan's user avatar
2 votes
2 answers
2k views

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-...
confused00's user avatar
8 votes
4 answers
262 views

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 ...
starfish's user avatar
  • 392
2 votes
1 answer
643 views

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 ...
Brendan Hill's user avatar
3 votes
2 answers
247 views

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 ...
Post Self's user avatar
  • 297
3 votes
1 answer
5k views

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 ...
Kyle's user avatar
  • 37
3 votes
2 answers
2k views

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 ...
AivanF.'s user avatar
  • 191
1 vote
2 answers
2k views

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 ...
user219317's user avatar
17 votes
2 answers
729 views

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 ...
user1202136's user avatar
4 votes
1 answer
2k views

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 ...
Phil-R's user avatar
  • 224