| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
DataFrame.Boosting.AdaBoost
Description
AdaBoost (SAMME) over short, sample-weighted classification trees. The
weighted-Gini stump fitter here is self-contained (it reuses the CART feature
encoding but not the unweighted CART recursion), so the existing decision-tree
path is untouched. predict is the arg-max of weighted votes.
Synopsis
- module DataFrame.Model
- data AdaBoostConfig = AdaBoostConfig {
- abNEstimators :: !Int
- abMaxDepth :: !Int
- defaultAdaBoostConfig :: AdaBoostConfig
- data AdaBoostModel a = AdaBoostModel {}
Documentation
module DataFrame.Model
data AdaBoostConfig Source #
Constructors
| AdaBoostConfig | |
Fields
| |
Instances
| Show AdaBoostConfig Source # | |||||||||
Defined in DataFrame.Boosting.AdaBoost Methods showsPrec :: Int -> AdaBoostConfig -> ShowS # show :: AdaBoostConfig -> String # showList :: [AdaBoostConfig] -> ShowS # | |||||||||
| Eq AdaBoostConfig Source # | |||||||||
Defined in DataFrame.Boosting.AdaBoost Methods (==) :: AdaBoostConfig -> AdaBoostConfig -> Bool # (/=) :: AdaBoostConfig -> AdaBoostConfig -> Bool # | |||||||||
| (Columnable a, Ord a) => Fit AdaBoostConfig (Expr a) Source # | |||||||||
Defined in DataFrame.Boosting.AdaBoost Associated Types
| |||||||||
| type FrameReq AdaBoostConfig (Expr a) Source # | |||||||||
Defined in DataFrame.Boosting.AdaBoost | |||||||||
| type ModelOf AdaBoostConfig (Expr a) Source # | |||||||||
Defined in DataFrame.Boosting.AdaBoost | |||||||||
data AdaBoostModel a Source #
A fitted SAMME model: per-stage weights and stumps over the class set.
Constructors
| AdaBoostModel | |
Instances
| Show a => Show (AdaBoostModel a) Source # | |||||
Defined in DataFrame.Boosting.AdaBoost Methods showsPrec :: Int -> AdaBoostModel a -> ShowS # show :: AdaBoostModel a -> String # showList :: [AdaBoostModel a] -> ShowS # | |||||
| (Columnable a, Ord a) => Predict (AdaBoostModel a) Source # | |||||
Defined in DataFrame.Boosting.AdaBoost Associated Types
Methods predict :: AdaBoostModel a -> Prediction (AdaBoostModel a) Source # | |||||
| type Prediction (AdaBoostModel a) Source # | |||||
Defined in DataFrame.Boosting.AdaBoost | |||||