Syntax | Options | Use |
---|---|---|
whoami |
||
pwd |
-LP |
|
mkdir |
-pv |
|
touch |
create blank files | |
ls |
create blank files | |
nano/pico |
simple text editor for terminal | |
cat/less/more |
This file has been truncated, but you can view the full file.
This file contains 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
{ | |
"cells": [ | |
{ | |
"cell_type": "code", | |
"execution_count": 1, | |
"metadata": { | |
"collapsed": false | |
}, | |
"outputs": [ | |
{ |
This file contains 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
# date features | |
# day of week | |
# day of month | |
# day of year | |
# week of month | |
# week of year | |
# month of quarter | |
# month of year | |
# quarter of year | |
# half of year |
- Docker Engine contains
- A long running server (Daemon process)
- REST API to interact with daemon
- A command line interface client for using REST commands (Docker Client)
- Daemon creates/manages Docker objects (images, containers, networks, data)
- Daemon and Docker Client can be on same machine or different machines.
This file contains 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
# change prefix | |
unbind C-b | |
set-option -g prefix C-a | |
# Allow C-A to send C-A to application | |
bind-key C-a send-prefix | |
# split panes using | and - | |
bind | split-window -h | |
bind - split-window -v |
This file contains 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
library(xgboost) # 0.4-3 | |
library(dplyr) # 0.5.0 | |
########################################################################### | |
# traintarget = feature set dataframe with N rows and M features | |
# traintarget = target dataframe with N rows and 20 target columns with real values in [0,1] | |
# example of params = list(booster='gbtree', objective='reg:logistic', eta=0.1, subsample=0.7, colsample_bytree=0.7, max_depth=4, max_delta_step = 3, verbose=1,silent=1,nthread=10) | |
xgb1.cv <- function(params = list(), traindata, traintarget, folds = list(), nrounds= 10, prediction=F, early_stopping_rounds=NULL){ |
Docker can be easily intalled by following the instructions on the official website.
NewerOlder