cc.factorie.app.classify.backend

C45DecisionTreeTrainer

class C45DecisionTreeTrainer extends DecisionTreeTrainer with TensorSumStatsAndLabels with GainRatioSplitting with SampleSizeStopping with AccuracyBasedPruning

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. C45DecisionTreeTrainer
  2. AccuracyBasedPruning
  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 C45DecisionTreeTrainer()

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 errorPct(node: DTree, stats: Seq[Instance]): Double

    Definition Classes
    AccuracyBasedPruning
  14. def evaluateSplittingCriteria(baseEntropy: Double, withFeature: MutableBucketStats, withoutFeature: MutableBucketStats): Double

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

    Definition Classes
    DecisionTreeTrainer
  16. def finalize(): Unit

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

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

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

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

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

  22. def getEntropy(stats: BucketStats): Double

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

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

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

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

    Definition Classes
    Any
  27. def label(feats: la.Tensor1, node: DTree): Int

    Definition Classes
    AccuracyBasedPruning
  28. def makeLeaf(stats: BucketStats): DTree

  29. var maxDepth: Int

    Definition Classes
    DecisionTreeTrainer
  30. val minSampleSize: Int

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

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

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

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

    Definition Classes
    AccuracyBasedPruning
  35. def samePred(labels: Seq[Label]): Boolean

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

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

    Definition Classes
    AnyRef
  38. def toString(): String

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

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AccuracyBasedPruning

Inherited from SampleSizeStopping

Inherited from GainRatioSplitting

Inherited from TensorSumStatsAndLabels

Inherited from DTreeBucketStats

Inherited from DecisionTreeTrainer

Inherited from AnyRef

Inherited from Any

Ungrouped