Machine Learning

From Leo's Notes
Revision as of 23:18, 2 September 2017 by Leo (talk | contribs) (Created page with " == Introduction == Machine learning algorithms is an umbrella term that covers a range of generic algorithms which falls into two main categories: supervised learning and uns...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This page was last edited on 2 September 2017, at 23:18.

Introduction

Machine learning algorithms is an umbrella term that covers a range of generic algorithms which falls into two main categories: supervised learning and unsupervised learning.

Supervised learning means you know the solution to a problem and you make the computer determine an acceptable solution which can then be applied to any other problem of the same type.

Unsupervised learning is basically what data mining is: it attempts to look for hidden patterns in the data.

Multivariate Linear Regression

Multivariate linear regression is a 3 step algorithm that takes in a set of data (ie. the training data) with a solution and applies weights to a number of properties in order to get as close to the answer as possible.

The 3 steps are:

  1. For each parameter, set its weight to 1.0
  2. For every piece of data, see how far off the function using the given weights are off by. The average error amount is the cost of the function.
  3. Repeat step 2 with different weights to minimize the cost (ie. the error)

Step 3 requires picking new weights that reduces the cost. This can be done by something called a batch gradient descent which picks values that 'walks' down the gradient. Because of this, the data that can be handled with this approach has to be linear.


Other Topics


See Also