Skip to content

Instantly share code, notes, and snippets.

View sufeidechabei's full-sized avatar
🐱
Always not lucky

Hao Zhang sufeidechabei

🐱
Always not lucky
View GitHub Profile
@sufeidechabei
sufeidechabei / adaboost.py
Created December 11, 2017 14:07 — forked from tristanwietsma/adaboost.py
AdaBoost Python implementation of the AdaBoost (Adaptive Boosting) classification algorithm.
from __future__ import division
from numpy import *
class AdaBoost:
def __init__(self, training_set):
self.training_set = training_set
self.N = len(self.training_set)
self.weights = ones(self.N)/self.N
self.RULES = []
@sufeidechabei
sufeidechabei / tmux-cheatsheet.markdown
Created July 27, 2018 03:00 — forked from ryerh/tmux-cheatsheet.markdown
Tmux 快捷键 & 速查表

Tmux 快捷键 & 速查表

启动新会话:

tmux [new -s 会话名 -n 窗口名]

恢复会话:

tmux at [-t 会话名]