chainerのバージョンを1.6.1へあげてみたので、TutorialをやりながらXORの学習を行うMulti-layer Perceptronを書いてみました。 初期値(L.LinearのWがランダム)に依って局所解に落っこちやすいみたいで、損失が十分に小さくなってくれないことが多いです。。。 コード #encoding: utf-8 # # Copyright (c) 2016 chainer_nlp_man # # This software is released under the MIT License. # http://opensource.org/licenses/mit-license.php # import numpy as np import chainer from chainer import cuda, Function, gradient_check,

