Puas yog cosine zoo sib xws symmetrical?
Puas yog cosine zoo sib xws symmetrical?

Video: Puas yog cosine zoo sib xws symmetrical?

Video: Puas yog cosine zoo sib xws symmetrical?
Video: Zoo nraug noj tsis tau Abyeeb Yaj-Lasnis Lis nkauj tawm tshiab 2020 [MV official] 2024, Kaum ib hlis
Anonim

Ib qho yooj yim txaus zoo sib xws ntsuas yog qhov cosine zoo sib xws ntsuas. Kom meej meej, nws yog reflexive (cos(v, v) = 1) thiab symmetrical (cos(v, w) = cos(w, v)). Tab sis nws kuj tseem hloov tau: yog tias cos(v, w) nyob ze 1, thiab cos(w, z) nyob ze 1, ces cos(v, z) ze 1.

Dhau li ntawm no, cosine zoo sib xws txhais li cas?

Cosine zoo sib xws yog ib tug metric siv los ntsuas li cas zoo sib xws cov ntaub ntawv tsis hais txog ntawm lawv qhov loj me. Ua lej, nws ntsuas qhov cosine ntawm lub kaum sab xis ntawm ob vectors projected nyob rau hauv ib tug multi-dimensional qhov chaw.

Tsis tas li ntawd, koj yuav nrhiav tau qhov sib xws ntawm cosine li cas? Cosine zoo sib xws yog cov cosine ntawm lub kaum sab xis ntawm ob n-dimensional vectors nyob rau hauv ib qho chaw n-dimensional. Nws yog cov khoom dot ntawm ob vectors faib los ntawm cov khoom ntawm ob vectors ' lengths (los yog magnitudes).

Kuj paub, yog cosine zoo sib xws txawv?

Muab ob lub vectors, peb txiav txim siab qhov chaw ntawm qhov chaw ua haujlwm ntawm cov vectors. Lub kaum sab xis ntawm ob lub ntsej muag normals yog qhov zoo sib xws ntsuas. Lub convex nqi function yuav tsum tsis sib txawv nyob txhua qhov chaw.

Qhov zoo sib xws ntawm soft cosine yog dab tsi?

A soft cosine los yog (" mos " zoo sib xws ) ntawm ob vectors xam zoo sib xws nruab nrab ntawm khub ntawm nta. Piv txwv li, nyob rau hauv lub teb ntawm natural language processing (NLP) lub zoo sib xws ntawm nta yog heev intuitive.

Pom zoo: