diff --git a/articles/aorsf.html b/articles/aorsf.html index 35e04107..d0f7c387 100644 --- a/articles/aorsf.html +++ b/articles/aorsf.html @@ -174,11 +174,11 @@
You can also compute variable importance using permutation, a @@ -187,13 +187,13 @@
A faster alternative to permutation and negation importance is @@ -202,12 +202,12 @@
orsf_vi_anova(orsf_fit)
-#> ascites bili edema copper albumin age protime
-#> 0.49651047 0.42709313 0.30354480 0.30014500 0.25575816 0.25384974 0.24850000
+#> ascites bili copper edema albumin age protime
+#> 0.49453823 0.42999054 0.30285438 0.30172086 0.25564632 0.25478301 0.24861878
#> stage chol ast hepato spiders sex trig
-#> 0.20914346 0.19153032 0.17189030 0.16325370 0.16284275 0.14321295 0.13550688
+#> 0.20975354 0.19204981 0.17066015 0.16363636 0.16357504 0.14437500 0.13601630
#> alk.phos platelet trt
-#> 0.10722834 0.08011583 0.07639621
+#> 0.10744986 0.08044316 0.07594937
orsf_control_fast()
# control_fast() is much faster
time_net['elapsed'] / time_fast['elapsed']
#> elapsed
-#> 43.80135n_thread
@@ -182,11 +182,11 @@ n_thread
# 5 threads and auto thread are both about 3 times faster than one thread
time_1_thread['elapsed'] / time_5_thread['elapsed']
-#> elapsed
-#> 0.527379
+#> elapsed
+#> 0.3607971
time_1_thread['elapsed'] / time_auto_thread['elapsed']
#> elapsed
-#> 0.8458431Because R is a single threaded language, multi-threading cannot be
applied when orsf()
needs to call R functions from C++,
which occurs when a customized R function is used to find linear
@@ -223,7 +223,7 @@
While these default values do make orsf()
run slower,
they also usually make its predictions more accurate or make the fit
easier to interpret.
The out-of-bag estimate of Harrell’s C-statistic (the default method -to evaluate out-of-bag predictions) is 0.8411376.
+to evaluate out-of-bag predictions) is 0.8382207.
oobag_fun_brier(y_mat = pbc_orsf[,c('time', 'status')],
s_vec = fit$pred_oobag)
-#> [1] 0.113399
Second, you can pass your function into orsf()
, and it
will be used in place of Harrell’s C-statistic:
@@ -327,12 +327,12 @@User-supplied function importance = 'negate') fit_tdep_cstat$importance -#> bili copper sex age protime stage -#> 0.135791530 0.051558880 0.033970150 0.022342230 0.021744550 0.020032660 -#> albumin ascites chol ast edema spiders -#> 0.017664360 0.014590300 0.012003390 0.010647330 0.008558551 0.008320780 -#> trig trt hepato alk.phos platelet -#> 0.006191100 0.004287580 0.004037580 0.003134560 0.000168460
using out-of-bag predictions for the training data
@@ -168,11 +168,11 @@using predictions for a new set of data
@@ -184,11 +184,11 @@in-bag PD indicates relationships that the model has learned during training. This is helpful if your goal is to interpret the @@ -221,9 +221,9 @@
The output shows that the expected predicted mortality risk for men is substantially higher than women at 5 years after baseline.
@@ -276,13 +276,13 @@Now would it be tedious if you wanted to do this for all the variables? You bet. That’s why we made a function for that. As a bonus, the printed output is sorted from most to least important variables.
@@ -296,133 +296,133 @@It’s easy enough to turn this ‘summary’ object into a @@ -431,12 +431,12 @@
id_variable
is an identifier for the current value
of the variable(s) that are in the data. It is redundant if you only
diff --git a/articles/pd_files/figure-html/-orsf_ice-1.png b/articles/pd_files/figure-html/-orsf_ice-1.png
index 8a45f359..8f7e99b7 100644
Binary files a/articles/pd_files/figure-html/-orsf_ice-1.png and b/articles/pd_files/figure-html/-orsf_ice-1.png differ
diff --git a/articles/pd_files/figure-html/unnamed-chunk-13-1.png b/articles/pd_files/figure-html/unnamed-chunk-13-1.png
index 1baab168..d6eec4ba 100644
Binary files a/articles/pd_files/figure-html/unnamed-chunk-13-1.png and b/articles/pd_files/figure-html/unnamed-chunk-13-1.png differ
diff --git a/articles/pd_files/figure-html/unnamed-chunk-8-1.png b/articles/pd_files/figure-html/unnamed-chunk-8-1.png
index 4d319bf8..d517698e 100644
Binary files a/articles/pd_files/figure-html/unnamed-chunk-8-1.png and b/articles/pd_files/figure-html/unnamed-chunk-8-1.png differ
diff --git a/articles/pd_files/figure-html/unnamed-chunk-9-1.png b/articles/pd_files/figure-html/unnamed-chunk-9-1.png
index c2ebd562..63851563 100644
Binary files a/articles/pd_files/figure-html/unnamed-chunk-9-1.png and b/articles/pd_files/figure-html/unnamed-chunk-9-1.png differ
diff --git a/pkgdown.yml b/pkgdown.yml
index 2d388027..62f1264f 100644
--- a/pkgdown.yml
+++ b/pkgdown.yml
@@ -6,7 +6,7 @@ articles:
fast: fast.html
oobag: oobag.html
pd: pd.html
-last_built: 2023-10-14T18:52Z
+last_built: 2023-10-14T20:07Z
urls:
reference: https://bcjaeger.github.io/aorsf/reference
article: https://bcjaeger.github.io/aorsf/articles
diff --git a/reference/as.data.table.orsf_summary_uni.html b/reference/as.data.table.orsf_summary_uni.html
index 7d8b772d..a860b1b0 100644
--- a/reference/as.data.table.orsf_summary_uni.html
+++ b/reference/as.data.table.orsf_summary_uni.html
@@ -96,14 +96,14 @@