机器学习模型的简易开发
twodlearn的Python项目详细描述
开发机器学习模型的库。
a.安装
一。安装所需版本的TensorFlow(CPU或GPU)
pip install tensorflow # for CPU pip install tensorflow-gpu # for GPU
2.克隆项目
git clone git@github.com:danmar3/twodlearn.git twodlearn cd twodlearn
三。安装项目
pip install -e .
四。安装附加组件(可选)
pip install -e .[reinforce] pip install -e .[development]
b.使用pytest运行测试
安装pytestpip install -U pytest
使用pytest运行单元测试:
cd twodlearn/tests/ pytest -ra # print a short test summary info at the end of the session pytest -x --pdb # drop to PDB on first failure, then end test session pytest --pdb --maxfail=3 # drop to PDB for first three failures pytest --durations=10 # get the test execution time pytest --lf # to only re-run the failures. pytest --cache-clear # clear the cache of failed tests
v0.6的路线图
- [X]迁移到TF 1.14
- []添加文档
- []将项目添加到PYPI
- []创建图层名称空间
- [X]为必需和可选的输入参数添加快捷方式
- [X]将check_arguments方法添加到layer和tdlmodel
- [X]get_参数现在支持嵌套结构和嵌套simplename空间
- []不赞成元组初始化
- []不推荐optim
- []将前馈移动到密集
- []cleanup common:清除不推荐使用的描述符并将它们放在单独的文件中
- []删除冗余基类,如tdlobject
- []弃用模板并为估计器设计格式
- []否决期权价值
- []不赞成pyfmi和jmodelica