Packages

p

lamp

extratrees

package extratrees

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. extratrees
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. case class ClassificationLeaf(targetDistribution: Seq[Double]) extends ClassificationTree with Product with Serializable
  2. case class ClassificationNonLeaf(left: ClassificationTree, right: ClassificationTree, splitFeature: Int, cutpoint: Double, splitMissingIsLess: Boolean) extends ClassificationTree with Product with Serializable
  3. sealed trait ClassificationTree extends AnyRef
  4. case class RegressionLeaf(targetMean: Double) extends RegressionTree with Product with Serializable
  5. case class RegressionNonLeaf(left: RegressionTree, right: RegressionTree, splitFeature: Int, cutpoint: Double, splitMissingIsLess: Boolean) extends RegressionTree with Product with Serializable
  6. sealed trait RegressionTree extends AnyRef

Value Members

  1. def buildForestClassification(data: Mat[Double], target: Vec[Int], sampleWeights: Option[Vec[Double]], numClasses: Int, nMin: Int, k: Int, m: Int, parallelism: Int, seed: Long = java.time.Instant.now.toEpochMilli): Seq[ClassificationTree]

    Train an extratrees classifier forest

    Train an extratrees classifier forest

    nMin

    minimum sample size for splitting a node

    k

    number of features to consider in each split step. The best among these will be chosen.

    m

    number of trees

    seed

    Returns a list of ClassificationTree objects which can be passed to predictClassification

  2. def buildForestRegression(data: Mat[Double], target: Vec[Double], nMin: Int, k: Int, m: Int, parallelism: Int, seed: Long = java.time.Instant.now.toEpochMilli): Seq[RegressionTree]

    Train an extratrees regression forest

    Train an extratrees regression forest

    nMin

    minimum sample size for splitting a node

    k

    number of features to consider in each split step. The best among these will be chosen.

    m

    number of trees

    seed

    Returns a list of RegressionTree objects which can be passed to predictRegression

  3. def predictClassification(trees: Seq[ClassificationTree], samples: Mat[Double]): Mat[Double]
  4. def predictRegression(trees: Seq[RegressionTree], samples: Mat[Double]): Vec[Double]
  5. object ClassificationLeaf extends Serializable
  6. object ClassificationNonLeaf extends Serializable
  7. object ClassificationTree
  8. object RegressionLeaf extends Serializable
  9. object RegressionNonLeaf extends Serializable
  10. object RegressionTree

Inherited from AnyRef

Inherited from Any

Ungrouped