285 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
77
views
Why is Min Max playing the first available move it can find as best move?
The Minimax algorithm only selects the first available move as the best move when none of its pieces are threatened. On an 8x8 board, when it is the bot's turn to play and the Minimax algorithm is ...
0
votes
0
answers
129
views
Minimax Implementation with Heuristic: Unexpectedly Poor Performance
I'm implementing the Minimax algorithm for a two-player board game using Dart. My approach involves two nested for loops to simulate the maximizing and minimizing players' turns. I've also developed a ...
0
votes
0
answers
45
views
How to load a Neural Network Model along with MinMaxScalar? [duplicate]
I have a simple neural network model, of 4 layers, that I trained on a numerical dataset of 25K data points.
It takes a good time to load the data, whenever I want to evaluate new features to python ...
0
votes
0
answers
28
views
Why reshape is needed for Sequential models after minmaxscaler class? and how to use?
My recent project is based on 'Stock Prediciton" I'm working on df["Open"] as nd.array.
Trying to understand intuitively how this works and whether my predicted data will be correct or ...
0
votes
0
answers
44
views
Calculating emission values based on min or max of a certain column for specific reporting time
I am a SQL beginner and self learner working on improving my SQL fundamentals. I am trying to use retrieve the min and max Entry_ID to calculate emission values based on certain dates.
I have 2 tables ...
1
vote
1
answer
60
views
How to receive position that lead to the highest evaluated branch, when using minmax
Right now I am programming a simple game (Capture the Flag) in Java. For creating my AiBots I decided to use minmax with alpha beta pruning. What is the best way to access the position that lead to ...
-2
votes
1
answer
335
views
tic tac toe Using minMax algorithm
First of all hello
I am trying to implement a tic tac toe game using the minimax algorithm i tried many ways until i got comfortable with this implementation but I am facing some unlogic moves from ...
0
votes
2
answers
485
views
Solving a Min-Max Optimization Problem with Constraint
I'm trying to solve the following optimization problem:
min max{x + 2y − 1, 2x + 0.5y + 0.75}
s.t. x + y = 1,
so far i've tried to solve it separately in terms of max and min but im not sure when i ...
0
votes
0
answers
41
views
TicTactoe using javascript minmax algorithm
There's a function called "table" that creates a clickable table, where the clicked values are stored in a variable called "board".
After initializing the "board", ...
0
votes
2
answers
78
views
Efficient algorithm to find if a value changed dropped or raised in a given time period
I have to process a csv file with millions of lines "value, datetime": I need to find if the value shifted (drop or raise) by GAP_VALUE (first parameter ) within a given time period TIME_GAP ...
0
votes
0
answers
55
views
Why minmax is clamping the value to max-container
I found minmax to have very curious behaviour, which I couldn't find explanation for.
I would expect below code to overflow if second column has text that's long, "ideal size" should be ...
1
vote
1
answer
435
views
How to use values from previous column definition for Athena SQL query?
My data looks like this:
idx,year,month,day,metadata,not_impt,metricx
123,2022,12,02,"blah blah","lah lah",-123.94
123,2022,11,05,"blah blah asd","lah lah",62.4
...
1
vote
0
answers
144
views
Monte Carlo simulation - implementing the uct select function
I'm trying to implement Monte Carlo simulation for card game with following rules:
2 players. every player gets same set of 5 different cards. every card can be marked at the back side with circle, ...
-1
votes
1
answer
52
views
Clustering problem constraint error CPLEX cannot extract expression
I've written following code for a clustering problem:
range N=1..10;
range M=1..2;
float distance[N,N]=...;
dvar boolean x[M,N];
dvar float+ Z;
minimize Z;
subject to {
forall(i in N, j in N,...
1
vote
1
answer
91
views
How does CSS allocate space for columns in a grid where each column width is defined by a minmax() function with fixed values?
I hope the question title makes sense. If not, here is a specific scenario:
Let's say we have an element like so:
main {
width: 500px;
display: grid;
grid-template-columns: minmax(200px, 300px) ...