准备你的实验
expstock的Python项目详细描述
[![沃克尔状态](https://app.wercker.com/status/da135ca979d15dcb1ed72e2f5de1f65/s/master"沃克尔状态")(https://app.wercker.com/project/bykey/da135ca979d15dcb1ed72e2f5de1f65)[![许可证:mit](https://img.shields.io/badge/license mit yellow.svg)(https://opensource.org/licenses/mit)[![Gitter聊天](https://badges.gitter.im/gitterhq/gitter.png)(https://gitter.im/expstock/expstock)[![PYPI版本](https://badge.fury.io/py/expstock.svg)(https://badge.fury.io/py/expstock)[![可维护性](https://api.codeculate.com/v1/badges/37c08a214b40cfdc9ac6/maintability)(https://codeculate.com/github/chie8842/expstock/maintability)
expstock
**expstock**是一个管理机器学习、数据分析、仿真等实验结果的工具,等。
当我们试图集成机器学习模型或使用数学模型进行模拟时,我们使用不同的参数或逻辑多次执行相同的脚本或程序。
以便总结或再现我们的实验,综合考虑环境信息是必要的。
用法)
*日志可视化(可选)
=expstock.expstock(exp戋name='test戋expstock,report=true,dbsave=true)
@expstock.expstock(e)
def run(a,b):
return a+b
e.append戋param(a=a,b=b)
e.set戋memo('this is the first experiment')
run(a,b)
`````
下面的实现可能更方便。
```
from expstock import expstock
e.set_memo('这是第一次实验')
e.pre_stock()
result=a+b
e.result=result
e.post_stock()
`````
这是默认设置,我们可以更改它。
```
//n<<
n年年年年久的年年年久的年年年久的年年年久的年年年久的
160;——result.txt
stderr.txt
实验的执行时间-
git_u diff.txt git diff-
git_head.txt git log-n 1--format=%h-
machine_info.txt可以用python内置包"platform"获取的操作系统版本和主机名等机器信息-
memo.txt每次实验。| e=expstock(memo='hoge')或e.set_memo(hoge)
params.txt实验参数。| e=expstock(params=[{'a':a},{'b':b})或e.apend_params(a=a,b=b))
result.txt实验的返回值e.result=func()或在使用decorator
stdout.txt sys.stdout-
stderr.txt sys.stderr-
report.txt以上信息的摘要时自动设置。如果在创建expstock实例时指定'report=true',它将创建report.txt-
e.log dirname)
```
bsave=true)`,某些类型的日志不仅保存在文本表上,而且保存在sqlite表上。
现在,此工具可以可视化您使用"expstock server"进行的实验。
````
>$expstock server
````
[expstock server](./img/expstock server.png)
需要[sqlite](https://www.sqlite.org/index.html)。
同样,我们也欢迎
````
git clone https://github.com/chie8842/expstock
python setup.py install
````
请随时在[Gitter]上撰写问题或与之交谈(https://gitter.im/expstock/expstock)。
expstock
**expstock**是一个管理机器学习、数据分析、仿真等实验结果的工具,等。
当我们试图集成机器学习模型或使用数学模型进行模拟时,我们使用不同的参数或逻辑多次执行相同的脚本或程序。
以便总结或再现我们的实验,综合考虑环境信息是必要的。
用法)
*日志可视化(可选)
=expstock.expstock(exp戋name='test戋expstock,report=true,dbsave=true)
@expstock.expstock(e)
def run(a,b):
return a+b
e.append戋param(a=a,b=b)
e.set戋memo('this is the first experiment')
run(a,b)
`````
下面的实现可能更方便。
```
from expstock import expstock
e.pre_stock()
result=a+b
e.result=result
e.post_stock()
`````
这是默认设置,我们可以更改它。
```
//n<<
n年年年年久的年年年久的年年年久的年年年久的年年年久的
160;——result.txt
stderr.txt
实验的执行时间-
git_u diff.txt git diff-
git_head.txt git log-n 1--format=%h-
machine_info.txt可以用python内置包"platform"获取的操作系统版本和主机名等机器信息-
memo.txt每次实验。| e=expstock(memo='hoge')或e.set_memo(hoge)
params.txt实验参数。| e=expstock(params=[{'a':a},{'b':b})或e.apend_params(a=a,b=b))
result.txt实验的返回值e.result=func()或在使用decorator
stdout.txt sys.stdout-
stderr.txt sys.stderr-
report.txt以上信息的摘要时自动设置。如果在创建expstock实例时指定'report=true',它将创建report.txt-
e.log dirname)
```
bsave=true)`,某些类型的日志不仅保存在文本表上,而且保存在sqlite表上。
现在,此工具可以可视化您使用"expstock server"进行的实验。
````
>$expstock server
````
[expstock server](./img/expstock server.png)
需要[sqlite](https://www.sqlite.org/index.html)。
同样,我们也欢迎
````
git clone https://github.com/chie8842/expstock
python setup.py install
````
请随时在[Gitter]上撰写问题或与之交谈(https://gitter.im/expstock/expstock)。