Skip to content

Commit b559911

Browse files
committed
Filename typo fix
1 parent f4add81 commit b559911

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

README.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ NumericVector fastKm(const arma::mat& data, const size_t& clusters) {
174174
}
175175
```
176176

177-
(Alternatively: `sourceCpp("`[src/fastKM.cpp](src/fastKM.cpp)`")`)
177+
(Alternatively: `sourceCpp("`[src/fastKm.cpp](src/fastKm.cpp)`")`)
178178

179179
```{r kmeans_example, dependson = 'kmeans_source', cache = TRUE}
180180
data(trees, package = "datasets"); data(faithful, package = "datasets")

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ microbenchmark(
103103

104104
| expr | min| lq| mean| median| uq| max| neval|
105105
|:-------|-------:|-------:|-------:|-------:|-------:|-------:|------:|
106-
| native | 0.0025| 0.0032| 0.0061| 0.0049| 0.0074| 0.0233| 100|
107-
| loop | 0.8781| 1.0505| 1.5715| 1.3498| 1.9383| 4.8349| 100|
108-
| Rcpp | 0.0042| 0.0055| 0.0139| 0.0115| 0.0180| 0.0633| 100|
106+
| native | 0.0025| 0.0030| 0.0051| 0.0041| 0.0055| 0.0271| 100|
107+
| loop | 0.8690| 1.0000| 1.3774| 1.2232| 1.6609| 2.9292| 100|
108+
| Rcpp | 0.0043| 0.0069| 0.0149| 0.0118| 0.0174| 0.0944| 100|
109109

110110
Using Libraries
111111
---------------
@@ -141,11 +141,11 @@ microbenchmark(
141141
) %>% summary(unit = "ms") %>% knitr::kable(format = "markdown")
142142
```
143143

144-
| expr | min| lq| mean| median| uq| max| neval|
145-
|:--------|-------:|-------:|-------:|-------:|------:|-------:|------:|
146-
| lm | 0.8931| 1.1371| 1.8570| 1.6065| 2.199| 5.0911| 100|
147-
| fastLm | 0.0980| 0.1187| 0.1960| 0.1608| 0.233| 0.7835| 100|
148-
| RcppArm | 0.1205| 0.1469| 0.2682| 0.1916| 0.277| 3.5515| 100|
144+
| expr | min| lq| mean| median| uq| max| neval|
145+
|:--------|-------:|-------:|-------:|-------:|-------:|-------:|------:|
146+
| lm | 0.8361| 1.0069| 1.6627| 1.3751| 1.9665| 7.4787| 100|
147+
| fastLm | 0.0939| 0.1145| 0.1815| 0.1378| 0.2163| 0.7773| 100|
148+
| RcppArm | 0.1199| 0.1441| 0.2150| 0.1838| 0.2396| 1.0945| 100|
149149

150150
### Fast K-Means
151151

@@ -193,7 +193,7 @@ NumericVector fastKm(const arma::mat& data, const size_t& clusters) {
193193
}
194194
```
195195
196-
(Alternatively: `sourceCpp("`[src/fastKM.cpp](src/fastKM.cpp)`")`)
196+
(Alternatively: `sourceCpp("`[src/fastKm.cpp](src/fastKm.cpp)`")`)
197197
198198
``` r
199199
data(trees, package = "datasets"); data(faithful, package = "datasets")
@@ -207,10 +207,10 @@ microbenchmark(
207207

208208
| expr | min| lq| mean| median| uq| max| neval|
209209
|:-----------------|-------:|-------:|-------:|-------:|-------:|-------:|------:|
210-
| kmeans\_trees | 0.2303| 0.2479| 0.3332| 0.2815| 0.3564| 0.8560| 100|
211-
| fastKm\_trees | 0.0648| 0.0832| 0.1088| 0.0929| 0.1150| 0.4007| 100|
212-
| kmeans\_faithful | 0.2775| 0.2986| 0.5114| 0.3950| 0.6343| 2.0095| 100|
213-
| fastKm\_faithful | 0.1585| 0.2211| 0.3007| 0.2365| 0.3259| 0.8198| 100|
210+
| kmeans\_trees | 0.2301| 0.2515| 0.3552| 0.2841| 0.3655| 1.1422| 100|
211+
| fastKm\_trees | 0.0646| 0.0827| 0.1223| 0.0972| 0.1156| 0.8988| 100|
212+
| kmeans\_faithful | 0.2766| 0.2949| 0.4182| 0.3270| 0.4627| 1.8186| 100|
213+
| fastKm\_faithful | 0.1605| 0.2145| 0.2557| 0.2298| 0.2808| 0.4853| 100|
214214

215215
Modules
216216
-------

0 commit comments

Comments
 (0)