Matt Dancho (Business Science)
Matt Dancho (Business Science)

@mdancho84

6 tweets 6 reads Nov 15, 2023
How to make 100s of ML models in seconds.
Using this dead-simple 4-step machine learning framework.
A thread. 🧡
#DataScience #MachineLearning #Rstats
One of my favorite R packages is H2O.
I use it for Automatic Machine Learning.
Here's a quick example.
Step 1: Import libraries and data
Step 2: Run H2O AutoML
Note that I shortened the runtime to 45-seconds for this example.
But, it's better to run for at least 5 minutes to improve accuracy.
Step 3: Get the leaderboard.
This step is pretty slick.
The leaderboard ranks the top models produced by the H2O AutoML process.
Step 4: Shut down H2O
This step is easy to forget.
But it's important.
It will free up memory.
If you like this post, I have a full H2O tutorial coming on Sunday.
Join my R-Tips Newsletter to get it (Drops at 11AM EST): learn.business-science.io

Report this thread