我是靠谱客的博主 虚心唇膏,这篇文章主要介绍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内容请搜索靠谱客的其他文章。

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

评论列表共有 0 条评论

立即
投稿
返回
顶部