RSSAmplifier

Blog

Mad for Simplicity

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away. - Antoine de Saint-Exupéry

enginius.tistory.comRSS feed ↗10 posts

Latest posts

육아 지식 (from 헤리티지)

캥거루 케어 (for 미숙아?) - 캥거루 처럼 엄마가 품어준다? 인큐베이터 를 대체? 미숙아? - 저녁 때 모자동실을 할 때, 아빠 옷을 벗고, skin-to-skin. 100일까지. - 오전에 엄마, 오후에 아빠 아기 수영 (20분!) - 어른 욕조로 하자. 대신에 목튜브 해도 어른이 항상 지키고 있자. 예방접종 - BCG는 미국에서는 안맞는다? 베이비 마사지 - 신진대사..

Gaussian Process를 이용한 mu, dmu, ddmu 구하기

위와 같은걸 할 수 있다. GP의 mean은 kernel에 따라 미분 가능하다. % Reference data f_ref = @(x)( cos(x) ); % reference function t_max = 4*pi; t_ref = linspace(0,t_max,1000)'; x_ref = f_ref(t_ref); % Anchor dataset (training data) n_anchor = 100; t_anchor = linspace(0..

Backward recursion

Tree 구조가 있을 때 각 노드가 자신의 sub-tree 노드들의 정보를 다 취합해서 갖고 있게 하고 싶을 경우가 있다. 각 노드마다 자신의 child 노드의 수가 몇 개인지 원할 때도 있고 (모든 노드가 +1의 값을 갖게 하면), 혹은 inverse dynamices를 풀 때 사용되는 recursive Newton Euler (RNE)의 inward operation을 할 때가 그렇다. % % 1 % ..

MATLAB add slider and button to figure

Adding a slider and a play/pause button to a figure for playback purposes. Main script 더보기 fig = figure(1);set_fig_size(fig,[0.5,0.5,0.25,0.3]);h_title = title('Slider demo','fontsize',20,'fontname','consolas','interpre..

TF에서 gradient 정보를 바로 활용하기

만약 TF computational graph에 custom function과 custom gradient를 넣고 싶으면 어떻게 해야할까? 아래 gist에 해당 내용을 정리해보았다. https://gist.github.com/sjchoi86/01d8957cfdeb39d55e7dd42e8836b2ab 결국 TF 문법이 어려웠던 것인데, 기본적인 tf.py_func은 gradient가 None이 되어서, 만약 forward pat..

GIT hard pull

git fetch --all git reset --hard origin/master https://stackoverflow.com/questions/1125968/how-do-i-force-git-pull-to-overwrite-local-files 요 위의 두 줄이면 된다. 1. get fetch -all 이건 remote에서 가장 최근의 것을 일단 받기만 한다. merge나 rebase를 안한다고 하니, 어떤 문제를 일으키지도 않는다...

Point Process in a Ball

Consdier a binomial point process (BPP) where n points are uniformly sampled with a d-dimensional ball of radius R centered at the origin. We want to know about the euclidean distance from the origin to its m-th nearest point. The special case of m=1 will..

Mesh format convert to stl

메쉬의 포맷을 바꾸는 것은 아주 중요하다. 제일 기본이 되는 것은 언제나 stl (stereolithography)이고, 나도 이걸 좋아한다. DAE는 쓸때없는 cover랑 scene이 들어가있어서 parsing이 잘 안된다. OBJ도 마찬가지다. 온라인에는 수많은 컨버터가 있는데 오프라인으로 쓸 수 있는걸 찾다보니까 http://openctm.sourceforge.net/요게 나온다. 소스만 있다. 소스를 받는다. OS에 맞는 Makefile.os의 ..

Uncertainty-related paper

1. What Uncertainties Do We Need in Bayesian Deep Learning for Computer Vision?, 2017 : Infer epistemic uncertainty and aleatoric uncertainty using Bayesian neural networks. https://papers.nips.cc/paper/7141-what-uncertainties-do-we-need-in-bayesian-deep-..

Curation of RL papers

Few selected papers I've enjoyed reading. More comprehensive list can be found in [https://spinningup.openai.com/en/latest/spinningup/keypapers.html]. Model-Free RL 1. Playing Atari with Deep Reinforcement Learning, Mnih et al, 2013. Algorithm: DQN..