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

Function loadTrainParametersFromUI

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

Source from the content-addressed store, hash-verified

200}
201
202export function loadTrainParametersFromUI() {
203 return {
204 epochs: Number(document.getElementById('train-epochs').value),
205 learningRate: Number(document.getElementById('learning-rate').value)
206 };
207}
208
209export function status(statusText) {
210 console.log(statusText);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected