cc.factorie.app.classify.backend

DecisionTreeTrainer

trait DecisionTreeTrainer extends AnyRef

Self Type
DecisionTreeTrainer with DTreeBucketStats
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DecisionTreeTrainer
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. abstract type State

Abstract Value Members

  1. abstract def +=(left: (DecisionTreeTrainer.this)#BucketStats, right: (DecisionTreeTrainer.this)#BucketStats): Unit

  2. abstract def -=(left: (DecisionTreeTrainer.this)#BucketStats, right: (DecisionTreeTrainer.this)#BucketStats): Unit

  3. abstract def accumulate(stats: (DecisionTreeTrainer.this)#BucketStats, inst: (DecisionTreeTrainer.this)#Instance): Unit

  4. abstract def evaluateSplittingCriteria(s: (DecisionTreeTrainer.this)#State, withStats: (DecisionTreeTrainer.this)#BucketStats, withoutStats: (DecisionTreeTrainer.this)#BucketStats): Double

  5. abstract def getBucketState(labels: Iterable[(DecisionTreeTrainer.this)#Instance]): (DecisionTreeTrainer.this)#State

  6. abstract def getBucketStats(labels: Iterable[(DecisionTreeTrainer.this)#Instance]): (DecisionTreeTrainer.this)#BucketStats

  7. abstract def getEmptyBucketStats(inst: (DecisionTreeTrainer.this)#Instance): (DecisionTreeTrainer.this)#BucketStats

  8. abstract def getPrediction(stats: (DecisionTreeTrainer.this)#BucketStats): (DecisionTreeTrainer.this)#Label

  9. abstract def makeLeaf(stats: (DecisionTreeTrainer.this)#BucketStats): DTree

  10. abstract def prune(tree: DTree, pruningSet: Seq[(DecisionTreeTrainer.this)#Instance]): DTree

  11. abstract def samePred(labels: Seq[(DecisionTreeTrainer.this)#Label]): Boolean

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def evaluateSplittingCriteria(instances: Seq[(DecisionTreeTrainer.this)#Instance], possibleFeatureThresholds: HashMap[Int, Array[Double]]): HashMap[Int, Array[Double]]

  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def getBucketPrediction(labels: Seq[(DecisionTreeTrainer.this)#Instance]): (DecisionTreeTrainer.this)#Label

  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. def hasFeature(featureIdx: Int, feats: la.Tensor1, threshold: Double): Boolean

    Annotations
    @inline()
  15. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. var maxDepth: Int

  18. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  21. def shouldStop(stats: Seq[(DecisionTreeTrainer.this)#Instance], depth: Int): Boolean

  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  23. def toString(): String

    Definition Classes
    AnyRef → Any
  24. def train(trainInstances: Seq[(DecisionTreeTrainer.this)#Instance], pruneInstances: Seq[(DecisionTreeTrainer.this)#Instance] = Nil, numFeaturesToUse: Int = 1)(implicit rng: Random): DTree

  25. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped