
Gain understanding of supervised machine learning in Python, from theory to practical modeling with Naive Bayes, k-nearest neighbors, decision trees, random forests, support vector machines, and ridge and lasso regression.
Take a tour of the Jupyter dashboard, managing files and folders, uploading notebooks, and opening items. Use the interactive shell to write code and view output with IPython notebook formats.
Master the Jupyter dashboard by using code and markdown cells, executing with Ctrl+Enter or Shift+Enter, and leveraging keyboard shortcuts to edit, move, and navigate input and output fields.
Install and verify the key data science packages for the bootcamp, including NumPy, Pandas, Matplotlib, Seaborn, glob, and scikit-learn, using conda or pip for data manipulation and visualization.
Explore how naive Bayes probabilities update beliefs with new knowledge through a thought experiment using red and blue balls, illustrating Bayes' theorem.
Learn how the count vector riser tokenizes strings, builds a vocabulary of tokens, and uses fit and transform to produce a sparse matrix of word frequencies.
Explore how accuracy, precision, recall, and the F1 score quantify classifier performance using a confusion matrix and classification report for ham versus spam.
Explore distance metrics in two dimensions using the Minkowski framework, including Manhattan distance and Euclidean distance. Generalize to higher dimensions, connect to the Pythagorean theorem, and preview CNN applications.
Generate a random dataset using make_blobs or make_classification and create inputs with two features and a target. Assemble them into a Pandas data frame for analysis and future visualization.
Visualize a random dataset by scatterplots with hue by class, customize colors and markers, and ensure reproducibility to prepare for a subsequent classification algorithm.
Explore how different k values shape decision regions in a k-nearest neighbors classifier. A single neighbor yields volatile boundaries and overfitting; higher k smooths boundaries but increases bias.
Apply k-nearest neighbors regression to a generated linear dataset, visualize data with matplotlib and seaborn, and predict y from x using 1–4 neighbors, illustrating the averaging mechanism.
Explore the pros and cons of k-nearest neighbors for classification and regression, including distance-based predictions, non-parametric nature, and training, with notes on the curse of dimensionality, dataset size, and standardization.
Explore decision trees, from building blocks like root, nodes, and leaves to pruning techniques, with Python and Esk Learn, and see how they contrast with random forests.
Explore decision trees, a versatile flowchart-like data structure used across operations, research, and decision analysis to reach decisions through yes/no questions, with nodes, branches, and leaf outcomes.
See how well crafted decision trees become machine learning models through supervised training on data, using features, questions, and depth to enable classification and regression with ID3, C4.5, CART.
Discover how decision trees use splits evaluated by Gini impurity and information gain, based on class distributions and misclassification risk. Learn why minimizing impurity and balanced data matter for splits.
Learn to implement a random forest in Python using the glass dataset, including data prep, train-test split, model training, and evaluating with precision, recall, and accuracy.
Discover how support vector machines find the maximal margin hyperplane to separate fraudulent versus non-fraudulent transactions, using support vectors and hard or soft margin concepts.
Code a Python-based support vector classifier on the mushroom dataset to predict poisonous or edible mushrooms, loading with pandas and encoding categorical features, with grid-search cross-validation and a confusion matrix.
Encode categorical features with label and ordinal encoders for x and y, then scale inputs to -1 to 1 with a minimax scaler before training a support vector classifier.
Implement a linear support vector machine to classify data by fitting on training data, with C=1. Apply it to test data scaled to -1 to 1 and preview metrics.
Analyze a linear support vector classifier using a confusion matrix with edible and poisonous labels, and evaluate precision, recall, and F1 to improve poisonous mushroom recall through cross-validation.
Optimize a support vector classifier by tuning kernels, C values, and gamma through cross-validation and grid search to reduce misclassifications and improve model performance.
Explore exploratory data analysis, assess salary distribution and correlations with player statistics, visualize feature relationships with a heat map, and learn how ridge and lasso regularization handles correlated features.
Replace missing salary values in the hitter dataframe by using ridge regression to predict and fill the gaps. Scale predictors, generate predictions, and update the dataframe with the estimated salaries.
Do you want to master supervised machine learning and land a job as a machine learning engineer or data scientist?
This Supervised Machine Learning course is designed to equip you with the essential tools to tackle real-world challenges. You'll dive into powerful algorithms like Naïve Bayes, KNNs, Support Vector Machines, Decision Trees, Random Forests, and Ridge and Lasso Regression—skills every top-tier data professional needs.
By the end of this course, you'll not only understand the theory behind these six algorithms, but also gain hands-on experience through practical case studies using Python’s sci-kit learn library. Whether you're looking to break into the industry or level up your expertise, this course gives you the knowledge and confidence to stand out in the field.
First, we cover naïve Bayes – a powerful technique based on Bayesian statistics. Its strong point is that it’s great at performing tasks in real-time. Some of the most common use cases are filtering spam e-mails, flagging inappropriate comments on social media, or performing sentiment analysis. In the course, we have a practical example of how exactly that works, so stay tuned!
Next up is K-nearest-neighbors – one of the most widely used machine learning algorithms. Why is that? Because of its simplicity when using distance-based metrics to make accurate predictions.
We’ll follow up with decision tree algorithms, which will serve as the basis for our next topic – namely random forests. They are powerful ensemble learners, capable of harnessing the power of multiple decision trees to make accurate predictions.
After that, we’ll meet Support Vector Machines – classification and regression models, capable of utilizing different kernels to solve a wide variety of problems. In the practical part of this section, we’ll build a model for classifying mushrooms as either poisonous or edible. Exciting!
Finally, you’ll learn about Ridge and Lasso Regression – they are regularization algorithms that improve the linear regression mechanism by limiting the power of individual features and preventing overfitting. We’ll go over the differences and similarities, as well as the pros and cons of both regression techniques.
Each section of this course is organized in a uniform way for an optimal learning experience:
- We start with the fundamental theory for each algorithm. To enhance your understanding of the topic, we’ll walk you through a theoretical case, as well as introduce mathematical formulas behind the algorithm.
- Then, we move on to building a model in order to solve a practical problem with it. This is done using Python’s famous sklearn library.
- We analyze the performance of our models with the aid of metrics such as accuracy, precision, recall, and the F1 score.
- We also study various techniques such as grid search and cross-validation to improve the model’s performance.
To top it all off, we have a range of complementary exercises and quizzes, so that you can enhance your skill set. Not only that, but we also offer comprehensive course materials to guide you through the course, which you can consult at any time.
The lessons have been created in 365’s unique teaching style many of you are familiar with. We aim to deliver complex topics in an easy-to-understand way, focusing on practical application and visual learning.
With the power of animations, quiz questions, exercises, and well-crafted course notes, the Supervised Machine Learning course will fulfill all your learning needs.
If you want to take your data science skills to the next level and add in-demand tools to your resume, this course is the perfect choice for you.
Click ‘Buy this course’ to continue your data science journey today!