| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
LightGBM.Utils.Types
Description
Some utility types used across the library.
- type PositiveInt = Refined Positive Int
- type IntGreaterThanOne = Refined (GreaterThan 1) Int
- type ProperFraction = Refined (And (Not (LessThan 0)) (Not (GreaterThan 1))) Double
- type OpenProperFraction = Refined (And (GreaterThan 0) (LessThan 1)) Double
- type LeftOpenProperFraction = Refined (And (GreaterThan 0) (Not (GreaterThan 1))) Double
- type OneToTwoLeftSemiClosed = Refined (And (Not (LessThan 1)) (LessThan 2)) Double
- type PositiveDouble = Refined Positive Double
- type NonNegativeDouble = Refined NonNegative Double
- newtype OutLog = OutLog Text
- newtype ErrLog = ErrLog Text
Refined Types
type IntGreaterThanOne = Refined (GreaterThan 1) Int Source #
type ProperFraction = Refined (And (Not (LessThan 0)) (Not (GreaterThan 1))) Double Source #
A Double in the range [0, 1]
type OpenProperFraction = Refined (And (GreaterThan 0) (LessThan 1)) Double Source #
A Double in the range (0, 1)
type LeftOpenProperFraction = Refined (And (GreaterThan 0) (Not (GreaterThan 1))) Double Source #
A Double in the range (0, 1]
type OneToTwoLeftSemiClosed = Refined (And (Not (LessThan 1)) (LessThan 2)) Double Source #
A Double in the range [1, 2)
type NonNegativeDouble = Refined NonNegative Double Source #
A Double >= 0.0
Logging Types
A transcript of the output logging of LightGBM
A transcript of the error logging of LightGBM