This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import chainer | |
| import chainer.functions as F | |
| import chainer.links as L | |
| from chainer import training | |
| from chainer.training import extensions | |
| # Network definition | |
| class CNN(chainer.Chain): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| Vagrant.configure(2) do |config| | |
| config.vm.define :node1 do |node| | |
| node.vm.box = "ubuntu1404" | |
| node.vm.network :forwarded_port, guest: 22, host: 2001, id: "ssh" | |
| node.vm.network :private_network, ip: "192.168.33.11" | |
| node.vm.provision :shell, path: "provision.sh" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| - hosts: target-servers | |
| vars: | |
| - anaconda_version: anaconda3-2.3.0 | |
| tasks: | |
| - name: install basic pkg | |
| apt: pkg={{item}} | |
| sudo: yes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import pandas as pd | |
| # csv 読み込み | |
| df = pd.read_csv('./tesedata.csv') |