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
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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.