Linear regression
Classification
Decision trees with Zig acceleration
Train a decision tree using native Zig backend for maximum performance.The Zig backend provides 2-6x faster training compared to scikit-learn on Linux and Windows. See Performance Benchmarks for detailed comparisons.
Random forest ensemble
Random forests combine multiple decision trees for improved accuracy.Complete example
Here’s a full workflow combining preprocessing, training, and evaluation:Run your code
Save your code totrain.ts and run:
Next steps
Core Concepts
Learn about preprocessing, pipelines, and model evaluation
Guides
Explore in-depth guides for different algorithms
API Reference
Browse the complete API documentation
Performance
See benchmark comparisons vs scikit-learn