Data Science: An Implementation of the AdaBoost Algorithm.
This story is part of my Data Science series.
In my previous story I have given a quick overview of the AdaBoost algorithm and its theory (see here). In this account we will look at an implementation of this algorithm in Rust (educational purposes only).
Implementation:
The data we are looking at are from here. They are mainly intended as a classification problem with binary outcome.
For the purpose of this article it doesn’t mind of how these data are loaded into the application. We just assume they are pulled by the following method:
fn fetch_data(data_type: DataType) -> Vec<Vec<f64>>;
where the data_type
describes what data to fetch (training samples or test data).