### Learn the underpinning os many supervised learning algorithms, and develop rich python coding practices in the process.
*Supervised learning—help teach a machine to think for itself!*
## Overview
These days machine learning is everywhere, and it’s here to stay. Understanding the core principles that drive how a machine “learns” is a critical skill for any would-be practitioner or consumer alike. This course will introduce you to supervised machine learning, guiding you through the implementation and nuances of many popular machine learning algorithms while facilitating a deep understanding along the way.
In this course, we’ll cover parametric models such as linear and logistic regression, non-parametric methods such as decision trees & various clustering techniques, and we’ll wrap up with a brief foray into neural networks.
This video course highlights clean coding techniques, object-oriented class design, and general best practices in machine learning
## Target audience
This course is designed for those who would like to understand supervised machine learning algorithms at a deeper level. If you’re interested in understanding how and why an algorithm works rather than simply how to call its API, this course might be for you. Intermediate Python knowledge and at least an intermediate understanding of mathematical concepts is assumed. While notions in this course will be broken down into bits as granular as absolutely possible, terms and ideas such as “matrix transposition,” “gradient,” “dot product,” and “time complexity” are assumed to be understood without further explanation.
## What you will learn
* Understand the fundamental and theoretical differences between parametric and non-parametric models, and why you might opt for one over the other.
* Discover how a machine can learn a concept and generalize its understanding to new data
* Implement and grok several well-known supervised learning algorithms from scratch; build out your github portfolio and show off what you’re capable of!
* Learn about model families like recommender systems, which are immediately applicable in domains such as ecommerce and marketing.
* Become a much stronger python developer
### Project layout
All **[source code](packtml/)** is within the `packtml` folder, which serves as the python
package for this course. Within the [examples](examples/) directory, you'll find a
number of short Python scripts that serve to demonstrate how various classes in the `packtml`
submodules work. Each respective folder inside the `examples/` directory corresponds to a
submodule inside of the `packtml` python package.
### Getting started
To get your environment set up, make sure you have Anaconda installed and on your path.
Then simply run the following:
```bash
$ conda env create -f environment.yml
```
To activate your environment in a Unix environment:
```bash
$ source activate packt-sml
```
In a Windows environment:
```
activate packt-sml
```
### Set up the python package (in your activated environment):
```bash
(packt-sml) $ python setup.py install
```
## What you'll learn
In this course and within this package, you'll learn to implement a number of
commonly-used supervised learning algorithms, and when best to use one type of
model over another. Below you'll find in-action examples of the various algorithms
we implement within this package.
### Regression
The classic introduction to machine learning, not only will we learn about linear regression,
we'll code one from scratch so you really understand what's happening
[under the hood](packtml/regression/simple_regression.py). Then we'll
[apply one in practice](examples/regression/example_linear_regression.py) so you can see