concepts
- forward and backward propagation
- vanishing gradient
- image convolution operation
- feature map, filter/kernel
- receptive field
- embedding
- translation invariance
#!/bin/bash | |
# Script for installing Fish Shell on systems without root access. | |
# Fish Shell will be installed in $HOME/.local | |
# It's assumed that wget and following packages is installed (https://github.com/fish-shell/fish-shell#dependencies-1) | |
# 1. a C++11 compiler (g++ 4.8 or later, or clang 3.3 or later) | |
# 2. CMake (version 3.5 or later) | |
# exit on error | |
set -e |
echo '[Unit] | |
Description=High-performance, schema-free document-oriented database | |
After=syslog.target network.target | |
[Service] | |
User=mongodb | |
Group=mongodb | |
ExecStart=/usr/bin/mongod -f /etc/mongod.conf | |
[Install] |
# /config/puma.rb | |
app = "manabalss" # App-specific | |
root = "/home/deployer/apps/#{app}" | |
workers 5 | |
threads 1, 1 # relying on many workers for thread-unsafe apps | |
rackup DefaultRackup | |
port 11592 |
# Borrowed from https://github.com/y310/rspec-retry/blob/master/lib/rspec/retry.rb | |
CAPYBARA_TIMEOUT_RETRIES = 3 | |
RSpec.configure do |config| | |
config.around(:each, type: :feature) do |ex| | |
example = RSpec.current_example | |
CAPYBARA_TIMEOUT_RETRIES.times do |i| | |
example.instance_variable_set('@exception', nil) | |
self.instance_variable_set('@__memoized', nil) # clear let variables |
$ bundle install | |
: | |
Using spork-rails (3.2.1) from git://github.com/railstutorial/spork-rails.git (at rails-4) | |
: | |
$ bundle exec spork --bootstrap | |
/usr/local/bin/spork:23:in `load': cannot load such file -- /var/lib/gems/1.9.1/gems/spork-1.0.0rc3/bin/spork (LoadError) | |
from /usr/local/bin/spork:23:in `<main>' | |
$ ls -l /var/lib/gems/1.9.1/gems/spork-1.0.0rc3/bin/spork | |
-rwx--x--x 1 root root 460 Apr 6 15:32 /var/lib/gems/1.9.1/gems/spork-1.0.0rc3/bin/spork | |
$ sudo chmod a+r /var/lib/gems/1.9.1/gems/spork-1.0.0rc3/bin/spork |
#!/usr/bin/env bash | |
# bash 4.1.5(1) Linux Ubuntu 10.04 Date : 2019-01-02 | |
# | |
# _______________| noise : ambient Brown noise generator (cf. white noise). | |
# | |
# Usage: noise [minutes=59] [band-pass freq center=1786] [wave] | |
# ^minutes can be any positive integer. | |
# Command "noise 1" will display peak-level meter. | |
# | |
# Dependencies: play (from sox package) |