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
268efe6
commit 6423d76
Showing
1 changed file
with
23 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import os, sys | ||
sys.path.insert(0, os.path.abspath("..")) | ||
|
||
import pytest | ||
import pycaret.datasets | ||
import pycaret.preprocess | ||
|
||
def test(): | ||
# loading dataset | ||
data = pycaret.datasets.get_data("juice") | ||
target = "Purchase" | ||
|
||
# preprocess all in one | ||
X = pycaret.preprocess.Preprocess_Path_One(train_data=data, target_variable=target, display_types=False) | ||
|
||
# preprocess all in one unsupervised | ||
X = pycaret.preprocess.Preprocess_Path_Two(train_data=data, display_types=False) | ||
|
||
assert 1 == 1 | ||
|
||
if __name__ == "__main__": | ||
test() | ||
|