Skip to content

Instantly share code, notes, and snippets.

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):
@hmj
hmj / Vagrantfile
Last active December 30, 2015 13:12
# -*- 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"
---
- hosts: target-servers
vars:
- anaconda_version: anaconda3-2.3.0
tasks:
- name: install basic pkg
apt: pkg={{item}}
sudo: yes
import pandas as pd
# csv 読み込み
df = pd.read_csv('./tesedata.csv')