[学习笔记]用and、or、not感知机构造xor感知机

a^b
=(a!=b)
=(a|b) & !(a&b)
即a和b至少一个为1,且a和b不全为1。

这样就将xor转化为and,or,not的组合了。

感知机图示:
image.png

评论

暂无评论