case class SeedParams(seed: Option[Int], deterministic: Option[Boolean], baggingSeed: Option[Int], featureFractionSeed: Option[Int], extraSeed: Option[Int], dropSeed: Option[Int], dataRandomSeed: Option[Int], objectiveSeed: Option[Int], boostingType: String, objective: String) extends ParamGroup with Product with Serializable
Defines parameters related to seed and determinism for lightgbm.
- seed
Main seed, used to generate other seeds.
- deterministic
Setting this to true should ensure stable results when using the same data and the same parameters.
- baggingSeed
Bagging seed.
- featureFractionSeed
Feature fraction seed.
- extraSeed
Random seed for selecting threshold when extra_trees is true.
- dropSeed
Random seed to choose dropping models. Only used in dart.
- dataRandomSeed
Random seed for sampling data to construct histogram bins.
- objectiveSeed
Random seed for objectives, if random process is needed. Currently used only for rank_xendcg objective.
- boostingType
Boosting type, used to determine if drop seed should be set.
- objective
Objective, used to determine if objective seed should be set.
- Alphabetic
- By Inheritance
- SeedParams
- Product
- Equals
- ParamGroup
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
SeedParams(seed: Option[Int], deterministic: Option[Boolean], baggingSeed: Option[Int], featureFractionSeed: Option[Int], extraSeed: Option[Int], dropSeed: Option[Int], dataRandomSeed: Option[Int], objectiveSeed: Option[Int], boostingType: String, objective: String)
- seed
Main seed, used to generate other seeds.
- deterministic
Setting this to true should ensure stable results when using the same data and the same parameters.
- baggingSeed
Bagging seed.
- featureFractionSeed
Feature fraction seed.
- extraSeed
Random seed for selecting threshold when extra_trees is true.
- dropSeed
Random seed to choose dropping models. Only used in dart.
- dataRandomSeed
Random seed for sampling data to construct histogram bins.
- objectiveSeed
Random seed for objectives, if random process is needed. Currently used only for rank_xendcg objective.
- boostingType
Boosting type, used to determine if drop seed should be set.
- objective
Objective, used to determine if objective seed should be set.
Value Members
-
def
appendParams(sb: ParamsStringBuilder): ParamsStringBuilder
- Definition Classes
- SeedParams → ParamGroup
- val baggingSeed: Option[Int]
- val boostingType: String
- val dataRandomSeed: Option[Int]
- val deterministic: Option[Boolean]
- val dropSeed: Option[Int]
- val extraSeed: Option[Int]
- val featureFractionSeed: Option[Int]
- val objective: String
- val objectiveSeed: Option[Int]
- val seed: Option[Int]
-
def
toString(): String
- Definition Classes
- ParamGroup → AnyRef → Any