training_done message emitted
This commit is contained in:
parent
5ec1afe4b4
commit
621422979a
2
tf.js
2
tf.js
@ -31,6 +31,8 @@ maxApi.addHandler("train", (epochs) => {
|
|||||||
|
|
||||||
// Train the model using the data.
|
// Train the model using the data.
|
||||||
model.fit(xs, ys, {epochs});
|
model.fit(xs, ys, {epochs});
|
||||||
|
|
||||||
|
maxApi.outlet("training_done");
|
||||||
});
|
});
|
||||||
|
|
||||||
maxApi.addHandler("dataPoint", (...data) => {
|
maxApi.addHandler("dataPoint", (...data) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user