Language Identification (and a brief intro to ML)winston/mnlp/slides/04 ML and Language...

17

Transcript of Language Identification (and a brief intro to ML)winston/mnlp/slides/04 ML and Language...

  • 冇問題,我可以去

    •• 冇• 問題

  • ••

  • ••

  • ••

    ••

    ••

    • function is_it_spam(email)return false

    end

  • • NNNNN NNN SS

    • NNNNN SSS SN

    ••

    ••

  • 冇問題,我可以去

    ••

  • ••

    ෑ𝑥𝑖 = exp ln(𝑥𝑖)

    0.3 ∗ 0.4 = 𝑒ln 0.3 +ln 0.4 = 0.12

  • function normalize(seq)

    total = sum(seq)

    return seq ./ total

    end

    function normalize(seq)

    denom = sum(exp.(seq))

    return exp.(seq) ./ denom

    end

    𝑥𝑖σ𝑖 𝑥𝑖

    𝑒𝑥𝑖

    σ𝑖 𝑒𝑥𝑖