개발차
[KOCW 선형대수] 15강. 행렬의 판별식
제 15강. 행렬의 판별식m×n square matrix det(A)Some important properties of determinant1. A−1 exist when det(A)≠0역행렬 식에 판별식의 역수가 곱해지기 때문,2. det(A) equals the volume of a box in ℝn space¶Ex) Jacobian3. det(A)= + or - Product of the Pivots4. Cramer's rule for Ax=bxi=det(Ai)det(A)Ex) {x+y=32x−y=3위의 식을 행렬로 바꾸면[121−1][xy]=[33]위와 같이 표현할 수 있다.Ax=[331−1]x를 구할 때, 좌측 열을 모두 3을 바꿔준다.x=det(Ax)det(A)=−6−3=2y도 같은 방법으로 ..
[NLP] Day 6 - CSS SELECTOR
SelectorIn [51]:headers = {'user-agent':'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537'} def getDownload(url, param = None, retries = 3): resp = None try: resp = requests.get(url, params = param, headers = headers) resp.raise_for_status() except requests.exceptions.HTTPError as e: if 500 Tag, ID(아이디), class(.클래스명) [name='as..
[KOCW 선형대수] 14강. 함수공간
제 14강. 함수공간Function Spaces and Fourier Seriesextend vector space to function spaceapply Gram-Schmitt Orthogoanlization to function space1. Hilbert Space무한대 공간으로 생각하는 것이다. 셀 수 없이 많은 공간을 H, 힐버트 스페이스라고 말한다.x(t),y(t)∈H(a≤t≤b)x(t)+y(t)∈Hαx(t)∈HVector inner product -> function inner productxTy=∑ni=1xiyi ->(x(t),y(t))=∑∞k=0x(a+kδt)y(a+kδt)=∫bax(t)y(t)dt크기(거리)도 똑같다.||x(t)||2=∫bax2(t)dt (적분화)Hilbert spac..
[CS231n] 10. Recurrent Neural Networks
Train game 해보기. (1) One to many 단일 입력이지만 출력은 caption같은 가변 출력이다 ( image captioning ) (2) many to One 입력이 가변 입력이다. 감정 분류에 쓰인다. 비디오를 읽을 때도 사용된다. (문장) ( Sentiment Classification ) (3) many to many 입/출력 가변 (Machine Translation ) 번역된 길이는 다를 것이다. (4) many to many 비디오 처럼 가변 입력이고 프레임마다 출력값이 나와야 하는 상황 ( Video classification on frame level ) RNN 으로 input x가 들어감. RNN에는 ‘hidden state’가 있는데 이는 새로운 입력을 불러들일 때마..
[NLP] Day5 - DOM
DOMIn [72]:# getDownload import requests headers = {'user-agent' :'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.119 Safari/537.36'} def getDownload(url, param = None, retries = 3): resp = None try: resp = requests.get(url, params = param, headers = headers) resp.raise_for_status() except requests.exceptions.HTTPError as e: if 500
[NLP] Day4 - HTML2
HTTP 이어서 ~In [22]:# get ( = Read ) 가장 일반적인 경우 사용 import requests url = 'http://httpbin.org/' resp = requests.get(url+'get',params={'key':'value','key1':'value'}) resp = requests.head(url+'get') # head만 가져오는 것 / body는 비어있어야 함. # dictionary 형태로 들어감 In [12]:# post ( = Create ) import requests url = 'http://httpbin.org/' resp = requests.post(url+'post',data={'key':'value','key1':'value'}) # paramete..