Results 1 to 6 of 6

Thread: Naive Bayes, Caret symbol..?

  1. #1
    Newbie
    Joined
    Apr 2017
    From
    94022
    Posts
    6

    Naive Bayes, Caret symbol..?

    Input X contains 3 categorical features— X1, X2, X3. The joint distribution becomes:

    P(X | Y) = P(X1 | Y) * P(X2 | X1, Y) * P(X3 | X1, X2, Y)


    P(x1 ^ x2 ^ x3 | y) = P(x1 | y) * P(x2 | y ^ x1) * P(x3 | y ^ x1 ^ x2)
    = P(x1 | y) * P(x2 | y ) * P(x3 | y ^ x2)

    1) What is the caret symbol above means
    2) How was the last equation derived from the one above?
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor

    Joined
    Apr 2005
    Posts
    18,867
    Thanks
    2709

    Re: Naive Bayes, Caret symbol..?

    In a situation like this, the "caret" symbol is "and". That is, the first, "P(X1^X2^X3|Y)", is "The probability that all three of X1, X2, and X3 are true given that Y is true" (or "that all three happen given that Y happens").

    The last equation follows from the first if and only if X1, X2, and X3 are independent.
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Newbie
    Joined
    Apr 2017
    From
    94022
    Posts
    6

    Re: Naive Bayes, Caret symbol..?

    Thanks - so if you writing it on paper, instead of the "caret" symbol, what do you write for "and"?

    Does P(x1 & x2 & x3 | y) work - or this P(x1 U x2 U x3 | y)?
    Last edited by silicon; Apr 17th 2017 at 10:30 AM.
    Follow Math Help Forum on Facebook and Google+

  4. #4
    MHF Contributor

    Joined
    Aug 2006
    Posts
    20,907
    Thanks
    2522
    Awards
    1

    Re: Naive Bayes, Caret symbol..?

    Quote Originally Posted by silicon View Post
    Thanks - so if you writing it on paper, instead of the "caret" symbol, what do you write for "and"?

    Does P(x1 & x2 & x3 | y) work - or this P(x1 U x2 U x3 | y)?
    If you type P(X_1\cap X_2\cap X_3|Y) between two dollar signs we get $P(X_1\cap X_2\cap X_3|Y)$.
    Follow Math Help Forum on Facebook and Google+

  5. #5
    Newbie
    Joined
    Apr 2017
    From
    94022
    Posts
    6

    Re: Naive Bayes, Caret symbol..?

    I could not reproduce what you say - you mean
    $P(X_1\cap X_2\cap X_3|Y)$
    I typed the above and previewed it but did not get it?
    Does the "cap" meant for upper case X?

    Does it only work on this forum or Word?
    Follow Math Help Forum on Facebook and Google+

  6. #6
    MHF Contributor

    Joined
    Aug 2006
    Posts
    20,907
    Thanks
    2522
    Awards
    1

    Re: Naive Bayes, Caret symbol..?

    Quote Originally Posted by silicon View Post
    I could not reproduce what you say - you mean
    $P(X_1\cap X_2\cap X_3|Y)$
    I typed the above and previewed it but did not get it?
    Does the "cap" meant for upper case X?

    Does it only work on this forum or Word?
    That is call LaTeX coding. It us used to type-set scientific publications.
    The cap and cup are used for $\cap~\&~\cup$, intersection(and) & union(or).

    $\mathcal{P}(X\cup Y)$ is read 'the probability of X or Y'.

    $\mathcal{P}(X\cap Y)$ is read 'the probability of X and Y'.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Replies: 0
    Last Post: Dec 13th 2012, 10:27 AM
  2. Naive Bayes shortened?
    Posted in the Statistics Forum
    Replies: 1
    Last Post: Nov 23rd 2011, 08:39 PM
  3. Naive set theory - show two sets are equal
    Posted in the Pre-Calculus Forum
    Replies: 4
    Last Post: Nov 10th 2010, 03:48 AM
  4. Inserting a caret in LaTeX
    Posted in the LaTeX Help Forum
    Replies: 2
    Last Post: Jan 18th 2010, 11:06 AM
  5. bayes - naive bayes and bayesian networks
    Posted in the Advanced Statistics Forum
    Replies: 0
    Last Post: Jan 8th 2008, 01:40 PM

/mathhelpforum @mathhelpforum