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.
Questions tagged [minmax]
272 questions
3
votes
2 answers
dicom images min max pixels and locations
I'm new here. I have a number of dicom images.
I need to get 4 max pixel values and their co-ordinates of all the images
and automatically crop the 128 by 128 4 patches from each image keeping the center pixel one of the max pixel that has been…

user2102092
- 31
- 1
- 1
- 4
3
votes
1 answer
Game Tree Algorithms & Progressive Deepening: How to approximate an answer without reaching the leaf nodes?
I just saw this MIT lecture on Game Trees and MinMax algorithms where Alpha Beta pruning and Progressive Deepening was discussed.
https://www.youtube.com/watch?v=STjW3eH0Cik
So If I understand correctly progressive deepening is when you try to…

Saurabh Patil
- 4,170
- 4
- 32
- 33
3
votes
1 answer
Implementing and using MinMax with four in row (connect4) game
I'm trying to implement the MinMax algorithm for four in a row (or connect4 or connect four) game.
I think I got the idea of it, it should build a tree of possible boards up to a certain depth, evaluate them and return their score, then we just take…

shinzou
- 5,850
- 10
- 60
- 124
3
votes
1 answer
How to create an evaluation function for a TIC-TAC-TOE variant game
I'm actually working on a board game which is a variant of the TIC-TAC-TOE game. The specifics of the game are the followings :
1. The game is played on a nxn board, with n variable.
2. A player wins if he succeeds in placing k alignments the first,…

blackbishop
- 30,945
- 11
- 55
- 76
3
votes
2 answers
Print Min and Max from file in Linux
This is a homework assignment and I'm a bit stumped here. The objective is as follows:
Create a file called grades that will contain quiz scores. The file should be created so that
there is only one quiz score per line. Write a script called minMax…
user2053184
3
votes
3 answers
Deep copying an array c# without serialization
Basically I have the problem that my MinMax algorithm isn't really working as intended.
What I need is to make my array pieces be copied to newPieces so that pieces isn't changed when newPieces is.
Here is an extract of the MinMax algorithm:…

Henry
- 57
- 1
- 1
- 6
2
votes
2 answers
How can i extract my best move from Min Max in TicTacToe?
int minmax(Board game, int depth)
{
if (game.IsFinished() || depth < 0)
return game.Score(game.Turn);
int alpha = int.MinValue + 1;
foreach (Point move in game.Generate_Moves())
…

Dementor
- 241
- 1
- 6
- 12
2
votes
2 answers
CSS Grid minmax(0,25%) won't set width to 0
The need is to have the .card-media column width set to 0 when empty.
.card {
display: grid;
grid-template-columns: minmax(0, 24%) 1fr;
grid-template-rows: auto 1fr auto;
grid-auto-flow: row;
grid-template-areas: 'card-media card-title'…

MadeInLagny
- 185
- 1
- 12
2
votes
0 answers
While applying MinMax scaling does each column needs to be treated independently for train and test?
So, I have 8 columns in my dataframe: 5 features and other 3 are targets. After following these process, the results obtained are not good. Can anyone provide any feedback in the steps followed?
Here I am defining 2 minmax scaling variables, one for…

Sandeep Kumar Kushwaha
- 167
- 7
2
votes
1 answer
minmax CSS function is not recognized in React project
I used the following line to style a material UI grid in my react project.
gridTemplateColumns: Repeat("auto-fit", minmax("300px", "1fr"))
I get this error "ReferenceError: minmax is not defined".
It looks React knows the repeat CSS function but not…

ADG
- 21
- 1
2
votes
1 answer
CSS - grid auto-fit not working when using minmax with max being specific length
I have a project where I want to use a grid. I have found a very easy way in order to display a random set of child elements inside a div. I use auto-fit together with minmax in order to automatically give the elements the same width and when they…

Stephen
- 913
- 3
- 24
- 50
2
votes
0 answers
Can we apply multiprocessing to Minmax Algorithm in python
I have written a Chess Engine Program in python in which one of my python file is responsible for the finding the Computer Moves . This uses MinMax algorithm with alpha-beta pruning and some other features. The move finding python file looks…

Falcon
- 73
- 6
2
votes
2 answers
MinMaxScaler only Generating Positive Values
from sklearn import preprocessing
I have a data which contain positive and negative values as given below :
(Here is the csv file of the data https://drive.google.com/file/d/1-Kc3vGDazAPQ_4I7wVvG6VI9Bd9b4uCW/view?usp=sharing)
ext is:
| Index |…

Mohd Naved
- 358
- 3
- 12
2
votes
1 answer
How to apply Normalisation using the MinMaxScaler() to all Columns, but Exclude the Categorical?
I am new to using the MinMaxScaler, so please do not bite my head of if this is a very, very simple question. Below, I have the following datatset:
sample_df.head(2)
ID S_LENGTH S_WIDTH P_LENGTH P_WIDTH …
user14924411
2
votes
1 answer
Using repeat() with auto-fit & minmax: is there a max-width for 1fr?
I'm using the declaration grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); and it works like it's supposed to, but I'd like to have a max-width for 1fr - is there a way to limit the width resulting from 1fr to, say, 450px?
I know there's…

EricBln
- 101
- 1
- 6