提交 8877fb31 编写于 作者: P PyCaret

pycaret-nightly==0.41

上级 7f48ccec
......@@ -21,6 +21,7 @@ All notable changes to this project will be documented in this file.
- **NEW FUNCTION: get_config()** New function `get_config` added in `pycaret.classification` `pycaret.regression` `pycaret.clustering` `pycaret.anomaly` `pycaret.nlp` <br/>
- **NEW FUNCTION: set_config()** New function `set_config` added in `pycaret.classification` `pycaret.regression` `pycaret.clustering` `pycaret.anomaly` `pycaret.nlp` <br/>
- **NEW FUNCTION: get_system_logs** New function `get_logs` added in `pycaret.classification` `pycaret.regression` `pycaret.clustering` `pycaret.anomaly` `pycaret.nlp` <br/>
- **REMOVED DEPENDENCIES** `awscli` and `shap` removed from requirements.txt. To use `interpret_model` function in `pycaret.classification` `pycaret.regression` and `deploy_model` function in `pycaret.classification` `pycaret.regression` `pycaret.clustering` `pycaret.anomaly`, these libraries will have to be installed separately. <br/>
# <span style="color:red"> setup </span>
**`pycaret.classification` `pycaret.regression` `pycaret.clustering` `pycaret.anomaly` `pycaret.nlp`** <br/>
......
文件已删除
......@@ -2,7 +2,7 @@
# Author: Moez Ali <moez.ali@queensu.ca>
# License: MIT
# Release: PyCaret 2.0x
# Last modified : 29/07/2020
# Last modified : 30/07/2020
def setup(data,
categorical_features = None,
......@@ -3754,6 +3754,13 @@ def deploy_model(model,
logger.info("""deploy_model(model={}, model_name={}, authentication={}, platform={})""".\
format(str(model), str(model_name), str(authentication), str(platform)))
#checking if awscli available
try:
import awscli
except:
logger.error("awscli library not found. pip install awscli to use deploy_model function.")
sys.exit("awscli library not found. pip install awscli to use deploy_model function.")
#ignore warnings
import warnings
warnings.filterwarnings('ignore')
......
......@@ -2,7 +2,7 @@
# Author: Moez Ali <moez.ali@queensu.ca>
# License: MIT
# Release: PyCaret 2.0x
# Last modified : 29/07/2020
# Last modified : 30/07/2020
def setup(data,
target,
......@@ -9090,6 +9090,13 @@ def interpret_model(estimator,
logger.info("Checking exceptions")
#checking if shap available
try:
import shap
except:
logger.error("shap library not found. pip install shap to use interpret_model function.")
sys.exit("shap library not found. pip install shap to use interpret_model function.")
#allowed models
allowed_models = ['RandomForestClassifier',
'DecisionTreeClassifier',
......@@ -11309,6 +11316,12 @@ def deploy_model(model,
logger.info("""deploy_model(model={}, model_name={}, authentication={}, platform={})""".\
format(str(model), str(model_name), str(authentication), str(platform)))
#checking if awscli available
try:
import awscli
except:
logger.error("awscli library not found. pip install awscli to use deploy_model function.")
sys.exit("awscli library not found. pip install awscli to use deploy_model function.")
#ignore warnings
import warnings
......
......@@ -2,7 +2,7 @@
# Author: Moez Ali <moez.ali@queensu.ca>
# License: MIT
# Release: PyCaret 2.0x
# Last modified : 29/07/2020
# Last modified : 30/07/2020
def setup(data,
categorical_features = None,
......@@ -3990,6 +3990,13 @@ def deploy_model(model,
logger.info("""deploy_model(model={}, model_name={}, authentication={}, platform={})""".\
format(str(model), str(model_name), str(authentication), str(platform)))
#checking if awscli available
try:
import awscli
except:
logger.error("awscli library not found. pip install awscli to use deploy_model function.")
sys.exit("awscli library not found. pip install awscli to use deploy_model function.")
#ignore warnings
import warnings
warnings.filterwarnings('ignore')
......
......@@ -2,7 +2,7 @@
# Author: Moez Ali <moez.ali@queensu.ca>
# License: MIT
# Release: PyCaret 2.0x
# Last modified : 29/07/2020
# Last modified : 30/07/2020
def setup(data,
target,
......@@ -8588,6 +8588,13 @@ def interpret_model(estimator,
logger.info("Checking exceptions")
#checking if shap available
try:
import shap
except:
logger.error("shap library not found. pip install shap to use interpret_model function.")
sys.exit("shap library not found. pip install shap to use interpret_model function.")
#allowed models
allowed_models = ['RandomForestRegressor',
'DecisionTreeRegressor',
......@@ -9869,6 +9876,13 @@ def deploy_model(model,
logger.info("""deploy_model(model={}, model_name={}, authentication={}, platform={})""".\
format(str(model), str(model_name), str(authentication), str(platform)))
#checking if awscli available
try:
import awscli
except:
logger.error("awscli library not found. pip install awscli to use deploy_model function.")
sys.exit("awscli library not found. pip install awscli to use deploy_model function.")
#ignore warnings
import warnings
warnings.filterwarnings('ignore')
......
......@@ -2,7 +2,7 @@
# Author: Moez Ali <moez.ali@queensu.ca>
# License: MIT
version_ = "pycaret-nightly-0.40"
version_ = "pycaret-nightly-0.41"
def version():
print(version_)
......
......@@ -13,7 +13,7 @@ with open('requirements.txt') as f:
setup(
name="pycaret-nightly",
version="0.40",
version="0.41",
description="Nightly build of PyCaret - An open source, low-code machine learning library in Python.",
long_description=readme(),
long_description_content_type="text/markdown",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册