-
Notifications
You must be signed in to change notification settings - Fork 788
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
73b7cd3
commit c82d636
Showing
17 changed files
with
3,854 additions
and
434 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
.PHONY: build_ext | ||
build_ext: clean | ||
python setup.py build_ext --force --inplace | ||
|
||
.PHONY: build | ||
build: build_ext | ||
python setup.py bdist_wheel | ||
|
||
.PHONY: install | ||
install: build_ext | ||
pip install . | ||
|
||
.PHONY: test | ||
test: build_ext | ||
pytest -vs --cov causalml/ | ||
python setup.py clean --all | ||
|
||
.PHONY: clean | ||
clean: | ||
python setup.py clean --all | ||
rm -rf ./build ./dist ./causalml.egg-info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
from .causal.causaltree import CausalTreeRegressor, CausalRandomForestRegressor | ||
from .plot import uplift_tree_string, uplift_tree_plot, plot_dist_tree_leaves_values | ||
from .uplift import DecisionTree, UpliftTreeClassifier, UpliftRandomForestClassifier | ||
from .causaltree import CausalMSE, CausalTreeRegressor | ||
from .plot import uplift_tree_string, uplift_tree_plot | ||
from .utils import ( | ||
cat_group, | ||
cat_transform, | ||
cv_fold_index, | ||
cat_continuous, | ||
kpi_transform, | ||
get_tree_leaves_mask, | ||
) |
Empty file.
Oops, something went wrong.