Parameter

public struct Parameter : Equatable, Codable

Struct representating parameter for Booster. See https://xgboost.readthedocs.io/en/latest/parameter.html for available parameters.

  • Undocumented

    Declaration

    Swift

    public let name: String
  • Undocumented

    Declaration

    Swift

    public let value: String
  • Declaration

    Swift

    public init(_ name: String, _ value: CustomStringConvertible)
  • Declaration

    Swift

    public init(name: String, value: CustomStringConvertible)

    Parameters

    name

    Name of parameter.

    value

    Value for parameter, can be anything convertible to string.