Dab tsi algorithm siv Rpart?
Dab tsi algorithm siv Rpart?

Video: Dab tsi algorithm siv Rpart?

Video: Dab tsi algorithm siv Rpart?
Video: dab neeg 1615 siv yis EP 21 2024, Kaum ib hlis
Anonim

Nco ntsoov tias qhov kev siv R ntawm CART algorithm hu ua RPART (Recursive Partitioning Thiab Regression Ntoo). Qhov no yog qhov tseem ceeb vim tias Breiman thiab Co.

Tsis tas li ntawd, Rpart pob hauv R yog dab tsi?

rpart ib : Recursive Partitioning and Regression Trees Recursive partitioning for classification, regression and survival ntoo. Ib qho kev siv ntawm feem ntau ntawm kev ua haujlwm ntawm 1984 phau ntawv los ntawm Breiman, Friedman, Olshen thiab Pob Zeb.

Kuj Paub, dab tsi yog lub laub qauv hauv R? Ib tsob ntoo txiav txim siab yog kev saib xyuas kev kawm kwv yees qauv uas siv cov txheej txheem binary los laij ib lub hom phiaj tus nqi. Nws yog siv rau kev faib (categorical lub hom phiaj sib txawv) los yog regression (nruam lub hom phiaj sib txawv). Li no, nws tseem hu ua CART (Classification & Regression Ntoo).

Ua li no, Rpart Minsplit yog dab tsi?

minsplit yog "tus naj npawb tsawg kawg ntawm kev soj ntsuam uas yuav tsum muaj nyob rau hauv ib qho kev txiav txim rau kev sib cais kom tau sim" thiab minbucket yog "qhov tsawg kawg nkaus ntawm kev soj ntsuam hauv ib lub davhlau ya nyob twg". Saib qhov ntawd rpart ib encoded peb boolean sib txawv raws li ib tug integer (false = 0, true = 1).

Puas yog Rpart ua hla validation?

1 Teb. Cov rpart ib pob qhov kev ua haujlwm plotcp npaj cov Complexity Parameter Table rau ib qho rpart ib tsob ntoo haum rau ntawm daim ntawv qhia kev cob qhia. Koj tsis tas yuav muab lwm yam ntxiv kev lees paub datasets thaum siv lub luag haujlwm plotcp. Tom qab ntawd nws siv 10-fold ntoo khaub lig - kev lees paub thiab haum rau txhua tsob ntoo T1

Pom zoo: