美文网首页
【机器学习】-Week4.4 Examples and Intu

【机器学习】-Week4.4 Examples and Intu

作者: Kitty_风花 | 来源:发表于2019-12-29 09:56 被阅读0次

    Examples and Intuitions II

    The Θ(1) matrices for AND, NOR(Not x1 and Not x2), and OR are:

    We can combine these to get the XNOR logical operator (which gives 1 if x_1 and x_2 are both 0 or both 1).

    For the transition between the first and second layer, we'll use a Θ(1) matrix that combines the values for AND and NOR:

    For the transition between the second and third layer, we'll use a Θ(2) matrix that uses the value for OR:

    Let's write out the values for all our nodes:

    And there we have the XNOR operator using a hidden layer with two nodes! The following summarizes the above algorithm:


    来源:coursera 斯坦福 吴恩达 机器学习

    相关文章

      网友评论

          本文标题:【机器学习】-Week4.4 Examples and Intu

          本文链接:https://www.haomeiwen.com/subject/wgcmyctx.html