机器学习模型的简易开发

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

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java SimpleFramework和工厂方法   Java适当地处理异常   java单例类不起作用   java小程序和Swing在eclipse中不显示组件   多个键上的java Redisson FastRemove不起作用   java验证请求正文不等于模式   在Java中从URL读取数据   eche RecyclerView项的java Set自定义字体   string Java如何从Date获取HH:mm:ss   当Java应用程序落后于负载均衡器时,在某些URL上强制使用SSL   使用esapi时发生java错误   java使用流根据第二个列表中的值更新一个列表中的对象   组织。openqa。硒。Java中的NoTouchElementException WebDriver?   从JSON字符串Java创建CSV文件