diff --git a/articles/aorsf.html b/articles/aorsf.html index baf35a4f..166911fb 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 @@ -203,11 +203,11 @@
orsf_control_fast()
# control_fast() is much faster
time_net['elapsed'] / time_fast['elapsed']
#> elapsed
-#> 38.38776n_thread
@@ -183,10 +183,10 @@ n_thread
time_1_thread['elapsed'] / time_5_thread['elapsed']
#> elapsed
-#> 0.3702316
+#> 0.3305418
time_1_thread['elapsed'] / time_auto_thread['elapsed']
#> elapsed
-#> 0.7542064Because 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
@@ -222,8 +222,8 @@
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.8415542.
+to evaluate out-of-bag predictions) is 0.8403563.
oobag_fun_brier(y_mat = pbc_orsf[,c('time', 'status')],
s_vec = fit$pred_oobag)
-#> [1] 0.113788
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 stage albumin age -#> 0.109547520 0.048633340 0.031563870 0.024989400 0.023426140 0.020986680 -#> protime chol ascites ast edema trt -#> 0.019175230 0.018283250 0.017884150 0.015850050 0.008054587 0.007685040 -#> hepato spiders alk.phos platelet trig -#> 0.006622980 0.006348670 0.004479150 0.002303970 0.002085840
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 @@ -222,8 +222,8 @@
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 cd2632ac..a1210cc3 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 0d3235e1..24cfb03f 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 2e01b710..24fdc0a6 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 63ee4b3a..926804e9 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 65f381d9..2f328dc7 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-11T17:46Z
+last_built: 2023-10-12T00:39Z
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 980ea87d..e29e9750 100644
--- a/reference/as.data.table.orsf_summary_uni.html
+++ b/reference/as.data.table.orsf_summary_uni.html
@@ -96,14 +96,14 @@