エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
記事へのコメント1件
- 注目コメント
- 新着コメント
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
RubyでTensorFlowを使う with PyCall - Qiita
require 'pycall/import' include PyCall::Import pyimport 'numpy', as: 'np' pyimport 'tensorflow', ... require 'pycall/import' include PyCall::Import pyimport 'numpy', as: 'np' pyimport 'tensorflow', as: 'tf' # Create 100 phony x, y data points in NumPy, y = x * 0.1 + 0.3 x_data = np.random.rand.(100).astype.(np.float32) y_data = x_data * 0.1 + 0.3 # Try to find values for W and b that compute y_data = W * x_data + b # (We know that W should be 0.1 and b 0.3, but Tensorflow will # figure that out f
2017/05/21 リンク