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

pycaret-nightly==0.25

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