case class Split(feature: Int, threshold: Double, featureType: FeatureType, categories: List[Double]) extends Product with Serializable
Split applied to a feature
- feature
feature index
- threshold
Threshold for continuous feature. Split left if feature is less than or equal to threshold, else right.
- featureType
type of feature -- categorical or continuous
- categories
Split left if categorical feature value is in this set, else right.
- Annotations
- @Since("1.0.0")
- Source
- Split.scala
- Alphabetic
- By Inheritance
- Split
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Split(feature: Int, threshold: Double, featureType: FeatureType, categories: List[Double])
- feature
feature index
- threshold
Threshold for continuous feature. Split left if feature is less than or equal to threshold, else right.
- featureType
type of feature -- categorical or continuous
- categories
Split left if categorical feature value is in this set, else right.
Value Members
- val categories: List[Double]
- Annotations
- @Since("1.0.0")
- val feature: Int
- Annotations
- @Since("1.0.0")
- val featureType: FeatureType
- Annotations
- @Since("1.0.0")
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val threshold: Double
- Annotations
- @Since("1.0.0")
- def toString(): String
- Definition Classes
- Split → AnyRef → Any