Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [algorithm]

For questions about algorithm's that exhibit characteristics of intelligence, or are critical components in systems that exhibit intelligence, and problem-solving and goal-based algorithms in general.

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

What is the difference between Machine Learning model, algorithm and hypothesis?

I'm fairly new to Machine Learning field and still to grasp the basics, so this question may seem very stupid, but what is the difference between Machine Learning model, algorithm and hypothesis? Like ...
Niharika Patil's user avatar
0 votes
0 answers
24 views

Algorithms for community discovery in multigraphs

In order to group unstructured or sem-structured texts for a timeline construction approach, I consider several types of correlations among such texts. These different correlations induce a weighted ...
Max Muller's user avatar
0 votes
2 answers
83 views

How is speech recognition software able to distinguish between different speakers and yet still understand them all?

Some background: I'm an EE major and data science minor, so I have a basic understanding of machine learning - I had a one semester course on it where we covered some of the most commonly used ...
Mikayla Eckel Cifrese's user avatar
-3 votes
2 answers
96 views

What programming language do I learn if I want to become artificial intelligence engineer? [closed]

I would become artificial intelligence engineer in the future, so I want to start programming but I don't know what programming language I start for that.
Mamadou Tanou DIALLO's user avatar
0 votes
0 answers
8 views

Clustering of Graph with Binary Vertex Labels

Consider a graph data structure with unweighted edges, where each vertex has been assigned either 0 or 1. I am wondering if there exists a good way of clustering this graph to detect communities. All ...
Hjaleta's user avatar
1 vote
0 answers
19 views

Pedestrian/Object detection

Today automobiles have many kinds of detection systems and I'm currently researching one on Pedestrian Detection systems. I haven't figured exactly out the difference between these three systems. If ...
wtknow's user avatar
  • 11
7 votes
2 answers
500 views

Term for algorithms that are not trained

Before the advent of neural architectures, many AI domains (e.g. speech recognition and computer vision) used algorithms that consisted of a series of hand-crafted transformations for feature ...
Mew's user avatar
  • 181
-1 votes
1 answer
63 views

Why use Deep Learning instead of algorithms for decision making in self-driving cars?

Let's say I want to build a self-driving car that uses cameras and ai to detect objects and driving lanes. So if the camera detects e.g. a car in front, it calculates the distance (using a sensor) and ...
Mointy's user avatar
  • 99
0 votes
0 answers
114 views

What is a good algorithm (and a heuristic) to find the shortest path in a puzzle game?

In a 3D world, there is a Robot, boxes, and switches. The robot's job is to carry boxes (one box at a time) and put them on top of switches to solve the level. All switches must have a box on top for ...
Arcane's user avatar
  • 1
1 vote
1 answer
408 views

How to determine if a decision tree is the (globally) optimal tree?

BACKGROUND: When constructing decision trees, the features are selected at various nodes based on whether it optimally splits the samples at that level (i.e., locally) using some user-chosen metric ...
Snehal Patel's user avatar
0 votes
0 answers
32 views

Feasibility of NNs in solving NP-hard problems

Can neural networks be used to solve NP-hard problems? I'm assuming they learn to approximate a polynomial function and hence cannot solve NP-hard unless P=NP. In case they aren't, what are the ...
helloworld's user avatar
0 votes
1 answer
48 views

Purchase prediction - What minimum feature will "upgrade" A rule-based algorithm into an "AI" algorithm?

Let's say I have an algorithm that tries to predict if a given item will be bought or not, within an X timeframe, based on it's price and other attributes. To Do this right now, I'm collecting ...
thenondeveloper's user avatar
-1 votes
1 answer
90 views

Why do we need Tensorflow, Keras and other ML/AI modules?

This question might seem stupid at first glance, and it might be - that is because I am very new here and I've tried to think about an answer of my own, and search this question but to find no answer.....
JetLeg's user avatar
  • 1
0 votes
1 answer
41 views

Is it overfitting?

hi i'm new in this field. I am trying to do a video classification project by using 3DCNN and I plotted the loss curves & accuracy curves. I have some questions. i'm using kfold Cross validation. ...
david's user avatar
  • 1
-1 votes
1 answer
23 views

Choose the right algorithm

I need to select the most suitable ML algorithm for an academic project. I have a dataset earn from lab which includes the long of an element and 3 factors that we believe impact the long of the ...
Samaneh salehi nasab's user avatar
1 vote
0 answers
28 views

Why can't I train like a dataset of samples instead of maintaining replay buffer?

On observing the DDPG algorithm, we notice that the updation of neural networks is happening during the episode. But, it seems there is no issue if we allow the completion of an episode and then treat ...
hanugm's user avatar
  • 3,890
2 votes
1 answer
913 views

Factors that affect the number of iterations of value iteration

I had an assumption that value iteration will take more iterations to converge if the map size increases/environment's complexity increases. I tried to verify this idea by running value iteration on ...
john li's user avatar
  • 23
1 vote
0 answers
170 views

Best algorithm for the Word Ladder puzzle

What would be the best performing algorithm to solve the Word Ladder problem, in terms of guaranteed finding of the shortest solution in the shortest possible time? Is it BFS, DFS, A*, IDA* or another ...
Bill Kavvas's user avatar
1 vote
1 answer
41 views

What is the high-level algorithm followed by contemporary packages for the calculation of gradient?

Most of the neural network models in contemporary deep learning packages are trained based on gradients. Let $f: \mathbb{R}^m \rightarrow \mathbb{R}^n$ be a function for which we want to find a ...
hanugm's user avatar
  • 3,890
0 votes
1 answer
92 views

What does all the formula and pictures mean?

https://www.nature.com/articles/s41467-020-17419-7 I am a medical school graduate and I really want to learn AI/ML for computer-aided diagnosis. I was building a symptom checker and I found the ...
pullidea-dev's user avatar
0 votes
0 answers
81 views

Reinforcement learning for rearranging the mobile home screen icon layout: what inputs/states do I need to pass into the algorithm?

I have a problem where I need to rearrange a particular user's mobile home screen icon layout. Let's say that the social media app usage of a user is high compared to other app usage. So I need the ...
George  Silva's user avatar
0 votes
1 answer
169 views

What approach to use for selecting one of the category according to short category text?

I need some tool to classify articles based on short category text which consists of two or three words separated by '-'. The RSS/XML tag content is for example: Foreign - News Football - Foreign I ...
Banik's user avatar
  • 105
0 votes
2 answers
180 views

How to detect that the fitness landscape of a genetic algorithm is changing over time?

I understand that in each generation of a genetic algorithm, that generation must re-prove it's fitness (and then the fittest of that population is taken for the next population). In this case, I ...
Slowat_Kela's user avatar
3 votes
2 answers
580 views

Are there any disadvantages to using a variable population size in genetic algorithms?

When implementing a genetic algorithm, I understand the basic idea is to have an initial population of a certain size. Then, we pick two individuals from a population, construct two new individuals (...
Slowat_Kela's user avatar
1 vote
1 answer
843 views

How to design a NLP algorithm to find a food item in menu card list?

I am new to NLP and AI in general. I am just expecting springboard information so that I can skip all the introduction to NLP websites. I have just started studying NLP and want to know how to go ...
The White Cloud's user avatar
0 votes
0 answers
130 views

What is the best algorithm for optimizing profit, rather than making predictions?

I am new to machine learning, so I am not sure which algorithms to look at for my business problem. Most of what I am seeing in tools like KNIME are geared toward making a prediction/classification, ...
Pittsburgh DBA's user avatar
1 vote
0 answers
102 views

Minimax algorithm with only partial visibility

I'm trying to implement the minimax algorithm with alpha beta pruning on a game that works like this: Player 1 plays (x1, y1). Player 2 can only see the x-value (x1) that Player 1 played (and not ...
SpiderManCity's user avatar
2 votes
0 answers
83 views

How does Hartigan & Wong algorithm compare to Lloyd's and Macqueen's algorithm in K-means clustering?

As far I know, this is how the latter two algorithms work... Lloyd's algorithm Choose the number of clusters. Choose a distance metric (typically squared euclidean). Randomly assign each observation ...
Arif Al Hashmi's user avatar
1 vote
0 answers
60 views

Which method of tree searching should be used for this board game?

Suppose the following properties of a board game: High branching factor in the beginning of the game (~500) which slowly tends towards 0 at the end of the game Evaluation of the any given board ...
Tauist's user avatar
  • 111
0 votes
1 answer
91 views

Is the size of a neural network directly linked with an increase in its inteligence?

Just came across this article on GPT-3, and that lead me to the question: In order to make a certain kind of neural network architecture smarter all one needs to do is to make it bigger? Also, if that ...
Gonçalo Peres's user avatar
0 votes
1 answer
111 views

What reinforcement learning algorithm should I use in continuous states?

I want to use reinforcement learning in an environment I made. The exact environment doesn't really matter, but it comes down to this: The amount of different states in the environment is infinite e.g....
SirPVP's user avatar
  • 3
1 vote
0 answers
51 views

Algorithm to train a neural network against differentiable and non-differentiable databases?

Let's say I have two databases, $(\mathbf{x_i}, \mathbf{\hat{p_i}})$ and $(\mathbf{x_j}, \mathbf{\hat{q_j}})$. A neural network with weights $\theta$ can receive an input $\mathbf{x}$ and produce an ...
Firman's user avatar
  • 111
1 vote
1 answer
483 views

Is my 57% sports betting accuracy correct?

I have been creating sports betting algorithms for many years using Microsoft access and I am transitioning to the ML world and trying to get a grasp on determining the success of my algorithms. I ...
Sports_Stats's user avatar
0 votes
1 answer
1k views

Which kind of data does sigmoid kernel performance well?

While I was playing with some hyperparameters, I came to a wired situation. My dataset is IRIS dataset to be specific. SVM algorithm has some hyperparameters that we can tune, such as Kernels, and C ...
Gooday2die's user avatar
8 votes
2 answers
9k views

What are the main algorithms used in computer vision?

Nowadays, CV has really achieved great performance in many different areas. However, it is not clear what a CV algorithm is. What are some examples of CV algorithms that are commonly used nowadays and ...
Pluviophile's user avatar
  • 1,273
0 votes
0 answers
96 views

Can Reinforcement Learning be used for UAV waypoint control?

I want to make a drone which can follow static and dynamic waypoints. I am a total beginner in the drone field so I can't figure out that should I use Reinforcement Learning or any other learning ...
Vihaan Misra's user avatar
1 vote
0 answers
61 views

Is subsection generation $O(n^4)$

When I say template matching, I'm referring to finding occurrences of a small image (the template) in a larger image. The OpenCV library provides the trivial solution, that slides the template over ...
Tobi Akinyemi's user avatar
1 vote
0 answers
421 views

Can we solve an $8 \times 8$ sliding puzzle using hill climbing?

Can we solve an $8 \times 8$ sliding puzzle using a random-restart hill climbing technique (steepest-ascent)? If yes, how much computing power will this need? And what is the maximum $n \times n$ that ...
sudofix's user avatar
  • 11
2 votes
1 answer
115 views

When labelled data is not available, what are some common unsupervised learning algorithms for pattern recognition that can be used?

In pattern recognition systems, when no labeled data is available, what are some common unsupervised learning algorithms for pattern recognition, that can be used?
Steven M's user avatar
1 vote
0 answers
360 views

Algorithm which learns to select from proposed options

My goal is to write a program that automatically selects a routing out of multiple proposed options. The data consists out of the multiple proposed options with each the attributes time, costs and ...
Nui's user avatar
  • 11
1 vote
1 answer
124 views

In RL, if I assign the rewards for better positional play, the algorithm is learning nothing?

I'm creating an RL application for the game Connect Four. If I tell the algorithm which moves/token positions will receive greater rewards, surely it's not actually learning anything; it's just a ...
mason7663's user avatar
  • 613
2 votes
0 answers
33 views

Automated explanation - function results - simple attempt

I used to work as an analyst in a financial project where we had functions $f$ determining the price, and sometimes the inputs $x$ jumped in such a way to produce anomalous results. We had to report ...
sayWhat's user avatar
  • 21
1 vote
0 answers
29 views

What algorithm to use for finding artists/bands in text and differentiating between artists that share the same name

Here's the data I have: Text from articles from various music blogs & music news sites (title, summary, full content, and sometimes tags). I used a couple different NLP/NER tools (nltk, ...
Matt C's user avatar
  • 11
3 votes
0 answers
50 views

In machine learning, how can we overcome the restrictive nature of conjunctive space?

In machine learning, problem space can be represented through concept space, instance space version space and hypothesis space. These problem spaces used the conjunctive space and are very restrictive ...
aitsamahad's user avatar
2 votes
2 answers
277 views

Solving a planning if finding the goal state is part of the problem

I having trouble finding some starting points for solving an occupancy problem which seems like a good candidate for ai. Assume the following situation: In a company I have n cars and m employees. ...
Welker's user avatar
  • 21
4 votes
2 answers
309 views

Which algorithm to use to solve this optimization problem?

I have items called 'Resources' from 1 to 7. I have to use them in different actions identified from 1 to 10. I can do a maximum of 4 actions each time. This is called 'Operation'. The use of a ...
Joracosu's user avatar
  • 141
2 votes
1 answer
71 views

Giving an AI a purpose to talk

I am trying to teach my AI to talk. The problem is I'm struggling to find a good scenario in which it needs to. Some ideas I had were: "Describe a geometric scene" - Then together with a parser we ...
zooby's user avatar
  • 2,216
1 vote
0 answers
16 views

Is there an algorithm for "contextual recognition" with probabilities?

Example 1 An object is composed of 3 sub-objects. Object 1: 90% looks like an eye 10% looks like a wheel Object 2: 50% looks like an eye 50% looks like a wheel Object 3: 90% looks like a mouth 10% ...
zooby's user avatar
  • 2,216
1 vote
0 answers
56 views

What ML algorithms would you suggest in fraud detection?

There are a lot of ML algorithms suggested for fraud detection. Now, I have not been able to find a general overview for all of them. My goal is to create this overview. What algorithms would you ...
DataBach's user avatar
  • 111
8 votes
1 answer
2k views

MCTS: How to choose the final action from the root

When the time allotted to Monte Carlo tree search runs out, what action should be chosen from the root? The original UCT paper (2006) says bestAction in their ...
user76284's user avatar
  • 347