lamp.extratrees
package lamp.extratrees
Members list
Type members
Classlikes
case class ClassificationLeaf(targetDistribution: Seq[Double]) extends ClassificationTree
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ClassificationTreeclass Objecttrait Matchableclass AnyShow all
object ClassificationLeaf
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ClassificationLeaf.type
case class ClassificationNonLeaf(left: ClassificationTree, right: ClassificationTree, splitFeature: Int, cutpoint: Double, splitMissingIsLess: Boolean) extends ClassificationTree
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ClassificationTreeclass Objecttrait Matchableclass AnyShow all
object ClassificationNonLeaf
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class ClassificationLeafclass ClassificationNonLeaf
object ClassificationTree
Attributes
- Companion
- trait
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ClassificationTree.type
case class RegressionLeaf(targetMean: Double) extends RegressionTree
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait RegressionTreeclass Objecttrait Matchableclass AnyShow all
object RegressionLeaf
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
RegressionLeaf.type
case class RegressionNonLeaf(left: RegressionTree, right: RegressionTree, splitFeature: Int, cutpoint: Double, splitMissingIsLess: Boolean) extends RegressionTree
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait RegressionTreeclass Objecttrait Matchableclass AnyShow all
object RegressionNonLeaf
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
RegressionNonLeaf.type
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class RegressionLeafclass RegressionNonLeaf
object RegressionTree
Attributes
- Companion
- trait
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
RegressionTree.type
Value members
Concrete methods
def buildForestClassification(data: Mat[Double], target: Vec[Int], sampleWeights: Option[Vec[Double]], numClasses: Int, nMin: Int, k: Int, m: Int, parallelism: Int, seed: Long): Seq[ClassificationTree]
Train an extratrees classifier forest
Train an extratrees classifier forest
Value parameters
- k
-
number of features to consider in each split step. The best among these will be chosen.
- m
-
number of trees
- nMin
-
minimum sample size for splitting a node
- seed
-
Returns a list of ClassificationTree objects which can be passed to
predictClassification
Attributes
def buildForestRegression(data: Mat[Double], target: Vec[Double], nMin: Int, k: Int, m: Int, parallelism: Int, seed: Long): Seq[RegressionTree]
Train an extratrees regression forest
Train an extratrees regression forest
Value parameters
- k
-
number of features to consider in each split step. The best among these will be chosen.
- m
-
number of trees
- nMin
-
minimum sample size for splitting a node
- seed
-
Returns a list of RegressionTree objects which can be passed to
predictRegression
Attributes
In this article