-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Jonas Almeida edited this page Oct 2, 2024
·
4 revisions
PrafulB (Praful Bhawsar), added basic documentation at: https://episphere.github.io/tfjs/out
More detailed descriptions of the parameters at: https://episphere.github.io/tfjs/out/TFJSModel.html
const { TFJSModel } = await import("https://episphere.github.io/tfjs/modelBuilder.js")
const model = new TFJSModel({})
await model.loadData({
"datasetURL": "https://episphere.github.io/ai/data/irisOHE.json",
"labelFieldName": "species",
"trainTestRatio": 0.8
})
await model.build()
await model.train()
await model.test()