All Questions
Tagged with machine-learning algorithm
983 questions
0
votes
1
answer
47
views
Monte Carlo Tree Search blundering mate in 1 due to high simulations
I am struggling to understand what should happen when terminal nodes are selected in MCTS. I see there are several posts with similar titles here, here and here but they don't seem to explain my point ...
1
vote
0
answers
71
views
Configuration of Python-NEAT algorithm
I am using the NEAT algorithm to optimize traffic signal timings based on inputs like queue lengths from four directions at an intersection. The goal is to generate optimal signal timings as output. ...
0
votes
0
answers
25
views
Optimizing a process in several steps : how to train a model if we use it several times before being able to calculate the loss?
I have a process in a certain number of steps ; let's say 3.
We start with an initialized null matrix M0 which describes the state of our system, and have to take an action which consequences are ...
1
vote
0
answers
52
views
mean cost per game in Guided Cost Learning
In this algorithm, which is an implementation of the paper "Guided Cost Learning: Deep Inverse Optimal Control via Policy Optimization" from Chelsea Finn, Sergey Levine and Pieter Abbeel, ...
2
votes
1
answer
81
views
Graph node coloring with minimal distance within same group
I have a list of edges with weights (node1 node2 weight) as an input for an undirected graph.
A B 10
A C 9
A D 2
B C 1
I also have a list of colors as input like below:
Red: 2
Blue: 2
Let's say we ...
0
votes
1
answer
133
views
How does the joint probability distribution help to generate things? [closed]
I am trying to understand the difference between discriminative models and generative models. One of the helpful answers at Stack Overflow is here: What is the difference between a generative and a ...
0
votes
1
answer
677
views
Model to determine if certain company names are the same [closed]
So I was trying to look into models that could help determine if a company name is the same. So basically I have a dataset that lists a bunch of company names that different investment funds hold but ...
1
vote
0
answers
81
views
Kohonen neural network for determining the quadrant of a point plane
I need to implement a Kohonen neural network (without teacher) to determine the quadrant of the plane (from 1 to 8) of a point. A vector of coordinates [x, y, z] is fed to the input of the neural ...
0
votes
2
answers
78
views
why the output of filtering pandas file becomes NaN?
I want the output becomes non NaN value.
the problem in this line
f_bp_max.loc[l, 'max'] = df_frcst[df_frcst['Datetime'].dt.year == k]['Forecast'].max()
When I print this:
df_frcst[df_frcst['Datetime'...
1
vote
0
answers
132
views
How do you code Garson's algorithm in matlab to find the relative importance of parameters when training a neural network model?
I am working on a predictive analysis study and came across garson's algorithm but I am facing trouble in programming the formula for it. Here is my code:
%%% Data Inputs
inputs = data(:, 1:4)';
...
2
votes
0
answers
82
views
Improving performance of word extraction
I have written the following code:
temp_list = processed_text.split()
print(temp_list)
emotion_lists = {
'admiration': [], 'amusement': [], 'anger': [], 'annoyance': [],
'approval': [], '...
1
vote
1
answer
2k
views
Difference between Logistic Regression and Decision Trees
I was Studying Decision Trees and understood that it generally is used in Classification Problems.
But the Logistic Regression is also used in Classification Problems only.
So I searched everywhere on ...
-1
votes
2
answers
526
views
What ML algorithm to use in order to find a pattern between file name and the content of the file? [closed]
I am working on a ML project and got stuck on what approach to take in that problem:
I have a table (.csv file) that contains in a column 'file' list of all my .txt files that are called BAM_xxxx, ...
0
votes
0
answers
24
views
Types of Algorithms that Experiment with Solutions to Problems
I do not know the best way to word this. Apologies.
Essentially I am looking at segmenting/classifying patterned time-series data collected by sensors.
There are so many different ways to tackle this, ...
1
vote
0
answers
112
views
how to change the labels list in agglomerative cluster?
I'm trying to implement agglomerative clustering algorithm from scratch in python but I don't know how can I change the label list value after calculate the distance matrix
here is my code :
import ...