From c8ec505b9cebc444bea414ec27c34510ef167bad Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Thu, 1 Jun 2023 18:55:43 +0200 Subject: bump libnDPI to 8ea0eaa0d0c4a3be05f67ef7fa1d22c2579cf7d1 * added build fix for Gitlab CI * added friendly C11 check * set required libnDPI versionto 4.7 (ArchLinux ndpi-git sets version to 4.7, which is not released yet) * reduced sklearn-random-forest memory consumption by adjusting min. sample leaf Signed-off-by: Toni Uhlig --- examples/py-machine-learning/sklearn-random-forest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/py-machine-learning/sklearn-random-forest.py') diff --git a/examples/py-machine-learning/sklearn-random-forest.py b/examples/py-machine-learning/sklearn-random-forest.py index 275376ba2..9716f2b83 100755 --- a/examples/py-machine-learning/sklearn-random-forest.py +++ b/examples/py-machine-learning/sklearn-random-forest.py @@ -206,7 +206,7 @@ if __name__ == '__main__': help='Number of sklearn processes during training.') argparser.add_argument('--sklearn-estimators', action='store', type=int, default=1000, help='Number of trees in the forest.') - argparser.add_argument('--sklearn-min-samples-leaf', action='store', type=int, default=5, + argparser.add_argument('--sklearn-min-samples-leaf', action='store', type=int, default=0.0001, help='The minimum number of samples required to be at a leaf node.') argparser.add_argument('--sklearn-class-weight', default='balanced', const='balanced', nargs='?', choices=['balanced', 'balanced_subsample'], -- cgit v1.2.3