giuseppec / giuseppec/iml

Object storage sizes

Open
#173 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
R
Stars
503
Forks
87
PR merge metrics
No merged PRs in 30d

Description

I have been working with an interaction forest (`intaus`) on 2000 observations that consists of the default 20000 trees (from package diversityForest). This forest uses 306 682 KB disk space. I have applied `Interaction$new` and `FeatureEffects$new` to that forest and stored the resulting objects on disk (R work spaces with a single object each). I end up with the following stored object sizes:
```
hilf <- Predictor$new(intaus, data=as.data.frame(yx2[,-1]), y=yx2[,1], predict.function=predfun)
hilf2 <- Interaction$new(hilf)
## storage size is 1 227 232 KB
fes <- FeatureEffects$new(hilf)
## storage size is 1 248 226 KB
```
To me, these sizes appear excessive. I wonder what functionalities of these objects I might miss that justify these huge object sizes. Or would it perhaps be possible for `Interaction$new` and `FeatureEffects$new` to return smaller objects without sacrificing functionality?

Best, Ulrike

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.