Yuav Nrhiav Li Cas Hom Ntawm Cov Ntaub Ntawv Tus Zauv: 8 Kauj Ruam (nrog Duab)

Cov txheej txheem:

Yuav Nrhiav Li Cas Hom Ntawm Cov Ntaub Ntawv Tus Zauv: 8 Kauj Ruam (nrog Duab)
Yuav Nrhiav Li Cas Hom Ntawm Cov Ntaub Ntawv Tus Zauv: 8 Kauj Ruam (nrog Duab)

Video: Yuav Nrhiav Li Cas Hom Ntawm Cov Ntaub Ntawv Tus Zauv: 8 Kauj Ruam (nrog Duab)

Video: Yuav Nrhiav Li Cas Hom Ntawm Cov Ntaub Ntawv Tus Zauv: 8 Kauj Ruam (nrog Duab)
Video: Daim Av 3 Nti tsom xyooj nkauj tshiab 2020 2024, Kaum ib hlis
Anonim

Hauv kev txheeb cais, hom yog tus lej uas tshwm ntau zaus hauv cov lej lossis cov ntaub ntawv. cov ntaub ntawv nws tus kheej tsis ib txwm muaj ib hom nkaus xwb, nws tuaj yeem yog ob lossis ntau dua (yog li nws hu ua bimodal lossis multimodal). Hauv lwm lo lus, txhua tus lej uas tshwm sim feem ntau hauv cov ntaub ntawv tuaj yeem raug hu ua hom. Txhawm rau nrhiav seb yuav nrhiav hom li cas, ua raws cov theem hauv qab no.

Kauj ruam

Txoj Kev 1 ntawm 2: Nrhiav Tus Qauv Ntawm Cov Ntaub Ntawv

Nrhiav Hom Kev Teev Npe Zauv Kauj Ruam 1
Nrhiav Hom Kev Teev Npe Zauv Kauj Ruam 1

Kauj Ruam 1. Sau cov lej hauv cov ntaub ntawv

Hom no feem ntau yog siv los ntawm cov ntaub ntawv txheeb cais lossis cov npe ntawm cov lej. Yog li koj xav tau cov ntaub ntawv txhawm rau nrhiav hom. Nws raug nquahu kom koj sau lossis sau cov ntaub ntawv ua ntej, vim tias nrhiav hom los ntawm tsuas yog pom thiab txheeb xyuas nws hauv koj lub siab yog qhov nyuaj heev, tshwj tsis yog cov ntaub ntawv muaj tsawg heev. Yog tias koj siv ntawv thiab xaum lossis cwj mem, tsuas yog sau cov ntaub ntawv ua ntej txhawm rau txheeb xyuas nws tom qab. Yog tias koj nyob hauv lub khoos phis tawj, koj tuaj yeem siv daim ntawv nthuav qhia los txheeb lawv tom qab.

Cov txheej txheem ntawm kev nrhiav hom ntawm cov ntaub ntawv yog nkag siab yooj yim dua yog tias peb ua raws nws los ntawm qhov piv txwv teeb meem. Txog tam sim no, cia siv cov ntaub ntawv piv txwv no: {18, 21, 11, 21, 15, 19, 17, 21, 17}. Hauv ob peb kauj ruam tom ntej peb yuav pom hom.

Nrhiav Hom Kev Teev Npe Zauv Kauj Ruam 2
Nrhiav Hom Kev Teev Npe Zauv Kauj Ruam 2

Kauj Ruam 2. Txheeb cov lej los ntawm qhov tsawg tshaj plaws mus rau qhov loj tshaj

Kev txheeb cov ntaub ntawv tuaj yeem ua tsis tiav. Tab sis cov kauj ruam no yuav pab koj nrhiav qhov tiag vim tias cov lej zoo ib yam yuav nyob ib sab ua nws yooj yim dua los suav. Yog tias koj cov ntaub ntawv loj heev, cov kauj ruam no yuav tsum tau ua txhawm rau txo qhov ua yuam kev-nquag tshwm sim.

  • Yog tias koj siv ntawv thiab xaum lossis cwj mem, rov sau cov ntaub ntawv uas koj tau sau ua ntej. Pib los ntawm kev nrhiav tus lej tsawg tshaj plaws los ntawm cov ntaub ntawv. Yog tias koj pom nws, sau nws ntawm kab tshiab, tom qab ntawv hla tus lej hauv cov ntaub ntawv yav dhau los. Nrhiav tus lej me me tom ntej thiab ua tib yam kom txog thaum koj tau txheeb txhua tus lej.
  • Yog tias koj siv daim ntawv nthuav qhia hauv koj lub computer, koj tuaj yeem txheeb cov npe ntawm cov lej hauv ob peb nias.
  • Hauv peb qhov piv txwv saum toj no, cov ntaub ntawv txheeb cais yog {11, 15, 17, 17, 18, 19, 21, 21, 21}.

Nrhiav Hom Kev Teev Npe Zauv Kauj Ruam 3
Nrhiav Hom Kev Teev Npe Zauv Kauj Ruam 3

Kauj Ruam 3. Suav cov naj npawb ntawm cov sij hawm tshwm

Txog cov ntaub ntawv me me, koj tuaj yeem yooj yim saib cov ntaub ntawv uas tau txheeb tseg, tom qab ntawv saib tus lej twg yog qhov pom ntau tshaj plaws nyob ntawd. Yog tias koj cov ntaub ntawv loj dua, tom qab ntawd koj yuav tsum suav lawv ib tus zuj zus kom tsis txhob ua yuam kev.

  • Yog tias koj siv ntawv thiab xaum lossis cwj mem, txhawm rau zam kev suav yuam kev, nco tseg pes tsawg zaus txhua tus lej tshwm. Yog tias koj siv daim ntawv nthuav qhia ntawm lub khoos phis tawj, koj tseem tuaj yeem sau nws hauv lwm kab ntawv, lossis yog tias koj paub, koj tuaj yeem siv cov qauv uas tau muab hauv qhov program.
  • Hauv qhov teeb meem piv txwv, piv txwv li ({11, 15, 17, 17, 18, 19, 21, 21, 21}), tus lej 11 tshwm ib zaug, 15 tshwm sim ib zaug, 17 tshwm sim ob zaug, 18 tshwm sim ib zaug, 19 tshwm sim ib zaug, thiab 21 pom peb zaug. Los ntawm qhov ntawd, nws pom tseeb tias 21 yog tus lej uas tshwm ntau zaus.
Nrhiav Hom Kev Teev Npe Zauv Kauj Ruam 4
Nrhiav Hom Kev Teev Npe Zauv Kauj Ruam 4

Kauj Ruam 4. Tus lej uas tshwm feem ntau yog hom ntaub ntawv

Tom qab sau tseg pes tsawg zaus txhua tus tib tus lej tshwm, koj yuav tsum paub tus naj npawb tshwm ntau tshaj plaws, uas txhais tau tias yog hom ntaub ntawv. Nco ntsoov tias nws muaj peev xwm tias cov ntaub ntawv muaj ntau dua ib hom. Yog tias ib cov ntaub ntawv muaj ob hom, tom qab ntawv cov ntaub ntawv tuaj yeem hu ua bimodal, thaum nws muaj peb hom, nws hu ua trimodal, thiab ntxiv rau.

  • Hauv qhov teeb meem piv txwv, mode yog 21 vim nws tshwm sim ntau zaus.
  • Yog tias muaj lwm tus lej uas tseem tshwm sim peb zaug, ces 21 thiab tus lej ntawd yog hom.
Nrhiav Hom Kev Teev Npe Zauv Kauj Ruam 5
Nrhiav Hom Kev Teev Npe Zauv Kauj Ruam 5

Kauj Ruam 5. Sib txawv hom ntawm cov ntaub ntawv los ntawm nws lub ntsiab lus (nruab nrab) thiab nruab nrab

Peb lub tswv yim txheeb cais feem ntau yog tham hauv ib qho kev sib tham. Vim tias lawv muaj cov npe zoo sib xws thiab qee zaum muaj tus nqi zoo ib yam, ntau tus neeg pom nws nyuaj qhia lawv sib nrug. Txawm li cas los xij, txawm tias cov ntaub ntawv yuav muaj tib hom, nruab nrab, lossis nruab nrab, nco ntsoov tias lawv txawv thiab sawv ib leeg. Nyeem cov lus piav qhia hauv qab no.

  • Qhov nruab nrab uas txhais tau tias qhov nruab nrab yog qhov sib npaug ntawm cov ntaub ntawv qhov txiaj ntsig faib los ntawm tus lej ntawm cov ntaub ntawv. Piv txwv, hauv qhov piv txwv teeb meem ({11, 15, 17, 17, 18, 19, 21, 21, 21}), tag nrho cov ntaub ntawv yog 11 + 15 + 17 + 17 + 18 + 19 + 21 + 21 + 21 + 21 = 160. Thiab vim tias muaj 9 qhov tseem ceeb hauv cov ntaub ntawv, tom qab ntawd 160/9 = 17.78.

    Nrhiav Hom Kev Teev Npe Tus Kauj Ruam 5Bullet1
    Nrhiav Hom Kev Teev Npe Tus Kauj Ruam 5Bullet1
  • Qhov nruab nrab yog tus nqi nruab nrab tom qab cov ntaub ntawv raug txheeb thiab cais qhov me me thiab qhov loj los ntawm cov ntaub ntawv. Hauv qhov teeb meem piv txwv, ({11, 15, 17, 17, 18, 19, 21, 21, 21}), qhov nruab nrab yog

    Kauj ruam 18. vim tias tus lej nyob hauv nruab nrab, thiab muaj plaub tus lej siab dua thiab plaub tus lej qis dua 18 hauv cov ntaub ntawv. Yog tias cov ntaub ntawv yog tus lej sib npaug, tus lej nruab nrab tau los ntawm kev suav cov lej ntawm ob tus lej hauv nruab nrab thiab tom qab ntawd faib ua ob.

    Nrhiav Hom Kev Teev Tus Zauv Zauv Kauj Ruam 5Bullet2
    Nrhiav Hom Kev Teev Tus Zauv Zauv Kauj Ruam 5Bullet2

Txoj Kev 2 ntawm 2: Nrhiav Hom Hauv Qhov Teeb Meem Tshwj Xeeb

Nrhiav Hom Kev Teev Npe Zauv Kauj Ruam 6
Nrhiav Hom Kev Teev Npe Zauv Kauj Ruam 6

Kauj Ruam 1. Cov ntaub ntawv tsis muaj hom yog tias txhua tus lej hauv cov ntaub ntawv muaj tib tus lej tshwm sim

Piv txwv, yog tias txhua tus lej tshwm ib zaug, cov ntaub ntawv tsis muaj hom vim tsis muaj tus lej tshwm ntau dua li lwm tus. Tib yam muaj tseeb yog tias txhua tus lej tshwm ob zaug, lossis ntau dua.

Yog tias peb hloov cov ntaub ntawv hauv qhov piv txwv teeb meem saum toj no rau {11, 15, 17, 18, 19, 21}, uas txhais tau tias txhua tus lej tshwm ib zaug, tom qab ntawd cov ntaub ntawv tsis muaj hom, ntxiv rau yog tias cov ntaub ntawv raug hloov mus rau {11, 11, 15, 15, 17, 17, 18, 18, 19, 19, 19, 21, 21}

Nrhiav Hom Kev Teev Npe Zauv Kauj Ruam 7
Nrhiav Hom Kev Teev Npe Zauv Kauj Ruam 7

Kauj Ruam 2. Cov ntaub ntawv tsis yog lej tseem tuaj yeem tshawb rau nws hom zoo li cov ntaub ntawv zauv

Feem ntau cov ntaub ntawv tam sim no muaj nyob hauv cov lej lossis cov lej, yog li nws tuaj yeem ua tiav los ntawm ntau txoj hauv kev. Txawm li cas los xij, qee zaum muaj qee yam uas tsis nyob hauv daim ntawv tus lej. Txawm li cas los xij, hom ntaub ntawv no tseem tuaj yeem tshawb tau yooj yim los ntawm kev tshawb nrhiav cov ntaub ntawv (uas yuav yog hauv daim ntawv ntawm nqe lus) uas tshwm sim ntau zaus. Tab sis koj tsis tuaj yeem pom qhov nruab nrab lossis nruab nrab rau cov ntaub ntawv tsis yog tus lej.

  • Piv txwv li, xav tias koj tab tom tshawb fawb tshuaj lom neeg, uas yog txhawm rau nrhiav seb tsob ntoo twg loj hlob hauv koj cheeb tsam. Cov ntaub ntawv koj tau txais yog {Hluav Taws, Mango, Spruce, Palm, Spruce, Fir, Mango, Mango, Palm, Fir}. Cov ntaub ntawv zoo li no yog hu ua cov ntaub ntawv nominal vim tias txhua cov ntaub ntawv tus nqi yog qhov txawv los ntawm lub npe. Rau qhov piv txwv no, hom yog ntoo vim nws tshwm ntau zaus (tsib zaug).
  • Yog koj saib qhov piv txwv, tsis muaj txoj hauv kev uas koj tuaj yeem suav qhov nruab nrab lossis nruab nrab.
Nrhiav Hom Kev Teev Npe Zauv Kauj Ruam 8
Nrhiav Hom Kev Teev Npe Zauv Kauj Ruam 8

Kauj Ruam 3. Paub tias rau kev faib cov ntaub ntawv tsis sib thooj, hom, nruab nrab, thiab lub ntsiab lus ntawm cov ntaub ntawv yuav zoo ib yam

Raws li tau hais yav dhau los, yuav muaj lub sijhawm thaum qhov nruab nrab, nruab nrab, thiab hom ntawm cov ntaub ntawv teeb tsa zoo ib yam. Ib qho ntawm cov xwm txheej yog tias cov ntaub ntawv muaj qhov sib faib nruj me ntsis ntawm cov txiaj ntsig (uas yog kos hauv daim duab duab yuav tsim Gaussian tswb-puab nkhaus). Vim tias kev faib tawm yog sib npaug, hom ntaub ntawv zoo li qhov no tau txais cov ntaub ntawv uas nyob hauv nruab nrab, vim tias nws yuav tsum yog cov ntaub ntawv uas tshwm sim ntau zaus, thiab vim tias nws yog tus nqi nruab nrab, nws txhais tau tias tus lej kuj yog qhov nruab nrab. Thiab yog tias koj ua lej, lub ntsiab lus yuav ua rau tus lej zoo ib yam.

  • Piv txwv li, los ntawm cov ntaub ntawv {1, 2, 2, 3, 3, 3, 4, 4, 5}, yog tias koj kos duab kab, koj yuav tau txais daim duab ntawm parabola. Cov ntaub ntawv hom yog 3 vim nws tshwm sim ntau zaus, nruab nrab yog 3 vim tias tus lej nyob hauv nruab nrab, thiab qhov nruab nrab yog 1 + 2 + 2 + 3 + 3 + 3 + 4 + 4 + 5 = 27/9 = 3.
  • Cov xwm txheej zoo li no muaj kev zam, uas yog thaum cov ntaub ntawv sib npaug no muaj ntau dua ib hom. Yog tias qhov no yog, vim tias qhov nruab nrab thiab nruab nrab tsis tuaj yeem muaj ntau dua ib tus nqi, tom qab ntawd hom yuav tsis zoo ib yam li qhov nruab nrab thiab nruab nrab.

Lub tswv yim

  • Cov ntaub ntawv tuaj yeem muaj ntau dua ib hom
  • Yog tias tus naj npawb ntawm qhov tshwm sim ntawm txhua tus lej hauv cov ntaub ntawv zoo ib yam, ces hom ntaub ntawv tsis muaj.

Pom zoo: