The current API has 2 major problems:
- It doesn't follow ML code style conventions
- It only implements just enough of the C FFI, got get a proof-of-concept fit-predict pipeline working
- There is no idiomatic way to handle optional parameters or multiple validation sets.
The Code in booster.rs and dataset.rs should be rewritten to improve these points. Additionally, functionality extension should be easier, especially wrt. currently open Issues (#8, #6, #5, #3).
Guidelines to follow:
- Use builder pattern for Booster and Dataset
- Change function name to fit more in line with popular ML Frameworks like sk-learn
The current API has 2 major problems:
The Code in
booster.rsanddataset.rsshould be rewritten to improve these points. Additionally, functionality extension should be easier, especially wrt. currently open Issues (#8, #6, #5, #3).Guidelines to follow: