search
Search
Login
Unlock 100+ guides
menu
menu
web
search toc
close
Comments
Log in or sign up
Cancel
Post
account_circle
Profile
exit_to_app
Sign out
What does this mean?
Why is this true?
Give me some examples!
search
keyboard_voice
close
Searching Tips
Search for a recipe:
"Creating a table in MySQL"
Search for an API documentation: "@append"
Search for code: "!dataframe"
Apply a tag filter: "#python"
Useful Shortcuts
/ to open search panel
Esc to close search panel
to navigate between search results
d to clear all current filters
Enter to expand content preview
icon_star
Doc Search
icon_star
Code Search Beta
SORRY NOTHING FOUND!
mic
Start speaking...
Voice search is only supported in Safari and Chrome.
Navigate to

Comprehensive Guides on Machine Learning

schedule Aug 12, 2023
Last updated
local_offer
Machine Learning
Tags
mode_heat
Master the mathematics behind data science with 100+ top-tier guides
Start your free 7-days trial now!

What is this series about?

Welcome to our comprehensive machine learning series 👋! The goal of this series is to give you a deeper and intuitive understanding of important concepts in machine learning. Our guides are filled with simple but insightful examples, which is a style of teaching we strongly believe in.

We aim to publish a new guide per week, and we also routinely improve our existing guides with more examples and sections.

mail
Join our newsletter for updates on new DS/ML comprehensive guides (spam-free)
memory

Machine learning models

Machine learning (ML) models are algorithms that learn from data to achieve tasks such as predictions, classification and pattern recognition. Although ML models can easily be implemented using libraries such as scikit-learn, we recommend that you take the time to understand the underlying mathematics so that you understand each model's strengths and weaknesses.

settings_suggest

Feature engineering

Data in the real world is messy and must be cleaned before model training. No matter how advanced a model is, training with low-quality data will always yield low-quality output. Feature engineering is about transforming the features to not only align their format to what the model expects, but also to improve the performance and training speed of the model.

trending_down

Optimization

Most ML models work by minimizing a particular cost function, which is simply a mathematical expression that represents how poor a model is performing. In fact, the "learning" in "machine learning" is nothing more than minimizing the cost function through some optimizer such as gradient descent.

assignment_turned_in

Evaluating machine learning models

Once we build a ML model, we must evaluate its performance to check whether it aligns with our expectations. The evaluation metric depends on the nature of our task (e.g. classification or regression). We can also compare the performance of different ML models, and keep the best-performing model.

grade

PySpark

Spark is an open-source computing framework designed to handle big data. The basic idea is to split up the data into smaller partitions, and place them on multiple machines to facilitate parallel computing. PySpark is a wrapper language for Spark that allows us to interact with the framework using Python.

robocat
Published by Isshin Inada
Edited by 0 others
Did you find this page useful?
thumb_up
thumb_down
Comment
Citation
Ask a question or leave a feedback...
thumb_up
21
thumb_down
0
chat_bubble_outline
0
settings
Enjoy our search
Hit / to insta-search docs and recipes!