Questions tagged [ai-design]

For questions related to the design of AI agents, algorithms or models.

Filter by
Sorted by
Tagged with
0
votes
1answer
62 views

Do I need a large pool of training data to train a bot to play the 'pegging' game in the cribbage card game

The game of cribbage https://en.wikipedia.org/wiki/Cribbage is a two-player card game played over a series of deal with the goal to reach 121 points. The game's elements are: the discard. There are ...
1
vote
0answers
33 views

How can one be sure that a particular neural network architecture would work?

Traditionally, when working with tabular data, one can be sure(or at least know) that a model works because the included features could explain a target variable, say "Price of a ticket" ...
1
vote
0answers
38 views

Can text-independent writer identification be done without multi-sentence training datasets for each writer?

I am trying to learn more about text-independent writer identification and was hoping for some advice. I have a folder with 100k images, each of them with a different handwritten sentence. All of the ...
2
votes
0answers
41 views

How can I formulate a prediction problem (given labeled data) as an RL problem and solve it with Q-learning?

One of my friends sent me a problem he was working on lately, and I couldn't help but I wonder how could it be solved using Q-learning. The statement is as follows: Given the following datasets, the ...
0
votes
0answers
19 views

How to use Ocelot to run an AI script on the CPU which would normally use GPU?

So most of AI scripts that output something (GANs generating image files for example) use CUDA and thus require a GPU to run them. I have a 7 year old Nvidia GPU which does not support that and thus ...
1
vote
0answers
16 views

How to design a graph neural network to predict the forces in truss elements of a space frame?

I am trying to create a Graph NN that will be able to predict the forces in truss elements of a space frame. The input for the NN will be a graph, where the nodes represent the nodes of the spaceframe....
1
vote
2answers
39 views

What is meant by gene, chromosome, population in genetic algorithm in terms of feature selection?

I am trying to understand the genetic algorithm in terms of feature selection and these features are extracted using a machine learning algorithm. Let's suppose I have data of heart rate for 3 minutes ...
1
vote
0answers
13 views

How to autocorelate multiple variants of same text into one?

I want to improve quality of translations for open-source projects in Ukrainian language. We have multiple translations from different authors. We can also translate messages using machine ...
1
vote
0answers
35 views

How to compare SegNet, U-Net and EfficientNet?

SegNet and U-Net are created for segmentation problem and EfficientNet is created for classification problem. I have a task and it is saying that train these models on the same dataset and compare ...
1
vote
1answer
88 views

How to implement RAM versions of Atari games

I have coded the breakout RAM version, but, unfortunately, its highest reward was 5. I trained it for about 2 hours and never reached a higher score. The code is huge, so I can't paste here, but, in ...
2
votes
1answer
132 views

How to train a reinforcement learning agent from raw pixels?

How would you train a reinforcement learning agent from raw pixels? For example, if you have 3 stacked images to sense motion, then how would you pass them to neural networks to output Q-learning ...
0
votes
1answer
35 views

How to add more than 1 agent in one generation with Q Learning

Sometimes the agent learns a bit slow and you want to have multiple agents in one generation. And at each episode you'll draw on the screen only the best of them or all of them. How is that possible? ...
1
vote
1answer
44 views

How can I model and solve the Knight Tour problem with reinforcement learning?

I've read about the Knight Tour problem. And I wanted to try to solve it with a reinforcement learning algorithm with OpenAI's gym. So, I want to make a bot that can move on the chess table like the ...
2
votes
1answer
57 views

What should the action space for the card game Crib be?

I'm working on creating an environment for a card game, which the agent chooses to discard certain cards in the first phase of the game, and uses the remaining cards to play with. (The game is Crib if ...
1
vote
0answers
23 views

Is there an AI tool to reverse engineer scanned data to obtain its CAD file?

Today, if you scan an object and want its CAD file (Solidworks/Autocad), you need to use reverse engineering software (Geomagic). This takes time and you need experience of the software tools. Is ...
3
votes
0answers
41 views

Which machine learning method can take a matrix as input?

I am pretty new to the machine learning field. I want to use an $n \times m$ matrix as the input of a model, in order to predict a vector $1 \times m$, both of real numbers. Input data are quite clean,...
3
votes
1answer
39 views

How can I make ELIZA more realistic?

I’ve coded a simple ELIZA chatbot for a high school coding competition. The chatbot is part of an app that’s designed to help its user cope with depression, anxiety, and similar mental health ...
2
votes
0answers
27 views

Is there an online RL algorithm that receives as input a camera frame and produces an action as output?

I want to build a reinforcement learning model, which takes a camera picture as input, that learns online (in terms of machine learning). Based on the position of an object on the camera, I want the ...
2
votes
0answers
71 views

Wooden railway search problem AI

I have this problem. A basic wooden railway set contains the pieces shown in Figure 3.32. The task is to connect these pieces into a railway that has no overlapping tracks and no loose ends where a ...
2
votes
0answers
39 views

Which activation functions should I use for polynomial regression?

I am a beginner in machine learning and neural networks. I have only used neural networks for classification problems. My aim is to modify it so that it can work for polynomial regression as well. In ...
1
vote
0answers
32 views

How to approach learning(deeper understanding) about AI? [closed]

I already took an undergrad class about AI. We used AIMA as a reference and CS 188 course materials from UC Berkeley. My issue with learning is that we took a very shallow approach to learning about ...
1
vote
0answers
30 views

Can SqueezeNet be used for regression?

I want a model that outputs the pixel coordinates of the tip of my forefinger, and whether it's touching something or not. Those would be 3 output neurons: 2 for the X-Y coordinates and 1, with a ...
1
vote
0answers
34 views

Automating browser actions using AI

I am at a very initial stage of my research so I will try to describe what I am trying to achieve: I want to create an AI model which learns how to navigate the browser's component like clicking or ...
1
vote
0answers
20 views

How can I design a system that suggests physical exercises to a person while keeping into account the fatigue?

I want to create an exercise suggester. Each day either has a routine or is a rest day. A routine has 4 slots. For each slot we select an exercise. We constrain the legal exercises, only do upper-body ...
2
votes
1answer
44 views

What are the best classifiers for this type of data?

I would like to classify a dataset Credit Scoring, which is composed of 21 attributes, some of them are numeric and others are boolean. For the output, I want to know if they have a good or bad ...
2
votes
1answer
38 views

A model for each sub-problem vs one model for the whole problem

Let's say one wants to use a neural net to learn some function $g(x)$. Let's say that we know that $g$ is a combination of two functions (or two sub-problems), $g(x)=f_2(f_1(x))$, and that we have two ...
1
vote
0answers
36 views

How can I approximate a function that determines the priority of objects?

I am facing the following supervised learning problem: An object is fully characterized by its position in $R^n$. There are $m$ objects. There are fully observable (i.e. their positions are always ...
1
vote
0answers
26 views

How do we determine the membership functions and values for this problem?

The goal of our project is to identify the quality of a grain and we have two values, A and B. ...
1
vote
0answers
27 views

What should be a good playing strategy in this 2-player simultaneous game?

This is a bot making problem from here. I am detailing the problem. The picture above shows the initial configuration of the game. P1 represents player1 and P2 represents player2. A scotch bottle is ...
1
vote
0answers
26 views

How can I design a DQN or policy gradient model to explore and collect all optimal solutions?

I am working to use DQN and Policy Gradient reinforcement learning models to solve classic maze escaping problems. So far, I have been able to train a model, which, after around 100 episodes, ...
1
vote
0answers
41 views

Why is the number of neurons used in various neural networks power of 2?

I have noticed that almost all tutorials take the number of neurons as a power of 2. Is there any proper mathematical and well-proven reason for that? If you sometimes change it to some other odd ...
1
vote
0answers
15 views

Leaky Discriminators and Siamese GANs

Is it useful to use Siamese network structure for GANs like sharing latent space between ...
1
vote
1answer
38 views

How would you build an AI to output the primary concept of a paragraph?

My thinking is you input a paragraph, or sentence, and the program can boil it down to the primary concept(s). Example: Input: Sure, it would be nice if morality was simply a navigation toward ...
2
votes
0answers
27 views

How can I formalise a non-zero-sum game of $N$ agent as Markov game?

I coded a non-zero-sum game of $N$ agents in a discrete dynamic environment to RL with Q-learning and DQN agents. It's like a marathon. Only two actions are available per agent: $\{ G \text{ (move ...
3
votes
5answers
94 views

Which classifier should I use for a dataset with one feature?

I have a labeled dataset composed of 3000 data. Its single feature is the price of the house and its label is the number of bedrooms. Which classifier would be a good choice to classify these data?
1
vote
0answers
12 views

How do I format task features with a one-hot task identification vector to ensure separate weight matrices for each task in multi-task RL?

I am on Lecture 2 of Stanford CS330 Multi-Task and Meta-learning, and on slide 10, the professor describes using a one-hot input vector to represent the task, and she also explained that there would ...
1
vote
0answers
25 views

Why is my SVM not reaching good accuracy when trained to perform binary classification of search results?

I am trying to perform binary classification of search results based on the relevance to the query. I followed this tutorial on how to make an SVM, and I got it to work with a small iris dataset. Now, ...
4
votes
2answers
101 views

Why do we need both the validation set and test set?

I know that this has been asked a hundred times before, however, I was not able to find a question (and an answer) which actually answered what I wanted to know, respectively, which explained it in a ...
1
vote
1answer
42 views

Should I be trying to create a generic or specific (to particular game) reinforcement learning agent?

I'm creating an RL application for the game Connect Four. In general, should I be aiming to create an application that's more generic, which would 'learn' different games, or specific to a ...
2
votes
0answers
21 views

How should I define the reward function for the Connect Four game?

I'm creating an RL application for the game Connect Four. I've researched the different strategies for the game and which positions are more favourable to lead to a win. Should I be assigning ...
1
vote
0answers
27 views

How can I find the appropriate reward value for my reinforcement learning problem?

I am wondering how can I find the appropriate reward value for each specific problem. I know this is a highly empirical process, but I am sure that the value is not set totally at random. I want to ...
2
votes
0answers
22 views

How can I implement a Facial Recognition algorithm in C++ from scratch, without using OpenCV?

I wanna implement an algorithm for Facial Recognition in C++ with the help of Viola-Jones, aka Adaboost, but without using OpenCV or any other similar library. I wanna do it all from scratch. Any tips?...
1
vote
1answer
37 views

How can I process neural network with 25000 input nodes?

I'm trying to build a neural network between protein sequence and its drug fingerprint. My input size is 20000. The output size is 881. The sample size is 610. Can I process this huge neural network? ...
1
vote
1answer
34 views

How can I develop a reinforcement learning agent that plays memory cards game?

I am new to RL, and I am thinking of doing a little project. The goal of the project is to learn an agent play the memory game with cards. I already created the program for detecting the cards on the ...
2
votes
0answers
23 views

How to create a best strategy AI for a specific complex ruleset?

I am new to this topic, researched a lot, but still, I have no clue which way might be the right one. As I do not have previous Expertise on this, it is very difficult for me to even find out the ...
0
votes
0answers
32 views

Non-linear regression with a neural network

I have to perform a regression on three curves as shown in the following plot. Here, accA (y-axis) is the dependent variable, and ...
3
votes
0answers
72 views

What are the guidelines for defining a reward function in reinforcement learning (bandit problem)?

I'm working currently on a problem and I'm using RL (bandit problem). In my system, I have an agent that chooses an action among $k$ possible actions, and a user that decides whether the agent ...
4
votes
1answer
74 views

How can I solve the zero subset sum problem with hill climbing?

I want to solve the zero subset sum problem with the hill-climbing algorithm, but I am not sure I found a good state space for this. Here is the problem: consider we have a set of numbers and we want ...
1
vote
0answers
39 views

How to deal with features which are here just for training?

I'm new to the Data Science field and last week I started to learn about Neural Networks and Deep Learning. To practice, I decided to do a small project: design a Neural Network to predict the winner ...
1
vote
0answers
45 views

Use cases for AI inside the software company

This question is a bit philosophic and is about making new use cases for software companies. Let me describe what exist for now, why it is not enough, and what is needed. I know that there are a lot ...

1
2 3 4 5
7