본문 바로가기

분류 전체보기

(13)
Bellman Equation and Reward Calculation in Grid world in 30 Seconds 1. In deterministics case,   2. In stochastic case,   We met system error that In order to calculate the value of square, you need to know value of surrounding squares, vice versa RL's goalCalculate the value of each state: PredictionControl problem that finding optimal policy Dynamic programming algorithm to solve Reinforcement Learning problem1.Policy IterationIt starts estimating value for ea..
def f for loop in dfs bfs
Cross Product in 7D \documentclass{article} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \begin{document} \section*{Cross Product in 3D} The cross product of two vectors $\mathbf{a} = (a_1, a_2, a_3)$ and $\mathbf{b} = (b_1, b_2, b_3)$ in 3D is defined as: \[ \mathbf{a} \times \mathbf{b} = \begin{vmatrix} \mathbf{i} & \mathbf{j} & \mathbf{k} \\ a_1 & a_2 & a_3 \\ b_1 & b_2 & b_3 \end{vmatrix} = \..
전력망 둘로 나누기 def bfs(n,gra,cut):     visit=[0]*(n+1)     cnt=1#n=1     q=[]     q.append(cut[0]) #q.append(wires[1][0])     visit[cut[0]]=cnt     visit[cut[1]]=-1     while q:         x=q.pop(0)         for i in gra[x]:             if visit[i]==0:                 cnt+=1                 visit[i]=cnt                 q.append(i)     return cnt def solution(n, wires):     answer = n     gra=[[]for i in range(n+1..
Normal dist's Metric tensor, Christoffel symbol, connection \documentclass{article} \usepackage{amsmath} \begin{document} \section*{Finding Dually Flat Structure and Christoffel Symbols} \subsection*{Steps} \begin{enumerate}     \item Identify the exponential family form:     \[     p(x|\theta) = h(x) \exp \left( \eta(\theta)^T T(x) - A(\theta) \right)     \]     \item Determine the natural and expectation parameters:     \[     \eta = \text{natural para..
Distance between two Probability Distrituion \documentclass{article} \usepackage{amsmath} \begin{document} \section*{KL Divergence and Alpha Connections} The \(\alpha\)-divergence between two probability distributions \( P \) and \( Q \) is defined as: \[ D_\alpha(P \| Q) = \frac{4}{1 - \alpha^2} \left(1 - \sum_i P_i^{\frac{1+\alpha}{2}} Q_i^{\frac{1-\alpha}{2}}\right) \] \subsection*{Special Cases} \subsubsection*{KL Divergence (\(\alpha ..
From Leviciviata connection to calculate Geodesic und Curvature \documentclass{article} \usepackage{amsmath} \begin{document} \section*{Christoffel Symbols for Different Geometries} \subsection*{2D Sphere} The metric tensor for a 2D sphere of radius \( R \) is: \[ g_{ij} = \begin{pmatrix} R^2 & 0 \\ 0 & R^2 \sin^2(\theta) \end{pmatrix} \] The non-zero Christoffel symbols are: \[ \Gamma^\theta_{\phi\phi} = -\sin(\theta) \cos(\theta), \quad \Gamma^\phi_{\theta..
영적싸움 오직 주를 위하여 모든 이를 품어야 한다. 우리 안에 가져야 라는 것은 그리스도 예수의 마음이고 Bear with the failing of the weak, 약자의 마음을 담당하라 하셨기 때문이다 성령안에거 하나로, 에베소서6:13대로 전신갑주를 입고 혈과 육의 싸움이 아닌 영적싸움을 해야한다
은혜, 감사를 잃어버렸을 때 예배를 보고나서 얼마지나지 않아 받은 은혜를 망각하고 세상사람들과 똑같이 사라간다. 중요한 것은 이때이다. 이것을 자각했을 때 또이러네, 내가 그렇지 뭐.. 등 현상을 보는 것이 아니라 내가 인지한 순간 영적싸움에서 패배했다는 것을 인지하고 다시 영적싸움을 해야한다 준행
용서 복수심, 우울감, 분노에 사로잡혀서 오히려 그것을 동력원 삼아 살아왔습니다. 제 힘으로 살면서 일이 잘 풀릴 때는 세상적으로 더 좋은 결과와 우월감이 왔지만, 일이 잘못되면 그때까지 쌓아둔 감정들이 물 믿듯이 쌓여 들어오며 모든 것이 부정되고, 제가 쌓아온 감정으로 인해서 저를 무력감에 빠지고, 그 생각, 과거에 사로잡혀 아침에 침대에서 눈을 뜨는 순간부터 묶이게 만들었습니다 성경에서는 나에게 죄지은 자를 용서하라고 하는데, 그 사람을 어떻게 용서합니까, 그 사람이 사과를 해야 내가 용서를 하지, 죄의 삯은 사망이라, 죄에는 대가가 있는 법인데, 하나님 아니면 그 사람, 사건들을 용서할 마음이라도 저에게 주십시오. 아니면 저는 그 사람이 죽거나, 아니면 제가 죽거나, 진짜 그러지 않고는 제 묵혀둔 감정과..