4_モデルと最適化アルゴリズムの設定
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン | 次のリビジョン両方とも次のリビジョン | ||
4_モデルと最適化アルゴリズムの設定 [2017/11/07] – [1. お約束の3行を入力] adash333 | 4_モデルと最適化アルゴリズムの設定 [2017/11/07] – [L.Classifier()] adash333 | ||
---|---|---|---|
行 75: | 行 75: | ||
<iframe style=" | <iframe style=" | ||
</ | </ | ||
- | |||
- | ==== 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_モデルと最適化アルゴリズムの設定.txt · 最終更新: 2018/10/07 by 127.0.0.1