Slide 33
Slide 33 text
ύϥϝʔλͷ࣮ྫ
trait XGBoostGeneralParams extends Params {
final val booster: Param[String] = new Param(this,
"booster", // ύϥϝʔλ໊
"which booster to use, can be gbtree or gblinear.", // આ໌
// ύϥϝʔλʹର͢ΔόϦσʔγϣϯϧʔϧ
ParamValidators.inArray(Array("gbtree", "gblinear")))
// setter, getter Λ༻ҙ͢Δ
def setBooster(value: String): this.type = set(booster, value)
def getBooster: String = $(booster)
// σϑΥϧτΛઃఆ͢Δ
setDefault(booster, "gbtree")
}