Skip to content

Instantly share code, notes, and snippets.

@minhtriet
minhtriet / graph_ml.md
Last active December 16, 2020 08:11
Graph ML

Properties of relation

  • Reflexive $x R x$, irreflexive, neither reflecive nor irreflexive (Sometimes reflexive, sometimes not depends on $x$)
  • Symmetricity $a R b \implies b R a$

Graph

Metrics

  • Average length
  • Cluster factor (How well connected are neighbors of $n_i$)
@minhtriet
minhtriet / dl_implementation.md
Created October 14, 2018 09:20
Some collected tips in DL implementation

In general you can expect tf.nn.sparse_softmax_cross_entropy_with_logits to be way better optimized because it processes logits directly instead of just applying xent to a probability distribution. Good news: it's trivial to use in Keras, when you need it.

@minhtriet
minhtriet / .tmux.conf
Last active December 8, 2017 13:50
TMUX and CUDA config
set-option -g prefix C-a
bind-key C-a last-window
set -s escape-time 0