Questions tagged [minmax]
This tag apparently is used as a synonym for "minimax", which seems more appropriate and is better maintained; I would suggest introduction of a tag synonym.
minmax
286
questions
0
votes
0
answers
14
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
32
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
43
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
107
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
1
answer
116
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
40
views
Should I turn my skewed data into a normal distributed data before using MinMaxScaler or StandardScaler?
I have a dataset with a couple skewed variables that with the use of sqrt() function turns them into a normal distribution variable.
I have read somewhere that I should have a normal distributed ...
0
votes
0
answers
39
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
62
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
44
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
144
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
82
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
44
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,...
0
votes
0
answers
18
views
how to set minmax correctly with auto-fit [duplicate]
I have a grid container with elements
the number of elements in the example is specified by the hardcode, but it is assumed that the number is unknown
my html
<div className={'grid-container1'}>
...
1
vote
1
answer
61
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) ...
0
votes
0
answers
60
views
Python tic-toc-toe ai doesn't choose the best move
I have an tic-tac-toe game and i would like to add an ai to it. I also would like to use minmax so it always chooses the best move to win the game, i added the minmax formula but it doesn't work, it ...