Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RFSurrogates
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Package Registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AG Seifert
RFSurrogates
Commits
4507fae7
Verified
Commit
4507fae7
authored
1 year ago
by
Gärber, Florian
Browse files
Options
Downloads
Patches
Plain Diff
Fix broken DynLib link
parent
5d64d357
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
NAMESPACE
+1
-1
1 addition, 1 deletion
NAMESPACE
R/addSurrogates.R
+1
-2
1 addition, 2 deletions
R/addSurrogates.R
with
2 additions
and
3 deletions
NAMESPACE
+
1
−
1
View file @
4507fae7
...
...
@@ -14,4 +14,4 @@ export(var.relations.mfi)
export(var.select.md)
export(var.select.mir)
export(var.select.smd)
useDynLib(Surrogate
MinimalDepth
, .registration = TRUE, .fixes = "C_")
useDynLib(
RF
Surrogate
s
, .registration = TRUE, .fixes = "C_")
This diff is collapsed.
Click to expand it.
R/addSurrogates.R
+
1
−
2
View file @
4507fae7
...
...
@@ -2,7 +2,7 @@
#'
#' This function adds surrogate variables and adjusted agreement values to a forest that was created by getTreeranger.
#'
#' @useDynLib Surrogate
MinimalDepth
, .registration = TRUE, .fixes = "C_"
#' @useDynLib
RF
Surrogate
s
, .registration = TRUE, .fixes = "C_"
#'
#' @param RF random forest object created by ranger (with keep.inbag=TRUE).
#' @param trees list of trees created by getTreeranger.
...
...
@@ -22,7 +22,6 @@
#' \item adj_i: adjusted agreement of variable i
#' }
#' @export
addSurrogates
=
function
(
RF
,
trees
,
s
,
Xdata
,
num.threads
)
{
num.trees
=
length
(
trees
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment