| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
DataFrame.DecisionTree
Documentation
data TreeConfig Source #
Constructors
| TreeConfig | |
Fields
| |
Instances
| Show TreeConfig Source # | |
Defined in DataFrame.DecisionTree Methods showsPrec :: Int -> TreeConfig -> ShowS # show :: TreeConfig -> String # showList :: [TreeConfig] -> ShowS # | |
| Eq TreeConfig Source # | |
Defined in DataFrame.DecisionTree | |
data SynthConfig Source #
Constructors
| SynthConfig | |
Fields
| |
Instances
| Show SynthConfig Source # | |
Defined in DataFrame.DecisionTree Methods showsPrec :: Int -> SynthConfig -> ShowS # show :: SynthConfig -> String # showList :: [SynthConfig] -> ShowS # | |
| Eq SynthConfig Source # | |
Defined in DataFrame.DecisionTree | |
fitDecisionTree :: Columnable a => TreeConfig -> Expr a -> DataFrame -> Expr a Source #
buildTree :: Columnable a => TreeConfig -> Int -> Text -> [Expr Bool] -> DataFrame -> Expr a Source #
generateNumericConds :: SynthConfig -> DataFrame -> [Expr Bool] Source #
numericExprsWithTerms :: SynthConfig -> DataFrame -> [Expr Double] Source #
generateConditionsOld :: SynthConfig -> DataFrame -> [Expr Bool] Source #
findBestSplit :: Columnable a => TreeConfig -> Text -> [Expr Bool] -> DataFrame -> Maybe (Expr Bool) Source #
calculateGini :: Columnable a => Text -> DataFrame -> Double Source #
majorityValue :: Columnable a => Text -> DataFrame -> a Source #