Applied Data Science and Visualization (201900027)
All documents for this subject (1)
Seller
Follow
notermanslode
Content preview
Applied Data Science and Visualization 2020
Summary by Lode Notermans
Lecture 1
Different kinds of data analysis
Explorative data analysis (EDA)
Unsupervised learning
Supervised learning
Trade-off between prediction accuracy and model interpretability
Measuring the quality of fit
Bias Variance trade-off
Lecture 2
Grammar of graphics
Colors are perceived relatively
Lecture 3
Cross validation
Leave-one-out cross-validation (LOOCV)
k-fold Cross validation
Somewhat higher bias than LOOCV due to smaller training set for each iteration
(but smaller bias than Validation-set method due to larger training set than VS.)
Bias-Variance Trade-Off for k-Fold Cross-Validation
Using CV for classification problems
Lecture 4
Model Selection and Regularization
Subset selection
Forward stepwise selection
Backward stepwise selection
Penalized (regularized) regression
Ridge regression
Lasso regression
Lasso versus ridge regression, which method is better?
Selecting the best λ
Lecture 5
k-Nearest neighbors
Logistic regression
Interpretation of logistic regression
Evaluation of classifiers
Confusion matrix
ROC curve
,Lecture 6
Polynomial regression
Step functions
Splines
Natural splines
Choosing K (number of knots) and placement
Smoothing splines
Local regression
Multiple predictors: Generalized additive models
Conclusions
Lecture 7
What is a Shiny app?
Building basic UI
Reactivity
Final remarks on shiny
Inputs, but no outputs. Try to learn
structure and relationships from
these data, like detecting
unobserved groups (clusters) from
the data.
Assumptions about structural properties of the data
Dimension reduction methods
, ● Principal components analysis
● Factor analysis
● Random projections
Clustering
● K-means clustering
Supervised learning
Building a statistical model for predicting /
estimating an output based on one or more
inputs.
Most widely used machine-learning methods
are supervised
● Spam classifiers of e-mail
● Face recognizers over images
● Medical diagnosis systems for patients
Methods include
● (logistic) Regression
● Decision trees/random forests
● Support vector machines
● Neural networks
Classification Regression
Classification: predict to which category an Regression: predict a quantitative outcome
observation belongs (qualitative outcomes)
Trade-off between prediction accuracy and model interpretability
If the researcher is mainly interested in inference, a
more restrictive model is more useful, but when the
researcher is interested in prediction a more loose
model is more useful. While one might argue that a
more flexible model is always better, flexible models
lead to such complicated estimates of f that it is
difficult to understand how any individual predictor is
associated with the response. So a trade-off between
flexibility and interpretability has to be found. Because
The benefits of buying summaries with Stuvia:
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
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
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 notermanslode. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $5.07. You're not tied to anything after your purchase.