* Creates a dataset pipeline from GAME_GENERATOR_DATASET by: * 1) Applying the function gameToFeaturesAndlabel * 2) Taking the first N samples of the dataset * 3) Batching the dataset to batches of size B * * It then executes the dataset by filling an array. Finally, it passes this * array to
()
| 101 | * array to the UI to render in a table. |
| 102 | */ |
| 103 | async function datasetToArrayHandler() { |
| 104 | const arr = await datasetToArray(); |
| 105 | ui.displayBatches(arr); |
| 106 | ui.displayNumSimulationsSoFar(); |
| 107 | } |
| 108 | |
| 109 | /** |
| 110 | * Returns a three layer sequential model suitable for predicting win state from |
nothing calls this directly
no test coverage detected