본문 바로가기

분류 전체보기133

[PCA] 공분산 행렬, PCA https://m.blog.naver.com/tjdrud1323/221720259834 PCA(주성분 분석)_Python(파이썬) 코드 포함 PCA PCA는 무엇이며 언제 사용하는가? https://www.youtube.com/watch?v=FgakZw6K1QQ P... blog.naver.com https://www.youtube.com/watch?v=jNwf-JUGWgg 공분산 행렬 - 공분산 행렬의 의미: 각 feature의 변동이 얼마나 닮았나? - 각 feature에서 평균을 뺀 값 : 변동 - 닮은 정도를 알기 위해서는 키의 변동, 몸무게의 변동에 내적을 적용. -> 두 매트릭스 곱해주면 분산, 공분산으로 이루어진 symmatric matrix가 만들어지게 됨 - n이 아니라 n-1으로 나눠주.. 2022. 9. 20.
[pandas] pd.isna() 사용 시 주의점: is False와 is not True의 차이점 ~ is not True ~ is False 위 두 개 statement는 파이썬에서 동일한 의미를 갖는 것으로 생각하기 쉽다, 그렇지만 pandas DataFrame의 메소드가 아니라, pandas에서 제공하는 기본 함수로서의 isna()를 사용할 때에는 주의가 필요하다. https://pandas.pydata.org/docs/reference/api/pandas.isna.html pandas.isna — pandas 1.4.4 documentation For scalar input, returns a scalar boolean. For array input, returns an array of boolean indicating whether each corresponding element is mis.. 2022. 9. 15.
[ipynb] 쥬피터 노트북에서 %와 !의 차이 https://stackoverflow.com/questions/45784499/what-is-the-difference-between-and-in-jupyter-notebooks What is the difference between ! and % in Jupyter notebooks? Both ! and % allow you to run shell commands from a Jupyter notebook. % is provided by the IPython kernel and allows you to run "magic commands", many of which include well-known shell stackoverflow.com ! calls out to a shell (in a new .. 2022. 9. 15.
[ML] 머신러닝 모델에서의 head, backbone이란? 태스크 : 주어진 텍스트를, HuggingFace에 serving되고 있는 Sentence Transformer를 활용하여 embedding 후, 분류하라 -> HuggingFace의 틀에 맞춰서 모델이 들어가 있으니, HuggingFace 사이트에서 각각 class와 attribute 등에 대한 문서를 살펴보도록 하자 -> HuggingFace의 'pipeline'기능은 모델 전체 기능을 활용하기보다, 선별적으로 사용하고 싶을 때 유용하다. 예를 들어 어떤 모델에서 ner(named entity recognition) 기능만 가져다 쓰고 싶다거나, 감성분석만 하고 싶다거나... 그래서 HuggingFace의 Feature Extraction Pipeline을 사용하려고 문서를 찾아보니... https:.. 2022. 8. 29.
[스크랩] 데이터 리터러시(Data Literacy)를 올리는 방법 http://blog.hwahae.co.kr/all/tech/tech-tech/9757/ 데이터 리터러시(Data Literacy)를 올리는 방법 – 화해 블로그 | 기술 블로그 데이터리터러시 와 데이터 기반 의사결정 문화 데이터 리터러시는 데이터를 활용해 문제를 해결하는 능력입니다. 데이터를 보여주는 것만으로 문제 해결력이 좋아지지는 않았습니다. 데이터를 blog.hwahae.co.kr 2022. 8. 6.
[0722] 고환율에 텅텅 빈 면세점.. 직원들도 "백화점이 700원 더 싸요" https://finance.v.daum.net/v/20220722060149842 2022. 7. 25.