MCPcopy Create free account
hub / github.com/tensorflow/tfjs-examples / getManualInputData

Function getManualInputData

iris-fitDataset/ui.js:33–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31 * Get manually input Iris data from the input boxes.
32 */
33export function getManualInputData() {
34 return [
35 Number(document.getElementById('petal-length').value),
36 Number(document.getElementById('petal-width').value),
37 Number(document.getElementById('sepal-length').value),
38 Number(document.getElementById('sepal-width').value),
39 ];
40}
41
42const confusionMatrixCanvas = document.getElementById('confusion-matrix');
43

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected