Garantie de satisfaction à 100% Disponible immédiatement après paiement En ligne et en PDF Tu n'es attaché à rien 4,6 TrustPilot
logo-home
Notes de cours

Complete WEEK3 note: Machine Learning & Learning Algorithms(BM05BAM)

Note
-
Vendu
-
Pages
13
Publié le
12-03-2024
Écrit en
2023/2024

THIS IS A COMPLETE NOTE FROM ALL BOOKS + LECTURE! Save your time for internships, other courses by studying over this note! Are you a 1st/2nd year of Business Analytics Management student at RSM, who want to survive the block 2 Machine Learning module? Are you overwhelmed with 30 pages of reading every week with brand-new terms and formulas? If you are lost in where to start or if you are struggling to keep up due to the other courses, or if you are just willing to learn about Machine Learning, I got you covered. I successfully passed the course Machine Learning & Learning Algorithms at RSM with 7.6, WITHOUT A TECHNICAL BACKGROUND before this Master. So if you are from Non-tech bachelor program, this note will navigate the knowledge you should focus on to pass the exam and successfully complete assignments, and for people with some machine learning knowledge, this note will certainly make your life easier and gets you a booster to your grade.

Montrer plus Lire moins
Établissement
Cours









Oups ! Impossible de charger votre document. Réessayez ou contactez le support.

Livre connecté

École, étude et sujet

Établissement
Cours
Cours

Infos sur le Document

Publié le
12 mars 2024
Nombre de pages
13
Écrit en
2023/2024
Type
Notes de cours
Professeur(s)
Jason roos
Contient
Toutes les classes

Sujets

Aperçu du contenu

4.4.2: Linear Discriminant analysis for p>1
Positive class: the one we care most about predicting

Two types of prediction in prediction
1. Soft prediction : phat = Pr(in pos.class) : expected value between 0 and 1.
a. Soft prediction is more fundamental: hard prediction is done from the
result of soft prediction.
2. Hard prediction: a particular class predicted by comparing the soft prediction phat
to a threshold value
a. hard prediction heavily depends on the decision threshold

Classification metrics
Binary classifier’s error types
1. False positive (e.g., individual who does not defaults to the default)
2. False negative (e.g., individual who defaults to the no default)

Confusion matrix address the interest of displaying the information of which of these
two types of errors are made.
Despite that the overall accuracy might be satisfactory, individual error for FP/FN could
be unacceptably high.

Statistics that reflects the precision and recall :
F1 : harmonic mean of precision and recall
FM : geometric mean of precision and recall.
They both ignore true negatives. : if there is class imbalance, they depend on the positive
cases, so might perform worse in some cases.

Alternatives: correlation coefficients
Correlation between true and predicted class :


Correlation does not explicitly measure prediction accuracy. It only captures
the strength and direction of a linear relationship.

Cohen’s K: 0 is hit when you expect that TN and TP are at the same rate as chance.

, Comparisons of the 4 metrics

Class-specific performance
Sensitivity /recall/TPR : Percentage of true positive that are predicted as positive.
Specificity / True negative rate: Percentage of true negatives that are predicted as
negative.
Precision/Positive predicted value : different from the first two. Proportion of the
positive classified items that are actually positive.

When they are used as pairs…
Precision + recall is useful when the focus is on the positive class
(they ignore TN) ; it does not directly assess predictions for the
negative class.
Recall + specificity treats both positives and negatives as important.

The Bayes classifier works by assigning an observation to the class for which the
posterior probability pk(X) is greatest
- In binary classifier, a value will be assigned to the positive class if
Pr(positive = yes |X=x) >0.5
- This threshold is adjustable.
o Tidymodel uses the default of 0.5 and it is hard to adjust the value
The Bayes classifier will yield the smallest possible total number of misclassified
observations, regardless of the class from which the errors stem.

Thresholds and class imbalance
There is a trade off between the TP and TN, and FP and FN, depends on the threshold
value for the confusion matrix.
By varying the decision threshold, we determine the elements of the confusion matrix.
- The lower the threshold, the more observations classified to the positive class.
€13,49
Accéder à l'intégralité du document:

Garantie de satisfaction à 100%
Disponible immédiatement après paiement
En ligne et en PDF
Tu n'es attaché à rien


Document également disponible en groupe

Faites connaissance avec le vendeur

Seller avatar
Les scores de réputation sont basés sur le nombre de documents qu'un vendeur a vendus contre paiement ainsi que sur les avis qu'il a reçu pour ces documents. Il y a trois niveaux: Bronze, Argent et Or. Plus la réputation est bonne, plus vous pouvez faire confiance sur la qualité du travail des vendeurs.
ArisMaya Erasmus Universiteit Rotterdam
S'abonner Vous devez être connecté afin de suivre les étudiants ou les cours
Vendu
49
Membre depuis
4 année
Nombre de followers
30
Documents
20
Dernière vente
2 mois de cela
Let's Pass Together!

4,0

1 revues

5
0
4
1
3
0
2
0
1
0

Récemment consulté par vous

Pourquoi les étudiants choisissent Stuvia

Créé par d'autres étudiants, vérifié par les avis

Une qualité sur laquelle compter : rédigé par des étudiants qui ont réussi et évalué par d'autres qui ont utilisé ce document.

Le document ne convient pas ? Choisis un autre document

Aucun souci ! Tu peux sélectionner directement un autre document qui correspond mieux à ce que tu cherches.

Paye comme tu veux, apprends aussitôt

Aucun abonnement, aucun engagement. Paye selon tes habitudes par carte de crédit et télécharge ton document PDF instantanément.

Student with book image

“Acheté, téléchargé et réussi. C'est aussi simple que ça.”

Alisha Student

Foire aux questions