#System Architecture patterns
- N-Tier
- Event-Driven - Mediator / Broker
- Microkernel
- MicroServices
- Blackboard
- client - MVC / MVP / MVVM
- server - RPC / Remoting / WS / SOA / REST
- Space-Based
#System Architecture patterns
in a nutshell: fit trainingData (train a model), transform testData (predict with model)
#Transformers
#Redis Commands
##Generic Commands
private static void jCodeModelGen(Map<String, Class<?>> mapping, String className) { | |
try { | |
int version = 10; | |
JCodeModel codeModel = new JCodeModel(); | |
JPackage codeModel_Package = codeModel._package("com.example.pb"); | |
if (className == null || className.trim().length() == 0) { | |
className = "Generated" + String.valueOf(version); | |
} |
Estimator
- learns from data: can be a classification, regression , clustering that extracts/filters useful features from raw data - implements set_params
, fit(X,y)
, predict(T)
, score
(judge the quality of fit / predict), predict_proba
(confidence level)Transformer
- transform
(reduce dimensionality)/ inverse_transform
, - clean (sklearn.preprocessing
), reduce dimensions (sklearn.unsupervised _reduction
), expand (sklearn.kernel_approximation
) or generate feature representations (sklearn.feature_extraction
).properties: labels_
, cluster_centers_
. distance metrics - maximize distance between samples in different classes, and minimizes it within each class: Euclidean distance (l2), Manhattan distance (l1) - good for sparse features, cosine distance - invariant to global scalings, or any precomputed affinity matrix.
dbscan
- deterministicly separate areas of high density fromI recently switched over to neovim (see my screenshots at the bottom). Below is my updated config file.
It's currently synchronized with my .vimrc
config except for a block of neovim-specific terminal key mappings.
This is still a work in progress (everyone's own config is always a labor of love), but I'm already extremely pleased with how well this is working for me with neovim. While terminal mode isn't enough to make me stop using tmux, it is quite good and I like having it since it simplifies my documentation workflow for yanking terminal output to paste in a markdown buffer.
These days I primarily develop in Go. I'm super thrilled and grateful for fatih/vim-go,
#JIT Compiler Tuning
##Hotspot Compilation Mechanism Selection
##Advanced JIT Tuning: