Training a LightGBM in Rust calling Optuna and Botorch from Python to hyperparameter search.
-
Install Rust: (e.g.:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
). -
Install Python poetry (e.g.:
pip install poetry
). -
Check if you have the dependencies listed at https://github.com/Mottl/lightgbm3-rs/.
-
Run
poetry install && poetry run cargo run
.