summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoïc Guégan <loic.guegan@mailbox.org>2025-09-22 11:32:34 +0200
committerLoïc Guégan <loic.guegan@mailbox.org>2025-09-22 11:32:50 +0200
commit93458c4fbf21278aa9899ece7da5ca47db603dfc (patch)
treeee980767d276b0ce5a268c2ac8000e5eb9f23b65
parente8b9ee5b5efb85f30d7931dd295bc2e2cb4ff8ad (diff)
Cleaning offline
-rw-r--r--analysis/README.md1
-rw-r--r--analysis/offline.R4
2 files changed, 5 insertions, 0 deletions
diff --git a/analysis/README.md b/analysis/README.md
index 75b0ac5..5930997 100644
--- a/analysis/README.md
+++ b/analysis/README.md
@@ -5,6 +5,7 @@
- kmeans.R: Just here for doing some tests
- offline.R: contains two major functions:
- build_models: To generate K-fold cross-validation results (note that hyper-parameters for decisions tree is fixed (no validation set))
+ - Generate Table II and III
- generate_inputs: generate the inputs for the simulations experiments + the decision tree plots
- Generate Fig 5 (decision tree nodes)
- in-situ.R: Implement the in-situ learning approach (Figure 4a 4b and 4c)
diff --git a/analysis/offline.R b/analysis/offline.R
index c63ddbe..6431326 100644
--- a/analysis/offline.R
+++ b/analysis/offline.R
@@ -209,6 +209,10 @@ generate_inputs=function(ignore_hint=FALSE) {
}
+## Build models and generate performance metrics
+build_models(ignore_hint=FALSE)
+build_models(ignore_hint=TRUE)
+
## Generate inputs
generate_inputs(ignore_hint=FALSE)
generate_inputs(ignore_hint=TRUE)