Skip to content
prio-dataPublic

About

Hurdle models in Python

Resources

Stars

1 star

Watchers

2 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

Repository files navigation

Hurdle

tests status

This package contains an implementation of Hurdle Regression, based in part on Geoff Ruddocks implementation and Håvard Hegres 2022 adaption of his implementation.

Installation

pip install hurdle

To use the hurdle.menu_hurdle_estimator.MenuHurdleEstimator module you also need to install the xgboost and lightgbm packages.

Usage

from hurdle import HurdleEstimator
from sklearn import linear_model

est = HurdleEstimator(linear_model.LogisticRegression(), linear_model.LinearModel())

est.fit(...)

About

Hurdle models in Python

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages