我是靠谱客的博主 虚心唇膏,最近开发中收集的这篇文章主要介绍deep learning XOR(exclusive OR),觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

深度学习解决线性模型不能解决的异或问题,原理如下:

array    x=$$ left[ begin{matrix} 0 & 0 \ 0& 1 \ 1 & 0\1&1 end{matrix} right] tag{3} $$,        weight1   W=$$ left[ begin{matrix}1 & 1\1&1 end{matrix} right] tag{3} $$,   bias    b=$$ left[ begin{matrix}0\-1 end{matrix} right] tag{3} $$,  weight2    w=$$ left[ begin{matrix}1\-2end{matrix} right] tag{3} $$

 

y=xW+b=$$ left[ begin{matrix} 0 & -1 \ 1& 0 \ 1 & 0\2&1 end{matrix} right] tag{3} $$,    relu(y)=$$ left[ begin{matrix} 0 & 0 \ 1& 0 \ 1 & 0\2&1 end{matrix} right] tag{3} $$,    relu(y)w=$$ left[ begin{matrix} 0 \ 1 \ 1\0 end{matrix} right] tag{3} $$

 

x=$$ left[ begin{matrix} 0 & 0 \ 0& 1 \ 1 & 0\1&1 end{matrix} right] tag{3} $$ --->$$ left[ begin{matrix} 0 \ 1 \ 1\0 end{matrix} right] tag{3} $$   

 

 

 

 

 

最后

以上就是虚心唇膏为你收集整理的deep learning XOR(exclusive OR)的全部内容,希望文章能够帮你解决deep learning XOR(exclusive OR)所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(94)

评论列表共有 0 条评论

立即
投稿
返回
顶部