bayes Flashcards
name 3 problems with Bayesion / belief networks:
- The construction of the network is done manually
- The estimations of probability is not always easy without the data
- The product of probabilities leads to a propagation of errors in long chains.
what are bayesian networks / belief networks?
data structures that represent the dependencies among variables in a directed, acyclic graph, where every link represents a direct influence from the parent to the child node. The child node can then represent the conditional distribution for each parent values in a conditional probability table (CPT)
what 2 methods can be used to apply bayes’ on continuous data?
- Binning: divide the range of continuous data into a discrete number of bins, then apply the discrete method.
- Mixture of Gaussians: make an assumption regarding the PDF and derive the corresponding parameters.
what is bayes’ formula / rule
P(A|B) = (P(B | A)P(A))/P(B)
what does P(A|B) = P(A^B) / P(B) actually say?
the probability of A given B, is the probability that A and B appear at the same time, divided by the probability that B appears on its own (prior).
definition of posterior probabilities:
P(A|B) = P(A ^ B) / P(B)
Prior probabilities are
beliefs prior to arrival of any evidence. For example the probability that it is sunny outside.
Posterior or conditional probabilities are
the probability based on evidence, for example the probability that it is sunny outside, given that we’re in December.
name 3 problems with Bayesion / belief networks:
- The construction of the network is done manually
- The estimations of probability is not always easy without the data
- The product of probabilities leads to a propagation of errors in long chains.
what is p(X|C)
the conditional likelihood of the data given the class
p(C|X)
posterior: probability of the class after seeing the data
p(C)
probability of the class before seeing anything
p(X)
probability of the data
naive bayes assumptions
no pair of predicting features is dependent
each feature is given the same importance, contributing equally to the outcome