forecast-web
    Preparing search index...

    Function loadTabular

    • 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.

      Type Parameters

      Parameters

      Returns Promise<Tabular<T>>

      const clf = await loadTabular({ task: "classification" });
      const labels = await clf.fit(trainRows, trainLabels).predict(testRows);