AYX学习的阿尔法释放。

ayx-learn的Python项目详细描述


[![代码样式:黑色](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black

#AYX学习

一个[SCIKIT学习](https://scikit-learn.org/stable/)兼容的数据科学工具(如变压器)的基础,建立了Altyx辅助建模和代码收费工具。

##源代码组织

` . ├── README.md ├── ayx_learn: Source code for the ayx_learn package. │   ├── cmd: CLI commands that enable transformers and other functions to be used directly from the command-line. │   ├── transformers: Transformer source code. │   └── utils: Utility functions, such as validation. ├── docs: Sphinx documentation. ├── examples: CLI examples that use ayx_learn/cmd and DVC. ├── notebooks: Jupyter notebooks. ├── requirements-dev.txt: Requirements for development env. ├── requirements.txt: Requirements for building and running in a production env. ├── setup.py ├── tests │   └── unit: pytest unit tests. └── tox.ini: Ini file for tox. `

##规范标准

ayx learn遵循[alteryx python代码标准](https://alteryx.quip.com/qR3kAG4OA32X/Python-Code-Standards

##错误处理和日志记录

ayx learn中的错误/异常按照消息并引发transformer模式,这些模式在[python异常日志记录](https://www.loggly.com/blog/exceptional-logging-of-exceptions-in-python/)的博客中有描述。

按照[为库配置日志记录](https://docs.python.org/3/howto/logging.html#configuring-logging-for-a-library)中的建议,已在ayx\u learn模块作用域初始化空处理程序。 ayx learn的客户机可以很容易地提供一个日志处理程序,通过在客户机中初始化一个处理程序来覆盖nullhandler。 例如

` import logging logging.basicConfig(filename='example.log',level=logging.DEBUG) `

##测试

单元测试使用[pytest](https://docs.pytest.org/)编写,位于/tests/unit中。

[tox](https://tox.readthedocs.io/)可用于创建virtualenv并自动运行pytest单元测试。

##示例

一组基于ayx_learn/cmd的cli示例,使用[dvc](https://dvc.org/)来管理数据、创建和运行管道。

用法

` cd examples/titanic dvc pull dvc repro step_2.csv.dvc `

清除数据文件

` dvc remove -o *.dvc `

##文档

ayx learn遵循[alteryx python文档标准](https://alteryx.quip.com/bFgiAZThHaJv/Python-Documentation-Standards)。

参见[自述](docs/readme.md)。

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

推荐PyPI第三方库


热门话题
java JMSTemplate检查主题是否存在并获取订户计数   选项卡中的java JavaFX窗格   java camel是否对文件使用隐式读锁?   java数字[x]给出了不正确的输出,我不明白为什么   java Java2D图形仅通过OpenGL管道渲染   java如何解析一个整数,当我有一个double的格式时?   java Android动画图片更改   java在按用户定义类型过滤时如何在jooq中形成where子句   java Nullcheck检查先前在Sonar中取消引用的值的第114行的状态   java显示Thymeleaf循环中的ArrayList内容   java ApachePOI即使在执行fileoutputstream之后也不保存excel工作簿。关闭()   java listNode公共方法不访问私有数据成员   尝试模拟静态(不兼容的依赖项)时出现java NoClassDefFoundError或NoSuchMethodError   JavaSelenium自动元素单击返回null   将javaee WAR部署到ColdFusion服务器(用于混合Java ColdFusion应用程序)