Skip to main content

Questions tagged [ai]

Artificial intelligence (AI) is the branch of computer science and technology that studies the development of machines able to simulate aspects of human intelligence.

6 votes
1 answer
543 views

I’ve implemented a Connect 4 AI in JavaScript using a Negamax search. My goal is to solve the game completely from the starting position (depth 42). I’m trying to make it as fast as possible and would ...
eligolf's user avatar
  • 199
0 votes
0 answers
105 views

I've been banging my head against the AI for a Hnefatafl game I'm making (pronounced NEF-a-taf-full, otherwise known as Tablut) for quite a while now. It's caused me no end of frustration, though I ...
ModiMagnus's user avatar
4 votes
1 answer
804 views

I have just written this code here. The code is about creating a (local LLM based) AI agent to solve the N puzzle. I should stress that I am the one who wrote the code, and I did not use AI to write ...
Dang Manh Truong's user avatar
5 votes
2 answers
111 views

I created a Python 3.11 utility that truncates an input string to a fixed word count—splitting on any whitespace, collapsing runs, and dropping trailing stop-words—so you get clean, concise snippets ...
Bob's user avatar
  • 221
2 votes
3 answers
135 views

I’ve implemented a small utility function in Python 3.11 that takes an input string, splits it into word-based chunks of a given size, and allows a specified overlap between consecutive chunks. This ...
Bob's user avatar
  • 221
4 votes
1 answer
407 views

I've created this machine learning model that predicts the type of variable star based on the light curve. A variable star is a type of star whose luminosity changes over time. My model predicts ...
Astrovis's user avatar
  • 161
1 vote
1 answer
188 views

This time, I have prepared this page where a user may select what AI bots will be run in the game of Connect Four. The entire repository is here. Code index.html: <...
coderodde's user avatar
  • 32.3k
1 vote
1 answer
88 views

The working page is in GitHub. Introduction This time, I have two AI bots playing Connect Four against each other. The first AI bot uses Alpha-beta pruning, and the other one uses a Negamax with Alpha-...
coderodde's user avatar
  • 32.3k
4 votes
0 answers
65 views

This time, I have a Javascript program that runs a Connect Four match between two Alpha-beta pruning based AI bots. (See this page.) ai-battle.html: ...
coderodde's user avatar
  • 32.3k
5 votes
2 answers
376 views

I have wrote my own simple version of NEAT and want to improve the code for mainly performance (training and runtime of a generation). This simple version of NEAT aims to perform somewhere near as ...
coder's user avatar
  • 237
2 votes
1 answer
58 views

Good morning everyone, I am trying to figure out how deep learning works. My approach is mainly theoretical but I have decided to code a few deep learning projects to get a better feel of the kind of ...
francescoriccardocrescenzi's user avatar
2 votes
1 answer
87 views

How can this code be improved? I'm a novice programmer trying to learn ml by doing it from scratch. This code is part of a transformer model that I'm working on. Do you have any ideas about how to ...
T3st's user avatar
  • 21
4 votes
1 answer
304 views

This is an updated version of my Tic Tac Toe game with AI players, it is related to GUI Tic-Tac-Toe game with six AI players - part 1: the UI. But that question is more than two weeks old and no one ...
Ξένη Γήινος's user avatar
2 votes
1 answer
128 views

This code is designed to scrape Stack Overflow and GitHub, pulling information based on a user-specified programming language and processing the data into a format for AI learning. It uses a number of ...
Robert3737's user avatar
1 vote
0 answers
78 views

I am a novice and would appreciate some guidance. I have been trying to create a machine learning code that will correlatate 10+ binary variable and maybe a couple continuous variables to a binary ( ...
Parker Car's user avatar

15 30 50 per page
1
2 3 4 5
15