Comments (3)
cosine similarity를 찾아보시면 좋을거같아요!
유사도는 다차원 공간의 두 점의 거리를 나타내는데, 이 거리가 짧을수록 유사도가 높다고 할 수 있습니다.
떨어져 있는 두 벡터보다는, 비슷한 위치에 있는 두 벡터가 확실히 더 비슷하겠죠!
따라서, 벡터간 유사도는 벡터간 거리로 나타낼 수 있습니다.
벡터 간의 거리를 재는 방식이 여러 개인 만큼, 유사도를 여러 방법으로 구할 수 있습니다!
사실 우리가 배웠던 L1-norm과 L2-norm은 하나의 식에 인자를 대입한 값으로 나타낼 수 있습니다.
r = 1: City Block Distance(= Manhattan, L1-norm) - (r = 1)차원 데이터간의 거리를 측정하기에 적당
r = 2: Euclidean Distance(=L2-norm) - (r = 2)차원 거리를 측정하기에 적당
등등
이러럼 L1, L2 norm이 단순히 거리를 고려하는 거리(유사도)라면,
내적의 식은 cosine similarity의 식과 동일하며
내적(코사인유사도)는 방향과 길이를 모두 고려할 수 있기에 사용됩니다! ➡ 방향: 코사인에 들어간 θ에 의해서!
라고 알고있습니당...! 혹시 잘못알고있는부분이 있다면 알려주세요 !😀
from peer-session.
저도 궁금해서 찾아봤는데 코사인 유사도 뿐 아니라 이러한 방식도 있다고 합니당
가장 비슷한 문서는 아마 B,C인거 같은데 오타같습니다!
from peer-session.
감사합니다 여러분! 이해됐어요~.~
from peer-session.
Related Issues (20)
- [DAY 34] Instance/Panoptic segmentation and landmark localization & Conditional Generative Model
- [DAY 35] Multimodal captioning and speaking & 3D understanding HOT 1
- [원딜] pth → onnx → pth 순으로 모델을 저장할 때 마지막 pth 파일의 크기가 커지는 이유?
- [DAY 36] Lightweight models & The flip-side of the coin: on-device AI & Optimization
- [원딜] Gaussian Process HOT 2
- [DAY 37] Timespace of ML model & Compression
- [DAY 38] Acceleration & Pruning for network compression
- [DAY 39] Quantization for model compression & Knowledge distillation for network compression HOT 3
- [DAY 40] Low-rank approximation for model compression & Retrospect
- [DAY 24] 정점 표현 & 추천시스템 (심화) HOT 1
- [히스] CNN 과 GNN HOT 1
- [DAY 25] GNN 기초 & GNN 심화 HOT 1
- [DAY 27] 서비스 향 AI 모델 개발하기 & AI 시대의 커리어 빌딩
- [DAY 28] 캐글 그랜드마스터의 경진대회 노하우 대방출 & Full Stack ML Engineer
- [DAY 29] 자연어 처리를 위한 언어 모델의 학습과 평가 & 내가 만든 AI 모델은 합법일까?
- [DAY 30] AI + ML 과 Quant Trading & AI Ethics
- [DAY 31] CV - 이미지 분류 1 & 적은 수의 데이터를 효율적으로 학습하는 방법
- [DAY 32] CV - 이미지 분류 2 & Semantic segmentation
- [DAY 33] Object detection & CNN Visualization
- [샐리] (CV, CH06) Faster RCNN - class layer의 파라미터 수가 2k인 이유
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from peer-session.