Data Science: An Implementation of the AdaBoost Algorithm.

applied.math.coding
5 min readJun 12, 2023

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).

An Introduction into Rust

14 stories

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).

--

--

applied.math.coding

I am a Software Developer - Java, Rust, SQL, TypeScript - with strong interest doing research in pure and applied Mathematics.