Skip to content

Commit

Permalink
Deployed 0f5fa4e with MkDocs version: 1.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
programarivm committed Dec 30, 2024
1 parent 3e72569 commit 9f9380b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 13 deletions.
16 changes: 5 additions & 11 deletions data-mining/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@
<div class="col-md-9" role="main">

<h1 id="data-mining">Data Mining</h1>
<p>Data mining provides an additional boost to the SQL queries that can be performed on the <code>games</code> table. The precondition for data mining is to seed the <code>games</code> table with data.</p>
<p>The CLI commands described below are to populate the columns suffixed with the word <code>_mine</code> with pre-calculated data for further analysis. The algorithm used to mine the data may be more or less time-consuming.</p>
<p>Data mining provides an additional boost to the SQL queries that can be performed on the <code>games</code> table. The precondition for it is to seed the <code>games</code> table with data. The CLI commands described below are to populate the columns suffixed with the word <code>_mine</code> with pre-calculated data for further analysis.</p>
<h2 id="cli-commands">CLI Commands</h2>
<table>
<thead>
<tr>
Expand All @@ -102,20 +102,14 @@ <h1 id="data-mining">Data Mining</h1>
<tbody>
<tr>
<td align="left">💎</td>
<td align="left">The data mining command is not time-consuming.</td>
<td align="left">The command is not too time-consuming.</td>
</tr>
<tr>
<td align="left">💎💎</td>
<td align="left">The data mining command is not too time-consuming.</td>
</tr>
<tr>
<td align="left">💎💎💎</td>
<td align="left">The data mining command is time-consuming.</td>
<td align="left">The command is time-consuming.</td>
</tr>
</tbody>
</table>
<p>Please note the difference with the seed commands, which are meant for loading the tables with data.</p>
<h2 id="cli-commands">CLI Commands</h2>
<h3 id="fenphp">💎 <code>fen.php</code></h3>
<p>The example below populates the <code>fen_mine</code> column with chess positions in FEN format on a player basis:</p>
<pre><code class="language-text">docker exec -itu 1000:1000 chess_data_php php cli/mine/fen.php &quot;Anand,V&quot;
Expand All @@ -130,7 +124,7 @@ <h4 id="example">Example</h4>
WHERE
fen_mine LIKE '%r1bqkbnr/pp1ppppp/2n5/2p5/4P3/5N2/PPPP1PPP/RNBQKB1R%';
</code></pre>
<h3 id="heuristicsphp">💎💎💎 <code>heuristics.php</code></h3>
<h3 id="heuristicsphp">💎💎 <code>heuristics.php</code></h3>
<p>The example below calculates the <code>heuristics_mine</code> column on a player basis:</p>
<pre><code class="language-text">docker exec -itu 1000:1000 chess_data_php php cli/mine/heuristics.php &quot;Anand,V&quot;
</code></pre>
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -240,5 +240,5 @@ <h4 class="modal-title" id="keyboardModalLabel">Keyboard Shortcuts</h4>

<!--
MkDocs version : 1.5.3
Build Date UTC : 2024-12-30 09:22:49.130174+00:00
Build Date UTC : 2024-12-30 09:34:02.924568+00:00
-->
Loading

0 comments on commit 9f9380b

Please sign in to comment.