Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenDocCN
pycaret
提交
57682ee2
pycaret
项目概览
OpenDocCN
/
pycaret
通知
2
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
pycaret
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
57682ee2
编写于
7月 30, 2020
作者:
P
PyCaret
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
pycaret-nightly==0.44 part 1
上级
009ead2d
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
30 addition
and
7 deletion
+30
-7
pycaret/anomaly.py
pycaret/anomaly.py
+1
-0
pycaret/classification.py
pycaret/classification.py
+1
-0
pycaret/clustering.py
pycaret/clustering.py
+24
-3
pycaret/regression.py
pycaret/regression.py
+2
-2
pycaret/utils.py
pycaret/utils.py
+1
-1
setup.py
setup.py
+1
-1
未找到文件。
pycaret/anomaly.py
浏览文件 @
57682ee2
...
...
@@ -3726,6 +3726,7 @@ def deploy_model(model,
"""
import
sys
import
logging
try
:
...
...
pycaret/classification.py
浏览文件 @
57682ee2
...
...
@@ -11297,6 +11297,7 @@ def deploy_model(model,
"""
import
sys
import
logging
try
:
...
...
pycaret/clustering.py
浏览文件 @
57682ee2
...
...
@@ -3679,6 +3679,29 @@ def save_model(model, model_name, verbose=True):
"""
import
logging
try
:
hasattr
(
logger
,
'name'
)
except
:
logger
=
logging
.
getLogger
(
'logs'
)
logger
.
setLevel
(
logging
.
DEBUG
)
# create console handler and set level to debug
if
logger
.
hasHandlers
():
logger
.
handlers
.
clear
()
ch
=
logging
.
FileHandler
(
'logs.log'
)
ch
.
setLevel
(
logging
.
DEBUG
)
# create formatter
formatter
=
logging
.
Formatter
(
'%(asctime)s:%(levelname)s:%(message)s'
)
# add formatter to ch
ch
.
setFormatter
(
formatter
)
# add ch to logger
logger
.
addHandler
(
ch
)
logger
.
info
(
"Initializing save_model()"
)
logger
.
info
(
"""save_model(model={}, model_name={}, verbose={})"""
.
\
format
(
str
(
model
),
str
(
model_name
),
str
(
verbose
)))
...
...
@@ -3838,9 +3861,6 @@ def predict_model(model,
import
warnings
warnings
.
filterwarnings
(
'ignore'
)
#testing
#no active tests
#general dependencies
from
IPython.display
import
clear_output
,
update_display
import
numpy
as
np
...
...
@@ -3962,6 +3982,7 @@ def deploy_model(model,
"""
import
sys
import
logging
try
:
...
...
pycaret/regression.py
浏览文件 @
57682ee2
...
...
@@ -8557,7 +8557,6 @@ def interpret_model(estimator,
'''
import
sys
import
logging
try
:
...
...
@@ -9847,7 +9846,8 @@ def deploy_model(model,
"""
import
sys
import
logging
try
:
...
...
pycaret/utils.py
浏览文件 @
57682ee2
...
...
@@ -2,7 +2,7 @@
# Author: Moez Ali <moez.ali@queensu.ca>
# License: MIT
version_
=
"pycaret-nightly-0.4
3
"
version_
=
"pycaret-nightly-0.4
4
"
def
version
():
print
(
version_
)
...
...
setup.py
浏览文件 @
57682ee2
...
...
@@ -13,7 +13,7 @@ with open('requirements.txt') as f:
setup
(
name
=
"pycaret-nightly"
,
version
=
"0.4
3
"
,
version
=
"0.4
4
"
,
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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录