4_モデルと最適化アルゴリズムの設定
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
4_モデルと最適化アルゴリズムの設定 [2017/11/07] – [L.Classifier()] adash333 | 4_モデルと最適化アルゴリズムの設定 [2018/10/07] (現在) – 外部編集 127.0.0.1 | ||
---|---|---|---|
行 58: | 行 58: | ||
次は、[[(5)学習と結果の出力(Chainer)]]に進んでください。 | 次は、[[(5)学習と結果の出力(Chainer)]]に進んでください。 | ||
+ | |||
+ | ===== L.Classifier() ===== | ||
+ | |||
+ | < | ||
+ | import chainer.links as L | ||
+ | |||
+ | # Network definition | ||
+ | class MLP(chainer.Chain): | ||
+ | # MLPモデルを定義 | ||
+ | |||
+ | model = L.Classifier(MLP(1000, | ||
+ | </ | ||
+ | |||
+ | A simple classifier model. | ||
+ | |||
+ | This is an example of chain that wraps another chain. It computes the loss and accuracy based on a given input/label pair. | ||
+ | だそう。 | ||
+ | |||
+ | https:// | ||
+ | |||
===== 参考文献 ===== | ===== 参考文献 ===== |
4_モデルと最適化アルゴリズムの設定.1510065373.txt.gz · 最終更新: 2018/10/07 (外部編集)