cc.factorie.app.classify.backend

DecisionStumpTrainer

class DecisionStumpTrainer extends DecisionTreeTrainer with TensorSumStatsAndLabels with GainRatioSplitting with SampleSizeStopping with NoPruning

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DecisionStumpTrainer
  2. NoPruning
  3. SampleSizeStopping
  4. GainRatioSplitting
  5. TensorSumStatsAndLabels
  6. DTreeBucketStats
  7. DecisionTreeTrainer
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DecisionStumpTrainer()

Type Members

  1. type BucketStats = MutableBucketStats

  2. type Instance = DecisionTreeTrainer.Instance

    Definition Classes
    DTreeBucketStats
  3. type Label = la.Tensor1

    Definition Classes
    DTreeBucketStats
  4. class MutableBucketStats extends AnyRef

    Definition Classes
    TensorSumStatsAndLabels
  5. type State = Double

    Definition Classes
    GainRatioSplitting

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. def +=(left: BucketStats, right: BucketStats): Unit

  5. def -=(left: BucketStats, right: BucketStats): Unit

  6. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  8. def accumulate(stats: BucketStats, inst: Instance): Unit

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clone(): AnyRef

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

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

    Definition Classes
    AnyRef → Any
  13. def evaluateSplittingCriteria(baseEntropy: Double, withFeature: MutableBucketStats, withoutFeature: MutableBucketStats): Double

    Definition Classes
    GainRatioSplitting
  14. def evaluateSplittingCriteria(instances: Seq[Instance], possibleFeatureThresholds: HashMap[Int, Array[Double]]): HashMap[Int, Array[Double]]

    Definition Classes
    DecisionTreeTrainer
  15. def finalize(): Unit

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

    Definition Classes
    DecisionTreeTrainer
  17. def getBucketState(instances: Iterable[Instance]): Double

    Definition Classes
    GainRatioSplitting
  18. def getBucketStats(labels: Iterable[Instance]): BucketStats

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

    Definition Classes
    AnyRef → Any
  20. def getEmptyBucketStats(inst: Instance): BucketStats

  21. def getEntropy(stats: BucketStats): Double

    Definition Classes
    GainRatioSplitting
  22. def getPrediction(stats: BucketStats): Label

  23. def hasFeature(featureIdx: Int, feats: la.Tensor1, threshold: Double): Boolean

    Definition Classes
    DecisionTreeTrainer
    Annotations
    @inline()
  24. def hashCode(): Int

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

    Definition Classes
    Any
  26. def makeLeaf(stats: BucketStats): DTree

  27. var maxDepth: Int

    Definition Classes
    DecisionTreeTrainer
  28. val minSampleSize: Int

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

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

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

    Definition Classes
    AnyRef
  32. def prune(tree: DTree, pruningSet: Seq[Instance]): DTree

    Definition Classes
    NoPruning
  33. def samePred(labels: Seq[Label]): Boolean

    Definition Classes
    GainRatioSplitting
  34. def shouldStop(stats: Seq[Instance], depth: Int): Boolean

    Definition Classes
    SampleSizeStopping
  35. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  36. def toString(): String

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

    Definition Classes
    DecisionTreeTrainer
  38. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from NoPruning

Inherited from SampleSizeStopping

Inherited from GainRatioSplitting

Inherited from TensorSumStatsAndLabels

Inherited from DTreeBucketStats

Inherited from DecisionTreeTrainer

Inherited from AnyRef

Inherited from Any

Ungrouped