提交 3149f55e 编写于 作者: P PyCaret

pycaret-nightly==0.25

上级 00bbb326
......@@ -2,7 +2,7 @@
# Author: Moez Ali <moez.ali@queensu.ca>
# License: MIT
# Release: PyCaret 2.0x
# Last modified : 09/07/2020
# Last modified : 14/07/2020
def setup(data,
categorical_features = None,
......
......@@ -2,7 +2,7 @@
# Author: Moez Ali <moez.ali@queensu.ca>
# License: MIT
# Release: PyCaret 2.0x
# Last modified : 09/07/2020
# Last modified : 14/07/2020
def setup(data,
target,
......@@ -2297,7 +2297,10 @@ def create_model(estimator = None,
if 'catboost' in mn:
mn = 'CatBoostClassifier'
full_name = model_dict_logging.get(mn)
if mn in model_dict_logging.keys():
full_name = model_dict_logging.get(mn)
else:
full_name = mn
else:
......@@ -2306,10 +2309,10 @@ def create_model(estimator = None,
if 'catboost' in mn:
mn = 'CatBoostClassifier'
try:
if mn in model_dict_logging.keys():
full_name = model_dict_logging.get(mn)
except:
full_name = 'Custom Model'
else:
full_name = mn
logger.info(str(full_name) + ' Imported succesfully')
......
......@@ -2,7 +2,7 @@
# Author: Moez Ali <moez.ali@queensu.ca>
# License: MIT
# Release: PyCaret 2.0x
# Last modified : 09/07/2020
# Last modified : 14/07/2020
def setup(data,
categorical_features = None,
......
......@@ -2,7 +2,7 @@
# Author: Moez Ali <moez.ali@queensu.ca>
# License: MIT
# Release: PyCaret 2.0x
# Last modified : 09/07/2020
# Last modified : 14/07/2020
def setup(data,
target,
......@@ -2289,9 +2289,9 @@ def create_model(estimator = None,
if 'catboost' in mn:
mn = 'CatBoostRegressor'
full_name = model_dict_logging.get(mn)
if full_name is None:
if mn in model_dict_logging.keys():
full_name = model_dict_logging.get(mn)
else:
full_name = mn
logger.info(str(full_name) + ' Imported succesfully')
......
......@@ -2,7 +2,7 @@
# Author: Moez Ali <moez.ali@queensu.ca>
# License: MIT
version_ = "pycaret-nightly-0.24"
version_ = "pycaret-nightly-0.25"
def version():
print(version_)
......
......@@ -13,7 +13,7 @@ with open('requirements.txt') as f:
setup(
name="pycaret-nightly",
version="0.24",
version="0.25",
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.
先完成此消息的编辑!
想要评论请 注册