This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const pawn = Machine({ | |
id: 'pawn', | |
context: { | |
notation: 'p' | |
} | |
}); | |
// const pieces = [pawn]; | |
const setupBoard = async (context, event) => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data": [ | |
{ | |
"id": "65a70f55-636b-43dd-ad4d-713ce0e2440a", | |
"text": "Qui esse dolores non ipsum libero non quos incidunt.", | |
"description": "Question without image, accept single answer without image", | |
"answers": [ | |
{ | |
"id": "60f4443a-fcde-436d-aa74-6bee1b49070c", | |
"text": "Et necessitatibus repudiandae rem molestias suscipit est quasi quas.", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ml5 from 'ml5'; | |
import { TimeSeries, DataView } from 'pondjs'; | |
import { DQN } from 'rl-js-dqn'; | |
const data = await fetchTimeSeriesData(); | |
const timeseries = new TimeSeries({ | |
name: 'timeseries', | |
columns: ['time', 'value'], | |
points: data.map(d => [d.timestamp, d.value]) | |
}); |
OlderNewer