matrans
Model Averaging-Assisted Optimal Transfer Learning
Description
Transfer learning, as a prevailing technique in computer sciences, aims to improve the performance of a target model by leveraging auxiliary information from heterogeneous source data. We provide novel tools for multi-source transfer learning under statistical models based on model averaging strategies, including linear regression models, partially linear models. Unlike existing transfer learning approaches, this method integrates the auxiliary information through data-driven weight assignments to avoid negative transfer. This is the first package for transfer learning based on the optimal model averaging frameworks, providing efficient implementations for practitioners in multi-source data modeling. The details are described in Hu and Zhang (2023) <https://jmlr.org/papers/v24/23-0030.html>.
Downloads
220
Last 30 days
20402nd
533
Last 90 days
1.9K
Last year
Trend: +73.2% (30d vs prior 30d)
10
Last 30 days
24
Last 90 days
103
Last year
Trend: -28.6% (30d vs prior 30d)
1
Last 7 days
13
Last 30 days
0
All-time
autoCRAN-only: this name is served only by autoCRAN, so the count is exact.
CRAN Check Status
Show all 13 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | NOTE |
| r-devel-linux-x86_64-fedora-gcc | NOTE |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check details (2 non-OK)
dependencies in R code
Namespace in Imports field not imported from: ‘formatR’ All declared Imports should be used.
dependencies in R code
Namespace in Imports field not imported from: ‘formatR’ All declared Imports should be used.
Check History
NOTE 11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
dependencies in R code
Namespace in Imports field not imported from: ‘formatR’ All declared Imports should be used.
dependencies in R code
Namespace in Imports field not imported from: ‘formatR’ All declared Imports should be used.
ERROR 10 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
package dependencies
Package required but not available: ‘caret’ See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’ manual.
dependencies in R code
Namespace in Imports field not imported from: ‘formatR’ All declared Imports should be used.
dependencies in R code
Namespace in Imports field not imported from: ‘formatR’ All declared Imports should be used.
NOTE 11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 2, 2026
dependencies in R code
Namespace in Imports field not imported from: ‘formatR’ All declared Imports should be used.
dependencies in R code
Namespace in Imports field not imported from: ‘formatR’ All declared Imports should be used.
ERROR 11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 30, 2026
dependencies in R code
Namespace in Imports field not imported from: ‘formatR’ All declared Imports should be used.
dependencies in R code
Namespace in Imports field not imported from: ‘formatR’ All declared Imports should be used.
re-building of vignette outputs
Error(s) in re-building vignettes: --- re-building 'matrans-vignette.Rmd' using rmarkdown ! Package pdftex.def Error: File `576ac2e6e07db68d9617caa533bb01f5582b1fa8.png' not found: using draft setting. Error: processing vignette 'matrans-vignette.R ...[truncated]... ytex/r/#debugging for debugging tips. See matrans-vignette.log for more info. --- failed re-building 'matrans-vignette.Rmd' SUMMARY: processing the following file failed: 'matrans-vignette.Rmd' Error: Vignette re-building failed. Execution halted
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
dependencies in R code
Namespace in Imports field not imported from: ‘formatR’ All declared Imports should be used.
dependencies in R code
Namespace in Imports field not imported from: ‘formatR’ All declared Imports should be used.