Dab tsi yog qhov sib npaug li qub hauv linear regression?
Dab tsi yog qhov sib npaug li qub hauv linear regression?

Video: Dab tsi yog qhov sib npaug li qub hauv linear regression?

Video: Dab tsi yog qhov sib npaug li qub hauv linear regression?
Video: Yog ntuj tsis pab ntshe kuv tuag lawm 8/6/2018 2024, Kaum ib hlis
Anonim

Ib txwm sib npaug yog ib qho analytical mus kom ze Linear Regression nrog tus nqi qis tshaj Square. Peb tuaj yeem nrhiav ncaj qha rau tus nqi ntawm θ yam tsis siv Gradient Descent. Ua raws li txoj hauv kev no yog qhov ua tau zoo thiab kev xaiv txuag lub sijhawm thaum ua haujlwm nrog cov ntaub ntawv nrog cov yam ntxwv me me.

Tsis tas li ntawd, dab tsi yog ib qho kev sib npaug?

Ib txwm sib npaug yog kev sib npaug tau los ntawm kev teeb tsa sib npaug zos rau xoom cov derivatives ib nrab ntawm cov lej ntawm squared yuam kev (tsawg squares); ib txwm sib npaug tso cai rau ib tug los kwv yees qhov tsis tau ntawm ib tug ntau linear regression.

Ib tug kuj yuav nug, dab tsi yog tus nqi ua haujlwm rau linear regression? Nqi ua haujlwm MSE ntsuas qhov nruab nrab squared qhov sib txawv ntawm qhov kev soj ntsuam qhov tseeb thiab kwv yees qhov tseem ceeb. Cov zis yog ib tus lej sawv cev rau nqi , los yog qhab nia, cuam tshuam nrog peb qhov ntsuas tam sim no. Peb lub hom phiaj yog kom txo qis MSE los txhim kho qhov tseeb ntawm peb cov qauv.

Kuj paub, qhov sib npaug ntawm linear regression yog dab tsi?

Linear Regression . A linear regression kab muaj ib kev sib npaug ntawm daim ntawv Y = a + bX, qhov twg X yog qhov txawv txav thiab Y yog qhov txawv txav. Qhov nqes hav ntawm kab yog b, thiab a yog qhov cuam tshuam (tus nqi ntawm y thaum x = 0).

Dab tsi yog qhov qub ntawm qhov nkhaus?

Cov ib txwm mus rau nkhaus yog txoj kab perpendicular (ntawm txoj cai kaum) rau lub tangent mus rau nkhaus ntawm qhov ntawd. Nco ntsoov, yog tias ob kab yog perpendicular, cov khoom ntawm lawv cov gradients yog -1.

Pom zoo: