Practical overview
When it fits
Use it when a Julia workflow needs boosted-tree modeling on tabular data and the model should be fitted and evaluated through Julia code.
Who it is for
- Julia practitioners building supervised-learning workflows on tabular data.
- Teams that need regression, classification or learning-to-rank models within Julia code.
Documented uses
- Fit boosted-tree models to tabular features and target values.
- Generate predictions from a fitted model.
- Inspect feature importance and use documented SHAP and plotting capabilities.
Requirements & limits
- The tutorials use Julia packages including EvoTrees, MLDatasets and DataFrames.
- The documented Tables API accepts real-valued, Boolean and categorical feature values.
- Evaluation data can be passed during fitting for metric tracking and early stopping.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Train and evaluate a regression model
Fit an EvoTrees regression model using a tabular dataset, then calculate predictions and mean absolute error.
Before you start
- Julia
- EvoTrees, MLDatasets, DataFrames and Statistics
- A tabular dataset with a target column
Steps
Load the dataset and required packages, then separate feature columns from the target.
Split the rows into training and evaluation sets.
Configure an EvoTreeRegressor and fit it with the training data; pass evaluation data to enable early stopping.
Call the fitted model on training and evaluation features, then calculate mean absolute error against each target set.
Expected outcome
A fitted regression model, predictions for both data splits and example evaluation using mean absolute error.
Guide limitations
- The tutorial uses the Boston Housing dataset from MLDatasets.
- The guide documents a regression workflow and does not describe deployment.
Prepare and fit a Titanic classification model
Prepare the Titanic table and fit a logistic-loss boosted-tree model, then inspect predictions and feature importance.
Before you start
- Julia
- EvoTrees, MLDatasets, DataFrames, Statistics, CategoricalArrays and Random
- The Titanic dataset from MLDatasets
Steps
Load the Titanic dataset and convert the string-valued Sex feature to categorical data.
Create a Boolean indicator for missing Age values, impute missing ages with the median, and remove the tutorial's unused columns.
Split the rows into training and evaluation sets, and identify the target and feature columns.
Configure EvoTreeRegressor with log-loss and fit using the training and evaluation tables.
Predict on both sets and inspect feature importance with EvoTrees.importance.
Expected outcome
A fitted model with predictions for the two data splits and a feature-importance listing.
Guide limitations
- The tutorial presents one Titanic classification example; its reported accuracy is specific to that example.
- It does not describe deployment.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 20 November 2026

