Skip to main content
Sourcetable supports two ML approaches: TabPFN for instant zero-shot predictions, and scikit-learn for full model training pipelines.

TabPFN — zero-shot predictions

TabPFN is a pre-trained neural network that makes predictions on tabular data without any training step. It works immediately on your data.

When to use TabPFN

  • Small to medium datasets (under 10,000 rows works best)
  • Quick prototyping — get results in seconds
  • No hyperparameter tuning needed
  • Classification and regression tasks

Available modes

scikit-learn — full ML pipeline

For larger datasets or when you need more control, Sourcetable uses scikit-learn under the hood.

Classification

Available algorithms:

Regression

Available algorithms: Linear Regression, Ridge, Lasso, ElasticNet, Random Forest Regressor, Gradient Boosting Regressor, SVR, Decision Tree Regressor.

Clustering

Dimensionality reduction

Available methods: PCA, t-SNE, UMAP, LDA.

End-to-end ML pipeline

When you ask the AI to build a model, it automatically handles:
  1. Data splitting — train/test split (default 80/20)
  2. Feature preprocessing — encoding categoricals, scaling numerics, handling missing values
  3. Model training — fits the chosen algorithm
  4. Evaluation — generates metrics and visualizations
  5. Results — writes predictions back to your spreadsheet

Model evaluation

The AI reports relevant metrics based on the task: Classification metrics:
  • Accuracy, Precision, Recall, F1 Score
  • ROC curve and AUC
  • Confusion matrix
  • Classification report by class
Regression metrics:
  • R-squared and Adjusted R-squared
  • MAE (Mean Absolute Error)
  • RMSE (Root Mean Squared Error)
  • Residual plots
Clustering metrics:
  • Silhouette score
  • Calinski-Harabasz index
  • Inertia (for K-Means)

Hyperparameter tuning

The AI performs grid search or randomized search with cross-validation to find optimal parameters.