100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Summary

Samenvatting An Introduction to Statistical Learning: Uitbreiding

Rating
-
Sold
-
Pages
7
Uploaded on
24-06-2022
Written in
2020/2021

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

Institution
Course









Whoops! We can’t load your doc right now. Try again or contact support.

Connected book

Written for

Institution
Study
Course

Document information

Summarized whole book?
No
Which chapters are summarized?
Unknown
Uploaded on
June 24, 2022
Number of pages
7
Written in
2020/2021
Type
Summary

Subjects

Content preview

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.
$5.79
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
Jonnez
5.0
(1)

Get to know the seller

Seller avatar
Jonnez Arteveldehogeschool
Follow You need to be logged in order to follow users or courses
Sold
3
Member since
4 year
Number of followers
2
Documents
3
Last sold
4 months ago
Jonne Documenten

5.0

1 reviews

5
1
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions