Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

R: When running fpRerF in for loop something bad happens. #275

Open
MrAE opened this issue May 29, 2019 · 1 comment
Open

R: When running fpRerF in for loop something bad happens. #275

MrAE opened this issue May 29, 2019 · 1 comment

Comments

@MrAE
Copy link
Collaborator

MrAE commented May 29, 2019

@falkben @jbrowne6

When fpRerF in a for loop something bad happens:

for(i in 1:10){
	X <- Xtrain[ind[[3]], ]
	Y <- Ytrain[ind[[3]]]
	tmp <- fpRerF(as.matrix(X), as.matrix(Y))
}
starting tree 1     
max depth: 5   
avg leaf node depth: 2.41613
num leaf nodes: 2319        
starting tree 1     
max depth: 5   
     ⋮
starting tree 1
max depth: 4
avg leaf node depth: 2.38913
num leaf nodes: 2300
Error in forest_module$growForestGivenX(X, Y) : 
  Unimplemented forest type chosen.
@MrAE MrAE changed the title When running fpRerF in for loop something bad happens. R: When running fpRerF in for loop something bad happens. May 29, 2019
@MrAE MrAE changed the title R: When running fpRerF in for loop something bad happens. R: When running fpRerF in for loop something bad things happens. May 29, 2019
@MrAE MrAE changed the title R: When running fpRerF in for loop something bad things happens. R: When running fpRerF in for loop something bad happens. May 29, 2019
@falkben
Copy link
Contributor

falkben commented May 30, 2019

this is probably related to the singleton class being reused and not cleaned out each time...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants