coef.joinet.html 7.38 KB
Newer Older
 Armin Rauschenberger committed Mar 15, 2019 1 2   Armin Rauschenberger committed Jul 31, 2019 3   Armin Rauschenberger committed Mar 15, 2019 4 5 6 7 8   Armin Rauschenberger committed Jul 31, 2019 9 Extract Coefficients — coef.joinet • joinet  Armin Rauschenberger committed Mar 15, 2019 10 11   Armin Rauschenberger committed Jul 31, 2019 12   Armin Rauschenberger committed Mar 15, 2019 13   Armin Rauschenberger committed Jul 31, 2019 14   Armin Rauschenberger committed Mar 15, 2019 15   Armin Rauschenberger committed Jul 31, 2019 16   Armin Rauschenberger committed Mar 15, 2019 17 18   Armin Rauschenberger committed Jul 31, 2019 19   Armin Rauschenberger committed Mar 15, 2019 20 21   Armin Rauschenberger committed Jul 31, 2019 22   Armin Rauschenberger committed Mar 15, 2019 23 24 25 26 27 28 29 30 31 32   Armin Rauschenberger committed Jul 31, 2019 33   Armin Rauschenberger committed Mar 15, 2019 34   Armin Rauschenberger committed Jun 07, 2019 35   Armin Rauschenberger committed Mar 15, 2019 38 39 40 41 42   Armin Rauschenberger committed Jul 31, 2019 43 44   Armin Rauschenberger committed Mar 15, 2019 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 
 Armin Rauschenberger committed Jun 07, 2019 120 

Extracts pooled coefficients.  Armin Rauschenberger committed Jul 31, 2019 121 122 (The meta learners linearly combines the coefficients from the base learners.)

 Armin Rauschenberger committed Mar 15, 2019 123 124 125 
 Armin Rauschenberger committed Jul 31, 2019 126 
# S3 method for joinet 
Armin Rauschenberger committed Jul 31, 2019  127                                                                                                                              coef(object, ...)
 Armin Rauschenberger committed Mar 15, 2019 128 129 130 131 132 

Arguments

object

joinet object

...

further arguments (not applicable)

 Armin Rauschenberger committed Jun 07, 2019 133   Armin Rauschenberger committed Jul 31, 2019 134   Armin Rauschenberger committed Mar 15, 2019 135 136 137 138 139 140 141 142 143 

Examples

 Armin Rauschenberger committed Jun 07, 2019 144 
n <- 30; q <- 2; p <- 20  Armin Rauschenberger committed Jul 31, 2019 145 146 Y <- matrix(rnorm(n*q),nrow=n,ncol=q) X <- matrix(rnorm(n*p),nrow=n,ncol=p)  Armin Rauschenberger committed Jul 31, 2019 147 object <- joinet(Y=Y,X=X)  Armin Rauschenberger committed Jul 31, 2019 148 coef <- coef(object)
 Armin Rauschenberger committed Mar 15, 2019 149 150 151 152 153