100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Samenvatting An Introduction to Statistical Learning: Uitbreiding £4.12
Add to cart

Summary

Samenvatting An Introduction to Statistical Learning: Uitbreiding

 10 views  0 purchase
  • Module
  • Institution
  • Book

ISBN: 1370 Big Data Analysis (7204MM17XY): Uitbreiding. H8 t/m 14

Preview 2 out of 7  pages

  • No
  • Unknown
  • June 24, 2022
  • 7
  • 2020/2021
  • Summary
avatar-seller
Bagging with qualitative
Majority vote: most commonly occurring among the predictions

Although the collection of bagged trees is much more difficult to interpret than a single tree, one can
obtain an overall summary of the importance of each predictor using the RSS (for bagging regression
trees) or the Gini index (for bagging classification trees).

Random Forests
As in bagging, we build trees based on bootstrap
improvement over bagged trees by decorrelating the trees. Each time a split is considered, a random
sample of M predictors is chosen as split candidates from the full set of predictors.
(mostly it’s sqrt(p))

Boosting (check video)
Boosting work sequentially. Each tree is grown using info from previously grown trees.
Does not use bootstrap but each tree is fit on a modified version of the original data set
Slowly improve F in areas where it does not perform well.

3 tuning parameters

- Number of trees B, can overfit is B is too large
- Shrinkage parameter lambda
- Number d of splits in each tree.


Chapter 9
Support Vector Machines
Hyperplane is in dimensions p-1

We can use f(x) to decide in which class an observation is and we can use the magnitude to see how
far it lies from the hyperplane.

Maximal margin classifier hyperplane
(=optimal separating hyperplane)

Smallest distance from a point to the hyperplane is called the margin. Maximal margin classifier takes
the hyperplane that maximizes the distance.
Can lead to overfitting when p is large

Support vectors




Picture shows 3 support vectors
If these moved slightly, the hyperplane would change

Dotted line is the margin

, Non-separable case
Using so called soft-margins, we can develop a hyperplane the almost separates the classes, this
generalization is called the support vector classifier

Support vector classifier
• Greater robustness to individual observations
• Better classification of most of the training observations.

We allow some observations to be on the wrong side of the margin or hyperplane
slack variables allow observations to be on the wrong side

Has a budget (C) that gives an amount that the margin can be violated
Generally chosen via CV

Only observations that lie directly on the margin or on the wrong side of the margin are support
vectors. These observations affect the support vector classifier.

If C is small: fewer support vector, low bias, high variance

Support vector Machines
if the relationship is non-linear we can use cubic or polynomial functions

Support vector machines is an extension of the support vector classifier that results from enlarging
the feature space in a specific way, using Kernels

A kernel is a function that quantifies the similarity of two observations.




Linear kernel




polynomial kernel




Radial kernel
(very local behaviour)

SVMs with more than 2 classes
One-versus-one classification
comparing one of the K classes to the remaining K - 1 classes.

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller Jonnez. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for £4.12. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

52355 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy revision notes and other study material for 14 years now

Start selling
£4.12
  • (0)
Add to cart
Added