提交 4dd18bdf 编写于 作者: P PyCaret

pycaret-nightly==0.31

上级 38990658
...@@ -3549,7 +3549,8 @@ def get_outliers(data, ...@@ -3549,7 +3549,8 @@ def get_outliers(data,
combine_rare_levels=False, combine_rare_levels=False,
rare_level_threshold=0.1, rare_level_threshold=0.1,
remove_multicollinearity=False, remove_multicollinearity=False,
multicollinearity_threshold=0.9): multicollinearity_threshold=0.9,
n_jobs = -1):
""" """
Magic function to get outliers in Power Query / Power BI. Magic function to get outliers in Power Query / Power BI.
...@@ -3564,7 +3565,11 @@ def get_outliers(data, ...@@ -3564,7 +3565,11 @@ def get_outliers(data,
else: else:
ignore_features_pass = ignore_features ignore_features_pass = ignore_features
global X, data_, seed global X, data_, seed, n_jobs_param, logging_param
n_jobs_param = n_jobs
logging_param = False
data_ = data.copy() data_ = data.copy()
......
...@@ -3800,7 +3800,7 @@ def get_clusters(data, ...@@ -3800,7 +3800,7 @@ def get_clusters(data,
n_jobs = -1): n_jobs = -1):
""" """
Magic function to get clusters in Power Query / Power BI. Callable from any external environment without requiring setup initialization.
""" """
...@@ -3812,7 +3812,7 @@ def get_clusters(data, ...@@ -3812,7 +3812,7 @@ def get_clusters(data,
else: else:
ignore_features_pass = ignore_features ignore_features_pass = ignore_features
global X, data_, seed, n_jobs_param global X, data_, seed, n_jobs_param, logging_param
data_ = data.copy() data_ = data.copy()
...@@ -3820,6 +3820,8 @@ def get_clusters(data, ...@@ -3820,6 +3820,8 @@ def get_clusters(data,
n_jobs_param = n_jobs n_jobs_param = n_jobs
logging_param = False
from pycaret import preprocess from pycaret import preprocess
X = preprocess.Preprocess_Path_Two(train_data = data, X = preprocess.Preprocess_Path_Two(train_data = data,
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# Author: Moez Ali <moez.ali@queensu.ca> # Author: Moez Ali <moez.ali@queensu.ca>
# License: MIT # License: MIT
version_ = "pycaret-nightly-0.30" version_ = "pycaret-nightly-0.31"
def version(): def version():
print(version_) print(version_)
......
...@@ -13,7 +13,7 @@ with open('requirements.txt') as f: ...@@ -13,7 +13,7 @@ with open('requirements.txt') as f:
setup( setup(
name="pycaret-nightly", name="pycaret-nightly",
version="0.30", version="0.31",
description="Nightly build of PyCaret - An open source, low-code machine learning library in Python.", description="Nightly build of PyCaret - An open source, low-code machine learning library in Python.",
long_description=readme(), long_description=readme(),
long_description_content_type="text/markdown", long_description_content_type="text/markdown",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册