Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [java]

For questions about implementation of Machine Learning and Artificial Intelligence algorithms in the Java programming language.

Filter by
Sorted by
Tagged with
2
votes
1answer
30 views

Generate Image with Artificial intelligence

I am pretty new to Artificial Intelligence programming, however i do understand the basic concept. I have an idea in my mind: Import a JPEG Image, Convert this Image into a 2D Array (x,y values + ...
1
vote
0answers
53 views

AI for Selenium Test Automation

I am seeking help to implement my idea on developing an automation test framework that can fix locator related issues by itself. My abstract idea is as given below. I will have a Selenium Test ...
4
votes
2answers
187 views

Neural Network with varying inputs (for a game ai)

I want to create a simple game which basically consists of 2d circles shooting smaller circles at each other (to make hitbox detection easier for the start). My goal is to create an ai which adapts ...
1
vote
0answers
62 views

How do I write a genetic algorithm to solve the knapsack problem?

I am trying to write a genetic algorithm that generates 100 items, assigning random weights and utilities to them. And then try to pick items how out these 100 items while maximising the utility and ...
2
votes
3answers
120 views

Separating spam and ham emails using the ID3 algorithm

I have a machine learning project in which I have to separate spam and ham emails from a given dataset which has many txt files. Some of them are spam emails and the other ham emails. I have to ...
3
votes
1answer
768 views

How do I apply reinforcement learning to a game with infinitely many actions?

I am trying to figure out how to use a reinforcement learning algorithm, if possible, as a "black box" to play a game. In this game, a player has to avoid flying birds. If he wants to move, he has to ...
1
vote
1answer
188 views

Fitness function in genetic algorithm based on an interval

I am writing an app, where when a ball is shot from a canon it is supposed to land in a hole which is on a given distance. The ball is supposed to land between the distance of the begining of the hole ...
1
vote
0answers
21 views

If there are several computers on a subnet, can training time be reduced by distributing the work across them?

We have multiple computers and the ability to ssh between them. What are options using either Java, C/C++, JavaScript, or Python to distribute our learning tasks? We will be using DCNN, DQN, and LSTM ...
1
vote
1answer
36 views

Huge variations in epoch count for highest generalized accuracy in CNN

I have written my own basic convolutional neural network in Java as a learning exercise. I am using it to analyze the MIT CBCL face database image set. They are a set of 19x19 pixel greyscale images. ...
5
votes
4answers
282 views

What are examples of reference books to start with AI?

Can anyone suggest reference books to start with AI? Preferably, I am looking for books that provide source code in Java or Python.
0
votes
1answer
268 views

Connect 4 minimax does not make the best move

I'm trying to implement an algorithm that would choose the optimal next move for the game of Connect 4. As I just want to make sure that the basic minimax works correctly, I am actually testing it ...
6
votes
6answers
399 views

AI beginners books for coding

Does anyone know a good book to buy for beginners to coding for artificial intelligence? I have done some coding in Java and a little with Python, but I would be willing to learn a new language too.
4
votes
4answers
2k views

Is a switch from Java to Python worth it?

I am a university student taking an Artificial Intelligence class this semester. Our professor's programming language of choice is Java, but it seems that perhaps with some nudging, he can change it ...
2
votes
3answers
882 views

How and where can I start learning AI if I have considerable knowledge of Java & C++?

I have deep interest in AI and want to start learning how to implement current method. I know about java and C++; are these languages sufficient? I'd appreciate suggestions regarding free online ...