힌지 손실

Jmnote (토론 | 기여)님의 2021년 5월 29일 (토) 11:06 판 (→‎참고)

1 개요

hinge loss
힌지 손실, 경첩 손실, 힌지 로스

  • 의도한 출력 [math]\displaystyle{ t=±1 }[/math] 및 분류기 ​​점수 [math]\displaystyle{ y }[/math]의 경우, 예측 [math]\displaystyle{ y }[/math]의 힌지 손실은 다음과 같이 정의된다.
[math]\displaystyle{ \ell(y) = \max(0, 1-t \cdot y) }[/math]
  • [math]\displaystyle{ y }[/math]는 예측된 클래스 레이블이 아니라 분류기 결정 함수의 "원시(raw)" 출력이어야 한다.
  • 예를 들어 선형 SVM에서는
[math]\displaystyle{ y = \mathbf{w} \cdot \mathbf{x} + b }[/math]
여기서 [math]\displaystyle{ (\mathbf{w},b) }[/math]초평면(hyperplane)의 파라미터이고, [math]\displaystyle{ \mathbf{x} }[/math]의 매개변수는 입력 변수이다.
  • ty의 부호가 같고(y가 올바른 클래스를 예측함) [math]\displaystyle{ |y| \ge 1 }[/math]일 때, 힌지 손실 [math]\displaystyle{ \ell(y) = 0 }[/math]이다.
  • 부호가 반대인 경우 [math]\displaystyle{ \ell(y) }[/math]y에 따라 선형적으로 증가한다.
  • [math]\displaystyle{ |y| \lt 1 }[/math]인 경우(동일한 부호라도, 올바른 예측이지만 마진이 작은 경우)에도 그렇다.

Hinge loss vs zero one loss.svg

2 같이 보기

3 참고

  1. 모듈:Citation/CS1/Identifiers 42번째 줄에서 Lua 오류: attempt to index a nil value.
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}