ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
Parameters.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - CloudViewer: www.cloudViewer.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2024 www.cloudViewer.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
10 // ##########################################################################
11 // # #
12 // # ACLOUDVIEWER PLUGIN: q3DMASC #
13 // # #
14 // # This program is free software; you can redistribute it and/or modify #
15 // # it under the terms of the GNU General Public License as published by #
16 // # the Free Software Foundation; version 2 or later of the License. #
17 // # #
18 // # This program is distributed in the hope that it will be useful, #
19 // # but WITHOUT ANY WARRANTY; without even the implied warranty of #
20 // # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
21 // # GNU General Public License for more details. #
22 // # #
23 // # COPYRIGHT: Dimitri Lague / CNRS / UEB #
24 // # #
25 // ##########################################################################
26 
27 namespace masc {
29  int maxDepth = 25; // To be left as a parameter of the training plugin
30  // (default 25)
32  1; // To be left as a parameter of the training plugin (default 1)
33  // int maxCategories = 0; //Normally not important as there�s no
34  // categorical variable
35  int activeVarCount = 0; // Use 0 as the default parameter (works best)
37  100; // Left as a parameter of the training plugin (default: 100)
38 };
39 
42  float testDataRatio = 0.2f; // percentage of test data
43 };
44 
45 }; // namespace masc
3DMASC classifier
RandomTreesParams rt
Definition: Parameters.h:41