Created
March 16, 2019 13:54
-
-
Save NMZivkovic/54c7ce0e894e860debe06a60a606122d to your computer and use it in GitHub Desktop.
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
async function run() { | |
const data = await getData(); | |
displayData(data); | |
const model = createModel(); | |
tfvis.show.modelSummary({name: 'Model Summary'}, model); | |
const tensorData = prepareData(data); | |
const {inputs, outputs} = tensorData; | |
await trainModel(model, inputs, outputs, 100); | |
console.log('Done Training'); | |
await evaluateModel(model, inputs, outputs); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment