Class/Object

io.radanalytics.silex.cluster

ClusteringTreeModel

Related Docs: object ClusteringTreeModel | package cluster

Permalink

class ClusteringTreeModel extends Serializable

Enhance a Spark DecisionTreeModel object with methods for Random Forest clustering

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ClusteringTreeModel
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ClusteringTreeModel(self: DecisionTreeModel)

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def nodeIterator: Iterator[Node]

    Permalink

    Return an iterator over the nodes of the decision tree

    Return an iterator over the nodes of the decision tree

    returns

    an iterator over the tree nodes, in breadth first order

  14. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. def predictLeafId(features: Vector): Int

    Permalink

    Evaluate a feature vector against a decision tree and return the id of the leaf node it "landed" at

    Evaluate a feature vector against a decision tree and return the id of the leaf node it "landed" at

    features

    The feature vector to evaluate

    returns

    The id of the decision tree leaf node the feature vector reached

  17. def rules(names: PartialFunction[Int, String], catInfo: PartialFunction[Int, Int]): Map[Double, Seq[Seq[Predicate]]]

    Permalink

    Traverse a Spark decision tree and convert each path from root to a leaf into a "rule" that is a sequence of individual predicates representing the decision made at each internal node.

    Traverse a Spark decision tree and convert each path from root to a leaf into a "rule" that is a sequence of individual predicates representing the decision made at each internal node.

    names

    a partial function that returns name of a feature given its index

    catInfo

    a partial function from feature index to number of categories. If an index is not present then it is assumed to be numeric

    returns

    a map from leaf-node prediction values to a collection of all rules that will yield that value.

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

    Permalink
    Definition Classes
    AnyRef
  19. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped