Skip to content

Commit

Permalink
pycaret-nightly==0.31
Browse files Browse the repository at this point in the history
  • Loading branch information
PyCaret committed Jul 21, 2020
1 parent 3899065 commit 4dd18bd
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
9 changes: 7 additions & 2 deletions pycaret/anomaly.py
Original file line number Diff line number Diff line change
Expand Up @@ -3549,7 +3549,8 @@ def get_outliers(data,
combine_rare_levels=False,
rare_level_threshold=0.1,
remove_multicollinearity=False,
multicollinearity_threshold=0.9):
multicollinearity_threshold=0.9,
n_jobs = -1):

"""
Magic function to get outliers in Power Query / Power BI.
Expand All @@ -3564,8 +3565,12 @@ def get_outliers(data,
else:
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()

seed = 99
Expand Down
6 changes: 4 additions & 2 deletions pycaret/clustering.py
Original file line number Diff line number Diff line change
Expand Up @@ -3800,7 +3800,7 @@ def get_clusters(data,
n_jobs = -1):

"""
Magic function to get clusters in Power Query / Power BI.
Callable from any external environment without requiring setup initialization.
"""

Expand All @@ -3812,13 +3812,15 @@ def get_clusters(data,
else:
ignore_features_pass = ignore_features

global X, data_, seed, n_jobs_param
global X, data_, seed, n_jobs_param, logging_param

data_ = data.copy()

seed = 99

n_jobs_param = n_jobs

logging_param = False

from pycaret import preprocess

Expand Down
2 changes: 1 addition & 1 deletion pycaret/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Author: Moez Ali <[email protected]>
# License: MIT

version_ = "pycaret-nightly-0.30"
version_ = "pycaret-nightly-0.31"

def version():
print(version_)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def readme():

setup(
name="pycaret-nightly",
version="0.30",
version="0.31",
description="Nightly build of PyCaret - An open source, low-code machine learning library in Python.",
long_description=readme(),
long_description_content_type="text/markdown",
Expand Down

0 comments on commit 4dd18bd

Please sign in to comment.