Self-paced

Explore our extensive collection of courses designed to help you master various subjects and skills. Whether you're a beginner or an advanced learner, there's something here for everyone.

Bootcamp

Learn live

Join us for our free workshops, webinars, and other events to learn more about our programs and get started on your journey to becoming a developer.

Upcoming live events

Learning library

For all the self-taught geeks out there, here is our content library with most of the learning materials we have produced throughout the years.

It makes sense to start learning by reading and watching videos about fundamentals and how things work.

Search from all Lessons

## Register to 4Geeks

β Back to Projects

# Boosting Algorithms Project Tutorial

Difficulty

• easy

Average duration

2 hrs

Technologies

• machine-learning

Difficulty

• easy

Average duration

2 hrs

Technologies

• machine-learning

• Use the data you have analyzed in the previous two projects.
• Continue with the development to find a model that fits better.

## π± How to start this project

Follow the instructions below:

1. Create a new repository based on machine learning project by clicking here.
2. Open the newly created repository in Codespace using the Codespace button extension.
3. Once the Codespace VSCode has finished opening, start your project by following the instructions below.

## π How to deliver this project

Once you have finished solving the exercises, be sure to commit your changes, push to your repository and go to 4Geeks.com to upload the repository link.

## π Instructions

### Predicting diabetes

In the two previous projects we saw how we could use a decision tree and then a random forest to improve the prediction of diabetes. We have reached a point where we need to improve. Can boosting be the best alternative to optimize the results?

Boosting is a sequential composition of models (usually decision trees) in which the new model aims to correct the errors of the previous one. This view may be useful in this data set, since several of the assumptions studied in the module are met.

In this project you will focus on this idea by training the dataset to improve the $accuracy$.

Remember that previous projects can be found here (decision trees) and here (random forest).

Loads the processed dataset from the previous project (split into training and test samples and analyzed with EDA).

#### Step 2: Build a boosting

One way to optimize and improve the results is to generate a boosting so that there is the necessary variety to enrich the prediction. Train it and analyze its results. Try modifying the hyperparameters that define the model with different values and analyze their impact on the final accuracy and plot the conclusions.

#### Step 3: Save the model

Store the model in the corresponding folder.

#### Step 4: Analyze and compare model results

Make a study now of the three models used, analyze their predictions, the class with the highest prediction accuracy and the one with the lowest. Which of the three models do you choose?

## Signup and get access to similar projects

We will use it to give you access to your account.

Difficulty

• easy

Average duration

2 hrs

Technologies

• machine-learning

Difficulty

• easy

Average duration

2 hrs

Technologies

• machine-learning

Difficulty

• easy

Average duration

2 hrs

Technologies

• machine-learning

Difficulty

• easy

Average duration

2 hrs

Technologies

• machine-learning

## Signup and get access to similar projects

We will use it to give you access to your account.

Difficulty

• easy

Average duration

2 hrs

Technologies

• machine-learning

Difficulty

• easy

Average duration

2 hrs

Technologies

• machine-learning