Class ParameterRandomForest
- java.lang.Object
-
- com.actelion.research.calc.regression.ParameterRegressionMethod
-
- com.actelion.research.calc.regression.randomforest.ParameterRandomForest
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ParameterRegressionMethod>
public class ParameterRandomForest extends ParameterRegressionMethod
ParameterRandomForestModest v. Korff
Created by korffmo1 on 14.01.19.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
MAX_NODES
static double
MTRY
static int
NODE_SIZE
static int
NUM_TREES
static java.lang.String
TAG_MAX_NODES
static java.lang.String
TAG_MTRY
static java.lang.String
TAG_NODE_SIZE
static java.lang.String
TAG_TREES
-
Fields inherited from class com.actelion.research.calc.regression.ParameterRegressionMethod
properties, TAG_NAME, TAG_STRING
-
-
Constructor Summary
Constructors Constructor Description ParameterRandomForest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(ParameterRegressionMethod o)
protected void
decodeProperties2Parameter()
Decodes the properties to the needed variables.double
getFractionMTry()
static java.util.List<java.lang.String>
getHeader()
int
getMaxNodes()
int
getNodeSize()
int
getNumberOfTrees()
static void
main(java.lang.String[] args)
void
setFractionMTry(double fractionMTry)
void
setMaxNodes(int maxNodes)
void
setNodeSize(int nodeSize)
void
setNumTrees(int nTrees)
java.lang.String
toString()
-
Methods inherited from class com.actelion.research.calc.regression.ParameterRegressionMethod
copy, equals, getName, getProperties, read, read, setName, write, write2String
-
-
-
-
Field Detail
-
NUM_TREES
public static final int NUM_TREES
- See Also:
- Constant Field Values
-
MTRY
public static final double MTRY
- See Also:
- Constant Field Values
-
NODE_SIZE
public static final int NODE_SIZE
- See Also:
- Constant Field Values
-
MAX_NODES
public static final int MAX_NODES
- See Also:
- Constant Field Values
-
TAG_TREES
public static final java.lang.String TAG_TREES
- See Also:
- Constant Field Values
-
TAG_MTRY
public static final java.lang.String TAG_MTRY
- See Also:
- Constant Field Values
-
TAG_NODE_SIZE
public static final java.lang.String TAG_NODE_SIZE
- See Also:
- Constant Field Values
-
TAG_MAX_NODES
public static final java.lang.String TAG_MAX_NODES
- See Also:
- Constant Field Values
-
-
Method Detail
-
getNumberOfTrees
public int getNumberOfTrees()
-
getFractionMTry
public double getFractionMTry()
-
getNodeSize
public int getNodeSize()
-
getMaxNodes
public int getMaxNodes()
-
setFractionMTry
public void setFractionMTry(double fractionMTry)
-
setNumTrees
public void setNumTrees(int nTrees)
-
setNodeSize
public void setNodeSize(int nodeSize)
-
setMaxNodes
public void setMaxNodes(int maxNodes)
-
decodeProperties2Parameter
protected void decodeProperties2Parameter()
Description copied from class:ParameterRegressionMethod
Decodes the properties to the needed variables.- Specified by:
decodeProperties2Parameter
in classParameterRegressionMethod
-
compareTo
public int compareTo(ParameterRegressionMethod o)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getHeader
public static java.util.List<java.lang.String> getHeader()
-
main
public static void main(java.lang.String[] args) throws java.io.IOException
- Throws:
java.io.IOException
-
-