분류 전체보기 (101) 썸네일형 리스트형 [Linux] Local port forwarding 가정은 다음과 같다. Remote에서 docker 안에 서버를 돌린다. 5000번 포트이다. 이때 docker run 옵션으로 --network host로 해서 docker와 host의 네트워크를 묶어놓았다.이때 해당 서버는 127.0.0.1에서의 접속만 허용한다. Dynamic port forwarding(SOCKS proxy)은 이 경우 실패한다. Local port forwardining을 사용해야한다.사용법은 다음과 같다.ssh -N -L 5000:127.0.0.1:5000 name_of_remote_serverProxy jump를 사용해서 사이에 여러 서버를 거쳐가더라도 된다.따로 컴퓨터에서 proxy 설정을 하지 않아도 웹브라우저를 통해 127.0.0.1:5000으로 접속이 된다. Proxy를.. MATLAB installation fix Got this error:libexpat.so.1: file too shortIf you are using a software like Ark, try different one, for example, unzip command. In my case, unzip command worked. Exposing ollama port Open /etc/systemd/system/ollama.serviceAdd a new environment variable as below....[Service]...Environment="OLLAMA_HOST=0.0.0.0:11434 After editing the unit file, runsudo systemctl daemon-reload andsudo systemctl restart ollama.servicein that order. MSE for evaluating performance of an estimator Definition [1]:It is quite useful because it can be decomposed by the famous bias and variance. The expectation with respect to \(\theta\) means the expectation w.r.t. a law with that parameter \(\theta\), i.e., \(\int (W-\theta)dP_{\theta}\)Below is a derivation toward the bias and variance expression.\[\begin{aligned}E_{\theta}(W-\theta)^2&=E_{\theta}(W-E_{\theta}W+E_{\theta}W-\theta)^2\\&=E_{.. 헷갈리는 단어들: inexpensive, invaluable, priceless 부정적 의미:Inexpensive: 저렴한긍정적 의미:Invaluable: 값어치를 매길 수 없는Priceless: 값어치를 매길 수 없는중학교 수준 영단어이고 분명 어렸을 때 배운 단어지만 헷갈린다. 오늘 문장 속 inexpensive를 보았는데 값이 싸다는 의미로 사용되고 있었고 내 기억 상 원래 값어치를 매길 수 없을 정도로 귀중하다는 뜻이 아닌가 했는데 내가 잘못 생각한 것이었다. Map of Bernoulli Variants TrialsCategories 1...n1Bernoulli(p) Binomial(n,p)... kCategorical(p_2,...,p_k)(Multinoulli)where p1=1-∑p_i Multinomial(n,p_2,...p_k) Minor notes about variational methods Choice of quantities in KL divergenceThere are two choices using KL divergence given an optimal distribution \(Q^*\) and an approximating distribution \(Q\).Since the KL divergence is asymetric, two choices can not be interchanged. For example, if we let \(g=dQ^{*}/dQ\), then\[D_{KL}(Q^{*}||Q):=\int \log \frac{dQ^{*}}{dQ}dQ^{*}=-\int \left(\log \frac{dQ}{dQ^{*}}\right)\frac{dQ^{*}}{dQ}dQ=-\int \.. Gateaux derivative Gateux derivative\[\begin{aligned}D_hf(x)&=\lim_{\epsilon\rightarrow 0}\frac{f(x+ \epsilon h)-f(x)}{ \epsilon }\\&=\lim_{ \epsilon \rightarrow 0}\frac{\frac{\partial f(x+ \epsilon h)}{\partial \epsilon }}{1}\\&=\frac{d }{d \epsilon }f(x+ \epsilon h)|_{ \epsilon =0}\end{aligned}\]? 이전 1 2 3 4 ··· 13 다음