Troubleshooting¶
Common issues and their solutions.
Installation Issues¶
"Python version not supported"¶
Solution: Install Python 3.13 or higher.
"Module not found: mi_amore"¶
Solution: The mi-amore library is required. Reinstall Pilz:
Training Issues¶
Training takes too long¶
Symptoms: Training runs for hours without completing
Solutions:
-
Reduce n_dims:
-
Set calcs_per_dim:
-
Reduce max_eval_fit:
-
Reduce n_cat:
Out of memory¶
Symptoms: Process killed during training
Solutions:
- Reduce
max_eval_fit - Reduce
n_dims - Process data in batches
- Use smaller
n_cat
"No good split found"¶
Symptoms: Tree stops early with message "Best cut lands all in neutral"
Solutions:
- Increase
max_depth - Decrease
min_eval_fit - Try different
n_catvalues - Check data quality (missing values, outliers)
Data Issues¶
"Column not found"¶
Solution: Verify column names in DataCard match CSV headers exactly.
"Target values not found"¶
Solution: Check that target values in DataCard match actual values in CSV.
"Too many missing values"¶
Solution: Add missing_value to feature in DataCard:
Evaluation Issues¶
"Model not found"¶
Solution:
- Ensure training completed successfully
- Check that in_folders points to correct directory
ROC curve is empty¶
Symptoms: HTML file has no data points
Solution: - Check that test data has target column - Verify target values match training
Performance Issues¶
Slow inference¶
Solutions:
1. Use infer instead of eval (no metrics calculation)
2. Increase max_parallel_where to batch SQL
3. Pre-compute predictions and cache
Low accuracy¶
Solutions:
1. Try higher n_dims (feature combinations)
2. Increase n (more trees)
3. Increase max_depth
4. Adjust n_cat (try 3, 5, 8, 10)
5. Check for data quality issues
Getting Help¶
- Check the FAQ
- Review Best Practices
- Open an issue on GitLab