From f154d2e0db1ea5a97b4ad1a3e9f3d043c6e0b913 Mon Sep 17 00:00:00 2001 From: Abelardo Moralejo Date: Thu, 19 Sep 2024 09:51:24 +0200 Subject: [PATCH 1/2] Reduce number of trees in RF regressors Reduced to 150 to 50 trees, physics performance is not impacted, while memory needs will decrease (and speed increase) --- lstchain/data/lstchain_standard_config.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lstchain/data/lstchain_standard_config.json b/lstchain/data/lstchain_standard_config.json index 3935fee3f0..bad8f978ef 100644 --- a/lstchain/data/lstchain_standard_config.json +++ b/lstchain/data/lstchain_standard_config.json @@ -73,7 +73,7 @@ "max_depth": 30, "min_samples_leaf": 10, "n_jobs": -1, - "n_estimators": 150, + "n_estimators": 50, "bootstrap": true, "criterion": "squared_error", "max_features": 1.0, @@ -90,7 +90,7 @@ "max_depth": 30, "min_samples_leaf": 10, "n_jobs": -1, - "n_estimators": 150, + "n_estimators": 50, "bootstrap": true, "criterion": "squared_error", "max_features": 1.0, From 057b1983b888f3da2bf80b2ce7c08567beb8986e Mon Sep 17 00:00:00 2001 From: Abelardo Moralejo Date: Tue, 1 Oct 2024 15:04:21 +0200 Subject: [PATCH 2/2] Change n_estimators also in lstchain_lhfit_config.json --- lstchain/data/lstchain_lhfit_config.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lstchain/data/lstchain_lhfit_config.json b/lstchain/data/lstchain_lhfit_config.json index 05adda2285..fe1e89e3ac 100644 --- a/lstchain/data/lstchain_lhfit_config.json +++ b/lstchain/data/lstchain_lhfit_config.json @@ -69,7 +69,7 @@ "max_depth": 30, "min_samples_leaf": 10, "n_jobs": -1, - "n_estimators": 150, + "n_estimators": 50, "bootstrap": true, "criterion": "squared_error", "max_features": 1.0, @@ -86,7 +86,7 @@ "max_depth": 30, "min_samples_leaf": 10, "n_jobs": -1, - "n_estimators": 150, + "n_estimators": 50, "bootstrap": true, "criterion": "squared_error", "max_features": 1.0,