Downloads TabICL for a task and returns a model you can fit to a table and predict with. Fitting is instant (in-context learning); prediction runs the network, by default in a Web Worker on WebGPU with a WASM fallback.
const clf = await loadTabular({ task: "classification" });const labels = await clf.fit(trainRows, trainLabels).predict(testRows); Copy
const clf = await loadTabular({ task: "classification" });const labels = await clf.fit(trainRows, trainLabels).predict(testRows);
Downloads TabICL for a task and returns a model you can fit to a table and predict with. Fitting is instant (in-context learning); prediction runs the network, by default in a Web Worker on WebGPU with a WASM fallback.