From cb592de56414f8be68b9c9dcaebfe49dd93d4019 Mon Sep 17 00:00:00 2001 From: programarivm Date: Fri, 1 Mar 2024 18:35:24 +0100 Subject: [PATCH] Deployed 59bc648 with MkDocs version: 1.5.3 --- index.html | 2 +- installation/index.html | 5 +---- search/search_index.json | 2 +- sitemap.xml | 12 ++++++------ sitemap.xml.gz | Bin 275 -> 275 bytes 5 files changed, 9 insertions(+), 12 deletions(-) diff --git a/index.html b/index.html index 2ea9dba1..cd86b105 100644 --- a/index.html +++ b/index.html @@ -140,5 +140,5 @@

Chess Data

diff --git a/installation/index.html b/installation/index.html index 06a469d2..690f5e49 100644 --- a/installation/index.html +++ b/installation/index.html @@ -92,10 +92,7 @@

Installation

Setup

-

Clone the chesslablab/chess-data repo into your projects folder as it is described in the following example:

-
git clone git@github.com:chesslablab/chess-data.git
-
-

Then cd the chess-data directory and install the Composer dependencies:

+

Clone the chesslablab/chess-data repo into your projects folder. Then cd the chess-data directory and install the Composer dependencies:

composer install
 

Create an .env file:

diff --git a/search/search_index.json b/search/search_index.json index c7280fda..0e0c1db6 100644 --- a/search/search_index.json +++ b/search/search_index.json @@ -1 +1 @@ -{"config":{"indexing":"full","lang":["en"],"min_search_length":3,"prebuild_index":false,"separator":"[\\s\\-]+"},"docs":[{"location":"","text":"Chess Data MySQL chess database CLI tools and machine learning with Rubix ML .","title":"Home"},{"location":"#chess-data","text":"MySQL chess database CLI tools and machine learning with Rubix ML .","title":"Chess Data"},{"location":"ai-training/","text":"AI Training Create the ml/regression/checkmate_king_and_rook_vs_king.rbx file using a prepared dataset. php cli/ml/train/regression.php checkmate_king_and_rook_vs_king fen_100_1646828057.csv","title":"AI Training"},{"location":"ai-training/#ai-training","text":"Create the ml/regression/checkmate_king_and_rook_vs_king.rbx file using a prepared dataset. php cli/ml/train/regression.php checkmate_king_and_rook_vs_king fen_100_1646828057.csv","title":"AI Training"},{"location":"create-json-files/","text":"Create JSON Files The following commands will create a bunch of JSON files in the output folder for further use by other applications like the Chess API . Create the output/autocomplete-events.json file: php cli/json/autocomplete/events.php Create the output/autocomplete-players.json file: php cli/json/autocomplete/players.php Create the output/draw-rate.json file: php cli/json/stats/draw-rate.php Create the output/win-rate-for-black.json file: php cli/json/stats/win-rate-for-black.php Create the output/win-rate-for-white.json file: php cli/json/stats/win-rate-for-white.php","title":"Create JSON Files"},{"location":"create-json-files/#create-json-files","text":"The following commands will create a bunch of JSON files in the output folder for further use by other applications like the Chess API . Create the output/autocomplete-events.json file: php cli/json/autocomplete/events.php Create the output/autocomplete-players.json file: php cli/json/autocomplete/players.php Create the output/draw-rate.json file: php cli/json/stats/draw-rate.php Create the output/win-rate-for-black.json file: php cli/json/stats/win-rate-for-black.php Create the output/win-rate-for-white.json file: php cli/json/stats/win-rate-for-white.php","title":"Create JSON Files"},{"location":"installation/","text":"Installation Setup Clone the chesslablab/chess-data repo into your projects folder as it is described in the following example: git clone git@github.com:chesslablab/chess-data.git Then cd the chess-data directory and install the Composer dependencies: composer install Create an .env file: cp .env.example .env Update the environment variables in your .env file if necessary: DB_DRIVER=mysql DB_HOST=localhost DB_PORT=3306 DB_DATABASE=chess DB_USERNAME=root DB_PASSWORD= Finally, create the chess database: php cli/db-create.php","title":"Installation"},{"location":"installation/#installation","text":"","title":"Installation"},{"location":"installation/#setup","text":"Clone the chesslablab/chess-data repo into your projects folder as it is described in the following example: git clone git@github.com:chesslablab/chess-data.git Then cd the chess-data directory and install the Composer dependencies: composer install Create an .env file: cp .env.example .env Update the environment variables in your .env file if necessary: DB_DRIVER=mysql DB_HOST=localhost DB_PORT=3306 DB_DATABASE=chess DB_USERNAME=root DB_PASSWORD= Finally, create the chess database: php cli/db-create.php","title":"Setup"},{"location":"prepare-the-data/","text":"Prepare the Data Should you want to prepare the data for further AI training, make sure the endgames and the games tables have been previously seeded with data. Regression From a FEN Position Prepare the data by playing chess games from a particular FEN position as shown in the example below. php cli/prepare/training/regression/fen.php 10 This command will play 10 random chess games fetched from the endgames table to create a prepared CSV dataset in the dataset/training/regression folder. It is particularly helpful to prepare endgames data. Regression From the Start Position Prepare the data by playing chess games from the start position as shown in the example below. php cli/prepare/training/regression/start.php 10 This command will play 10 random chess games fetched from the games table to create a prepared CSV dataset in the dataset/training/regression folder. It is particularly helpful to prepare games data.","title":"Prepare the Data"},{"location":"prepare-the-data/#prepare-the-data","text":"Should you want to prepare the data for further AI training, make sure the endgames and the games tables have been previously seeded with data.","title":"Prepare the Data"},{"location":"prepare-the-data/#regression-from-a-fen-position","text":"Prepare the data by playing chess games from a particular FEN position as shown in the example below. php cli/prepare/training/regression/fen.php 10 This command will play 10 random chess games fetched from the endgames table to create a prepared CSV dataset in the dataset/training/regression folder. It is particularly helpful to prepare endgames data.","title":"Regression From a FEN Position"},{"location":"prepare-the-data/#regression-from-the-start-position","text":"Prepare the data by playing chess games from the start position as shown in the example below. php cli/prepare/training/regression/start.php 10 This command will play 10 random chess games fetched from the games table to create a prepared CSV dataset in the dataset/training/regression folder. It is particularly helpful to prepare games data.","title":"Regression From the Start Position"},{"location":"seed-the-tables-with-data/","text":"Seed the Tables with Data Tables are loaded using the files contained in the data folder and can be loaded either all at once or file by file. Listed below are some examples of commands to seed the games table with data. Seed the games table with all the files contained in the data/example folder: php cli/seed/games.php data/example \u2717 2 games did not pass the validation. \u2713 4142 games out of a total of 4144 are OK. \u2713 597 games out of a total of 597 are OK. \u2717 1 games did not pass the validation. \u2713 1824 games out of a total of 1825 are OK. \u2713 3878 games out of a total of 3878 are OK. \u2713 4646 games out of a total of 4646 are OK. \u2717 2 games did not pass the validation. \u2713 2126 games out of a total of 2128 are OK. \u2713 2275 games out of a total of 2275 are OK. \u2713 1218 games out of a total of 1218 are OK. \u2713 827 games out of a total of 827 are OK. \u2717 5 games did not pass the validation. \u2713 1341 games out of a total of 1346 are OK. \u2713 5662 games out of a total of 5662 are OK. \u2713 3444 games out of a total of 3444 are OK. Seed the games table file by file: php cli/seed/games.php data/example/Anand.pgn \u2717 2 games did not pass the validation. \u2713 4142 games out of a total of 4144 are OK. Seed the games table with your own set of files in the data/games folder: php cli/seed/games.php data/games Please note that all files in the data folder are gitignored except those contained in data/example . Also, the chess games won't be loaded into the database if containing PGN tags other than the ones supported by the tables created in the cli/db-create.php script. If that is the case you may want to remove the unsupported tags as shown in the example below. find . -name '*.pgn' -print0 | xargs -0 sed -i \"/\\[PlyCount .*\\]/d\" Listed below are some examples of commands to seed the endgames table with data. php cli/seed/endgames.php data/endgames Listed below are some examples of commands to seed the openings table with data. php cli/seed/openings.php data/openings","title":"Seed the Tables with Data"},{"location":"seed-the-tables-with-data/#seed-the-tables-with-data","text":"Tables are loaded using the files contained in the data folder and can be loaded either all at once or file by file. Listed below are some examples of commands to seed the games table with data. Seed the games table with all the files contained in the data/example folder: php cli/seed/games.php data/example \u2717 2 games did not pass the validation. \u2713 4142 games out of a total of 4144 are OK. \u2713 597 games out of a total of 597 are OK. \u2717 1 games did not pass the validation. \u2713 1824 games out of a total of 1825 are OK. \u2713 3878 games out of a total of 3878 are OK. \u2713 4646 games out of a total of 4646 are OK. \u2717 2 games did not pass the validation. \u2713 2126 games out of a total of 2128 are OK. \u2713 2275 games out of a total of 2275 are OK. \u2713 1218 games out of a total of 1218 are OK. \u2713 827 games out of a total of 827 are OK. \u2717 5 games did not pass the validation. \u2713 1341 games out of a total of 1346 are OK. \u2713 5662 games out of a total of 5662 are OK. \u2713 3444 games out of a total of 3444 are OK. Seed the games table file by file: php cli/seed/games.php data/example/Anand.pgn \u2717 2 games did not pass the validation. \u2713 4142 games out of a total of 4144 are OK. Seed the games table with your own set of files in the data/games folder: php cli/seed/games.php data/games Please note that all files in the data folder are gitignored except those contained in data/example . Also, the chess games won't be loaded into the database if containing PGN tags other than the ones supported by the tables created in the cli/db-create.php script. If that is the case you may want to remove the unsupported tags as shown in the example below. find . -name '*.pgn' -print0 | xargs -0 sed -i \"/\\[PlyCount .*\\]/d\" Listed below are some examples of commands to seed the endgames table with data. php cli/seed/endgames.php data/endgames Listed below are some examples of commands to seed the openings table with data. php cli/seed/openings.php data/openings","title":"Seed the Tables with Data"}]} \ No newline at end of file +{"config":{"indexing":"full","lang":["en"],"min_search_length":3,"prebuild_index":false,"separator":"[\\s\\-]+"},"docs":[{"location":"","text":"Chess Data MySQL chess database CLI tools and machine learning with Rubix ML .","title":"Home"},{"location":"#chess-data","text":"MySQL chess database CLI tools and machine learning with Rubix ML .","title":"Chess Data"},{"location":"ai-training/","text":"AI Training Create the ml/regression/checkmate_king_and_rook_vs_king.rbx file using a prepared dataset. php cli/ml/train/regression.php checkmate_king_and_rook_vs_king fen_100_1646828057.csv","title":"AI Training"},{"location":"ai-training/#ai-training","text":"Create the ml/regression/checkmate_king_and_rook_vs_king.rbx file using a prepared dataset. php cli/ml/train/regression.php checkmate_king_and_rook_vs_king fen_100_1646828057.csv","title":"AI Training"},{"location":"create-json-files/","text":"Create JSON Files The following commands will create a bunch of JSON files in the output folder for further use by other applications like the Chess API . Create the output/autocomplete-events.json file: php cli/json/autocomplete/events.php Create the output/autocomplete-players.json file: php cli/json/autocomplete/players.php Create the output/draw-rate.json file: php cli/json/stats/draw-rate.php Create the output/win-rate-for-black.json file: php cli/json/stats/win-rate-for-black.php Create the output/win-rate-for-white.json file: php cli/json/stats/win-rate-for-white.php","title":"Create JSON Files"},{"location":"create-json-files/#create-json-files","text":"The following commands will create a bunch of JSON files in the output folder for further use by other applications like the Chess API . Create the output/autocomplete-events.json file: php cli/json/autocomplete/events.php Create the output/autocomplete-players.json file: php cli/json/autocomplete/players.php Create the output/draw-rate.json file: php cli/json/stats/draw-rate.php Create the output/win-rate-for-black.json file: php cli/json/stats/win-rate-for-black.php Create the output/win-rate-for-white.json file: php cli/json/stats/win-rate-for-white.php","title":"Create JSON Files"},{"location":"installation/","text":"Installation Setup Clone the chesslablab/chess-data repo into your projects folder. Then cd the chess-data directory and install the Composer dependencies: composer install Create an .env file: cp .env.example .env Update the environment variables in your .env file if necessary: DB_DRIVER=mysql DB_HOST=localhost DB_PORT=3306 DB_DATABASE=chess DB_USERNAME=root DB_PASSWORD= Finally, create the chess database: php cli/db-create.php","title":"Installation"},{"location":"installation/#installation","text":"","title":"Installation"},{"location":"installation/#setup","text":"Clone the chesslablab/chess-data repo into your projects folder. Then cd the chess-data directory and install the Composer dependencies: composer install Create an .env file: cp .env.example .env Update the environment variables in your .env file if necessary: DB_DRIVER=mysql DB_HOST=localhost DB_PORT=3306 DB_DATABASE=chess DB_USERNAME=root DB_PASSWORD= Finally, create the chess database: php cli/db-create.php","title":"Setup"},{"location":"prepare-the-data/","text":"Prepare the Data Should you want to prepare the data for further AI training, make sure the endgames and the games tables have been previously seeded with data. Regression From a FEN Position Prepare the data by playing chess games from a particular FEN position as shown in the example below. php cli/prepare/training/regression/fen.php 10 This command will play 10 random chess games fetched from the endgames table to create a prepared CSV dataset in the dataset/training/regression folder. It is particularly helpful to prepare endgames data. Regression From the Start Position Prepare the data by playing chess games from the start position as shown in the example below. php cli/prepare/training/regression/start.php 10 This command will play 10 random chess games fetched from the games table to create a prepared CSV dataset in the dataset/training/regression folder. It is particularly helpful to prepare games data.","title":"Prepare the Data"},{"location":"prepare-the-data/#prepare-the-data","text":"Should you want to prepare the data for further AI training, make sure the endgames and the games tables have been previously seeded with data.","title":"Prepare the Data"},{"location":"prepare-the-data/#regression-from-a-fen-position","text":"Prepare the data by playing chess games from a particular FEN position as shown in the example below. php cli/prepare/training/regression/fen.php 10 This command will play 10 random chess games fetched from the endgames table to create a prepared CSV dataset in the dataset/training/regression folder. It is particularly helpful to prepare endgames data.","title":"Regression From a FEN Position"},{"location":"prepare-the-data/#regression-from-the-start-position","text":"Prepare the data by playing chess games from the start position as shown in the example below. php cli/prepare/training/regression/start.php 10 This command will play 10 random chess games fetched from the games table to create a prepared CSV dataset in the dataset/training/regression folder. It is particularly helpful to prepare games data.","title":"Regression From the Start Position"},{"location":"seed-the-tables-with-data/","text":"Seed the Tables with Data Tables are loaded using the files contained in the data folder and can be loaded either all at once or file by file. Listed below are some examples of commands to seed the games table with data. Seed the games table with all the files contained in the data/example folder: php cli/seed/games.php data/example \u2717 2 games did not pass the validation. \u2713 4142 games out of a total of 4144 are OK. \u2713 597 games out of a total of 597 are OK. \u2717 1 games did not pass the validation. \u2713 1824 games out of a total of 1825 are OK. \u2713 3878 games out of a total of 3878 are OK. \u2713 4646 games out of a total of 4646 are OK. \u2717 2 games did not pass the validation. \u2713 2126 games out of a total of 2128 are OK. \u2713 2275 games out of a total of 2275 are OK. \u2713 1218 games out of a total of 1218 are OK. \u2713 827 games out of a total of 827 are OK. \u2717 5 games did not pass the validation. \u2713 1341 games out of a total of 1346 are OK. \u2713 5662 games out of a total of 5662 are OK. \u2713 3444 games out of a total of 3444 are OK. Seed the games table file by file: php cli/seed/games.php data/example/Anand.pgn \u2717 2 games did not pass the validation. \u2713 4142 games out of a total of 4144 are OK. Seed the games table with your own set of files in the data/games folder: php cli/seed/games.php data/games Please note that all files in the data folder are gitignored except those contained in data/example . Also, the chess games won't be loaded into the database if containing PGN tags other than the ones supported by the tables created in the cli/db-create.php script. If that is the case you may want to remove the unsupported tags as shown in the example below. find . -name '*.pgn' -print0 | xargs -0 sed -i \"/\\[PlyCount .*\\]/d\" Listed below are some examples of commands to seed the endgames table with data. php cli/seed/endgames.php data/endgames Listed below are some examples of commands to seed the openings table with data. php cli/seed/openings.php data/openings","title":"Seed the Tables with Data"},{"location":"seed-the-tables-with-data/#seed-the-tables-with-data","text":"Tables are loaded using the files contained in the data folder and can be loaded either all at once or file by file. Listed below are some examples of commands to seed the games table with data. Seed the games table with all the files contained in the data/example folder: php cli/seed/games.php data/example \u2717 2 games did not pass the validation. \u2713 4142 games out of a total of 4144 are OK. \u2713 597 games out of a total of 597 are OK. \u2717 1 games did not pass the validation. \u2713 1824 games out of a total of 1825 are OK. \u2713 3878 games out of a total of 3878 are OK. \u2713 4646 games out of a total of 4646 are OK. \u2717 2 games did not pass the validation. \u2713 2126 games out of a total of 2128 are OK. \u2713 2275 games out of a total of 2275 are OK. \u2713 1218 games out of a total of 1218 are OK. \u2713 827 games out of a total of 827 are OK. \u2717 5 games did not pass the validation. \u2713 1341 games out of a total of 1346 are OK. \u2713 5662 games out of a total of 5662 are OK. \u2713 3444 games out of a total of 3444 are OK. Seed the games table file by file: php cli/seed/games.php data/example/Anand.pgn \u2717 2 games did not pass the validation. \u2713 4142 games out of a total of 4144 are OK. Seed the games table with your own set of files in the data/games folder: php cli/seed/games.php data/games Please note that all files in the data folder are gitignored except those contained in data/example . Also, the chess games won't be loaded into the database if containing PGN tags other than the ones supported by the tables created in the cli/db-create.php script. If that is the case you may want to remove the unsupported tags as shown in the example below. find . -name '*.pgn' -print0 | xargs -0 sed -i \"/\\[PlyCount .*\\]/d\" Listed below are some examples of commands to seed the endgames table with data. php cli/seed/endgames.php data/endgames Listed below are some examples of commands to seed the openings table with data. php cli/seed/openings.php data/openings","title":"Seed the Tables with Data"}]} \ No newline at end of file diff --git a/sitemap.xml b/sitemap.xml index 3997bcec..c0ef2e4c 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -2,32 +2,32 @@ https://chess-data.docs.chesslablab.org/ - 2024-02-01 + 2024-03-01 daily https://chess-data.docs.chesslablab.org/ai-training/ - 2024-02-01 + 2024-03-01 daily https://chess-data.docs.chesslablab.org/create-json-files/ - 2024-02-01 + 2024-03-01 daily https://chess-data.docs.chesslablab.org/installation/ - 2024-02-01 + 2024-03-01 daily https://chess-data.docs.chesslablab.org/prepare-the-data/ - 2024-02-01 + 2024-03-01 daily https://chess-data.docs.chesslablab.org/seed-the-tables-with-data/ - 2024-02-01 + 2024-03-01 daily \ No newline at end of file diff --git a/sitemap.xml.gz b/sitemap.xml.gz index f2343cd920d7fb31a5e056659b8ab57bbef277cb..34b0bd63427abbf49bf499c978358f3f743f5f6d 100644 GIT binary patch delta 256 zcmV+b0ssD!0+RvP1LP=6lT|yS^}=8T3txiEGblC$`Fxsz@S{Rq-r1Ft*mgG+Udo; z9tPquIdfxU+RA1Jh-W-yych>Qe0O@KT&eUg)?Wa@OU~e9xwGxV+Kj*` z-zi0T@&Rf4$UYK72*BlyZl89_I6+3q16J4ei3!nFTrL`toIMZ!gkHDuvzQ-NSYq^v G1ONc1j({lu delta 256 zcmV+b0ssD!0+Rv=2Z$5!OzzDM~hC*dVt8Xu5H>P(J(+LU8 zpMU;*A%yRU{EeuQne58T2^pP?e*&3 z4g>L&oax%`PPUzFkHvD+Ha0s#9PpCy-8k^!yVo1#N~M3X{sIVIat0sEo$VjiW&}q0 zMk&gR4@mn*_K_Gu04{HI|Fm<)88S*9vAXt8Oo*=Ha?z0F;(7ch^tzRw#ry!@8_wp5 G1ONbYetdHP