Accuracy_score yog dab tsi?
Accuracy_score yog dab tsi?

Video: Accuracy_score yog dab tsi?

Video: Accuracy_score yog dab tsi?
Video: What Is AI? | Artificial Intelligence | What is Artificial Intelligence? | AI In 5 Mins |Simplilearn 2024, Kaum ib hlis
Anonim

qhov tseeb_score (y_true, y_pred, normalize=True, sample_weight=None)[source] Cov qhab nia kev faib tawm qhov tseeb. Hauv kev faib tawm ntau lub npe, qhov ua haujlwm no suav qhov tseeb qhov tseeb: cov txheej txheem ntawm cov ntawv twv kwv yees rau ib tus qauv yuav tsum ua raws nraim li cov kab ntawv sib txuas hauv y_true.

Tom qab ntawd, tus qhab nia raug xam li cas?

Kev faib tawm Qhov tseeb . Kev faib tawm raug yog peb qhov chaw pib. Nws yog tus naj npawb ntawm qhov kev kwv yees raug muab faib los ntawm tag nrho cov kev kwv yees tau ua, muab faib los ntawm 100 kom tig nws mus rau ib feem.

Ib sab saum toj, Y_pred yog dab tsi? Nws yog kev hloov pauv ntawm numpy array y_train rau hauv tensor. Lub tensor y_prd ua yog cov ntaub ntawv kwv yees (xws li, tso zis) los ntawm koj tus qauv. Feem ntau, ob qho tib si y_true thiab y_pred ua muaj qhov zoo ib yam. Qee qhov kev poob qis, xws li cov tsis sib xws, tuaj yeem txais lawv nrog cov duab sib txawv.

Tsis tas li ntawd, Neg_mean_squared_error yog dab tsi?

Tag nrho cov qhab nia cov khoom ua raws li cov lus pom zoo tias cov nqi xa rov qab siab dua yog qhov zoo dua qhov nqi rov qab qis dua. Yog li metrics uas ntsuas qhov kev ncua deb ntawm tus qauv thiab cov ntaub ntawv, zoo li metrics. mean_squared_error, muaj xws li neg_mean_squared_error uas rov qab tus nqi negated ntawm tus metric.

Classification_report yog dab tsi?

Daim ntawv qhia kev faib . Cov ntaub ntawv qhia pom kev faib tawm yog siv los sib piv cov qauv kev faib tawm los xaiv cov qauv uas yog "redder", piv txwv li. muaj zog metrics kev faib tawm los yog sib npaug ntau dua. Cov metrics yog txhais raws li qhov tseeb thiab tsis tseeb qhov zoo, thiab qhov tseeb thiab tsis muaj tseeb.

Pom zoo: