From 49aced3b7b26c605e5be5f1382df49f05a39a452 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 10 Mar 2022 18:23:47 +0100 Subject: LMT max_depth is broken --- lib/functions.py | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/functions.py b/lib/functions.py index ac92af9..5aa773b 100644 --- a/lib/functions.py +++ b/lib/functions.py @@ -539,6 +539,7 @@ class LMTFunction(SKLearnRegressionFunction): return self.regressor.node_count def get_max_depth(self): + # FIXME this returns the configured maximum depth, not the actual tree depth. return self.regressor.max_depth -- cgit v1.2.3