diff --git a/articles/aorsf.html b/articles/aorsf.html index 58f7aa70..0e7b8056 100644 --- a/articles/aorsf.html +++ b/articles/aorsf.html @@ -136,10 +136,10 @@
orsf_vi_negate(pbc_fit)
-#> bili stage copper sex ast
-#> 0.1796153443 0.0654718662 0.0377992169 0.0300985949 0.0184556866
-#> albumin age edema alk.phos chol
-#> 0.0177062224 0.0172170446 0.0130478892 0.0083611824 0.0069716249
-#> ascites spiders trt platelet trig
-#> 0.0063832024 0.0063499175 0.0015016478 0.0007794253 0.0007182015
-#> protime hepato
-#> -0.0006160457 -0.0065521643
+#> bili stage ascites copper edema sex
+#> 0.160185833 0.042419910 0.037004321 0.029450477 0.025523886 0.021037248
+#> ast age hepato albumin trt chol
+#> 0.020497704 0.020317763 0.020162922 0.015865138 0.007418603 0.005756730
+#> alk.phos protime spiders trig platelet
+#> 0.003328945 -0.002559019 -0.006195550 -0.007907720 -0.009315955
You can also compute variable importance using @@ -237,12 +235,14 @@
orsf_vi_permute(pbc_fit)
-#> bili copper edema ascites albumin chol
-#> 0.076377458 0.027301164 0.017138302 0.012935499 0.012645786 0.010981566
-#> stage platelet age alk.phos sex spiders
-#> 0.008385515 0.006916673 0.006300806 0.006115436 0.005605453 0.002729921
-#> ast protime hepato trig trt
-#> 0.001706344 0.001490477 -0.002072969 -0.003145736 -0.003454973
+#> bili ascites copper age ast
+#> 0.0770176686 0.0286127351 0.0222179569 0.0158979928 0.0105580692
+#> alk.phos hepato trt edema chol
+#> 0.0074408002 0.0054291589 0.0052311839 0.0050824237 0.0038163615
+#> sex stage spiders trig protime
+#> 0.0027274412 0.0002958220 -0.0001345556 -0.0034778432 -0.0042680518
+#> albumin platelet
+#> -0.0130420884 -0.0152792851
A faster alternative to permutation and negation importance is @@ -251,12 +251,12 @@
orsf_vi_anova(pbc_fit)
-#> edema ascites bili copper stage chol alk.phos
-#> 0.42139078 0.37500000 0.31818182 0.28000000 0.26923077 0.26315789 0.25000000
-#> age albumin protime platelet sex ast trig
-#> 0.25000000 0.22222222 0.21428571 0.19047619 0.16666667 0.10714286 0.09090909
-#> hepato spiders trt
-#> 0.04761905 0.00000000 0.00000000
+#> ascites bili stage edema albumin sex platelet
+#> 0.54545455 0.40909091 0.31818182 0.31746032 0.31250000 0.26666667 0.24137931
+#> age copper spiders trt trig alk.phos protime
+#> 0.22727273 0.20000000 0.20000000 0.15789474 0.15000000 0.13043478 0.12500000
+#> chol hepato ast
+#> 0.12500000 0.10714286 0.04166667
control
# control_fast() is much faster
time_net['elapsed'] / time_fast['elapsed']
-#> elapsed
-#> 52.71429
+#> elapsed
+#> 56.2
n_thread
@@ -155,7 +155,7 @@ n_thread
#> N trees: 5
#> N predictors total: 17
#> N predictors per node: 5
-#> Average leaves per tree: 20.8
+#> Average leaves per tree: 20
#> Min observations in leaf: 5
#> Min events in leaf: 1
#> OOB stat value: 0.75
@@ -206,7 +206,7 @@ The out-of-bag estimate of 1 (the default method to evaluate -out-of-bag predictions) is 0.796875.
+out-of-bag predictions) is 0.7755585.