Loading
Round 1: Completed #educational Weight: 10.0

# CHESS

Predict Win Depth

5177
392
34
643

π  Contribute : Found a typo? Or any other change in the description that you would like to see ? Please consider sending us a pull request in the public repo of the challenge here.

## π΅οΈ Introduction

Game of thrones and endings donβt sit that well together π . But what if we give you a chance to decide the conclusion to a game of kings and queens! The tryst of computers and chess is an old one, let us relive that in your new challenge. The positions of white king and rook are plotted against black King and you have to predict either the number of moves it takes for the white king to win or say if the white king loses.

Understand with code! Here is getting started code for you.π

## πΎ Dataset

A KRK dataset was first described in 1977. This dataset is also a KRK dataset, meaning it consists of positions of White King, White Rook, and Black King. In such a scenario if both teams play optimally(Black moves first) the only possible outcomes are either a draw or White King wins. The attributes are :

• White King file (column)

• White King rank (row)

• White Rook file

• White Rook rank

• Black King file

• Black King rank

• optimal depth-of-win for White in 0 to 16 moves, otherwise draw(-1) .

For simplification, positions have been stored in csv file. The train.csv has 7 columns, the last column is the number of moves required to win which is -1 in case of a draw and otherwise between 1-16 the rest 6 columns contain the position of White King and Rook and Black King.

## π Files

Following files are available in the resources section:

• train.csv - (22444 samples) This csv file contains the positions of the White King, Rook and the Black king with the number of moves it takes for White king to win.

• test.csv - (5611 samples) This csv file contains the positions of the White King, Rook and the Black king but without the number of moves it takes for White king to win.

## π Submission

• Prepare a CSV containing header as depth and predicted value as digit [-1-16] denoting the number of moves it takes for White king to win.
• Name of the above file should be submission.csv.
• Sample submission format available at sample_submission.csv in the resorces section.

Make your first submission here π !!

## π Evaluation Criteria

During evaluation Mean Absolute Error and F1 score will be used to test the efficiency of the model where,

$F1 = 2 * \frac{precision*recall}{precision+recall}$

## π References

• Dua, D. and Graff, C. (2019). UCI Machine Learning Repository [http://archive.ics.uci.edu/ml]. Irvine, CA: University of California, School of Information and Computer Science.
• Image Source

#### Notebooks

 0 [Getting Started Notebook] CHESS Challange By gauransh_k About 2 years ago 0