未验证 提交 30a69366 编写于 作者: D Daiki Katsuragawa 提交者: GitHub

Create test_arules.py (#338)

上级 10f47113
import os, sys
sys.path.insert(0, os.path.abspath(".."))
#compare_models_test
import pytest
import pycaret.arules
import pycaret.datasets
def test():
# loading dataset
data = pycaret.datasets.get_data("france")
# init setup
arul101 = pycaret.arules.setup(data = data,
transaction_id = "InvoiceNo",
item_id = "Description", session_id=123)
# create model
model = pycaret.arules.create_model()
assert 1 == 1
if __name__ == "__main__":
test()
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册