search for: test_tree

Displaying 4 results from an estimated 4 matches for "test_tree".

2005 Jan 25
3
multi-class classification using rpart
...I used my small-sampled data as below, the program seems to take forever. I am not sure if it is due to slowness or there is something wrong with my codes or data manipulation. Please be advised ! The data is described as the output from str() function. The call to rpart is like: library(rpart) test_tree<-rpart(x$V142 ~ ., data=x, parms=list(split='gini'), cp =0.01) the response variable is $V142, with 3 levels. Thanks for your suggestions! Ed. > str(x) `data.frame': 500 obs. of 142 variables $ V1 : int 4 4 4 4 4 4 4 4 4 4 ... $ V2 : Factor w/ 8 levels "1",&q...
2016 Dec 09
0
BSWAP matching in codegen
...exercise the cascade pattern, and I remember now our fix is > confined to the tree case. > > I hesitate to claim now that there’s no coverage for the tree pattern, > but it is failing to match the patterns we use in our tests, one of > which looks like this: > > define i32 @test_tree(i32 %x) { > > %byte0 = and i32 %x, 255 ; 0x000000ff > > %byte1 = and i32 %x, 65280 ; 0x0000ff00 > > %byte2 = and i32 %x, 16711680 ; 0x00ff0000 > > %byte3 = and i32 %x, 4278190080 ; 0xff000000 > > %tmp0 = shl i32 %byte0, 8 > > %tmp1 = lshr...
2005 Jan 25
0
Collapsing solution to the question discussed above: Re: multi-class classification using rpart
...wrong with my codes or data manipulation. > >>> > >>>Please be advised ! > >>> > >>>The data is described as the output from str() function. The call to > >>>rpart is like: > >>> > >>>library(rpart) > >>>test_tree<-rpart(x$V142 ~ ., data=x, > >>>parms=list(split='gini'), cp =0.01) > >>> > >>>the response variable is $V142, with 3 levels. > >>> > >>>Thanks for your suggestions! > >>> > >>>Ed. > >> > >...
2016 Dec 08
2
BSWAP matching in codegen
>> Are you sure there isn't any test coverage? As far as I can tell, the tests from https://reviews.llvm.org/rL133503 are still in the tree. I looked at those, but none of them include the full pattern that decomposes into bswap and rol. I debugged through the X86 bswap.ll test and verified none of those cases make it through MatchBSwapHWord (they get handled in MatchBSwapHWordLow