蠎加载 159
原文: Import Python Weekly Newsletter - Issue No 159 欢迎, 来 PyChina/weekly 共同翻译/增订/推荐 周刊 蠎消息 ;-) 该读 ~ 文章, Blog, 教程… 如何加速 Python 应用程序的启动时间? processing time Python 3.7 has new feature to show time for importing modules. This feature is enabled with -X importtime option or PYTHONPROFILEIMPORTTIME environment variable. (是也乎: Py3.7 果断划出很多精力来提升速度 ) 使用文本分析来量化角色 NLTK If you’ve ever worked on a text and wished you could get a list of characters or see how many times each character was mentioned, this is the tutorial for you. (是也乎: NLP 基础分析需求叕一次工具化 ) 在 asyncio 应用程序中寻找内存泄漏 memory leaks, async Sailing into the last two weeks of 2017 that I fully intended to spend experimenting with various eggnog recipes. I was alerted by our DevOps team that our asyncio app was consuming 10GB of memory. That is approximately 100 times more than it should! (是也乎: 等等, Python 也有内存嗯哼问题? 一个从 10亿回到100M 的故事 ) DjangoCon JP 2018 conference DjangoCon JP is a conference for the Django Web framework in Japan. If you’re a seasoned Django pro or just starting, DjangoCon JP is for you. Our goal is for atendees to meet, talk, share tips, discover new ways to use Django, and, most importantly, have FUN. (是也乎: 国外的技术大会世家都是年初, 中国的在年尾…所以, 基于文化还是经济原因呢? ) 路径 flat 即功成 code-quality If you want to write clear and easy to understand software, make sure it has a single success path. A ‘single success path’ means a few things. First, it means that any given function/method/procedure should have a single clear purpose. (是也乎: 很久没有见这种代码品质的经验讨论了… ) 规范化流程教程,第1部分:分布和决定因素 tensorflow This series is written for an audience with a rudimentary understanding of linear algebra, probability, neural networks, and TensorFlow. Knowledge of recent advances in Deep Learning, generative models will be helpful in understanding the motivations and context underlying these techniques, but they are not necessary. 预制 Docker 镜像基于 GPU 来 OpenAI Gym 开发和 TensorFlow docker, tensorflow So, you want to write an agent, competing in the OpenAI Gym, you want to use Keras or TensorFlow or something similar and you don’t want everything installed on your workstation? You have come to the right place! (是也乎: 随着 tensorflow 工具链的增长,这个 Docker 的体积当然的将越来越嗯哼 ) 用 Python 检查 Coinbase 中收支平衡 coinbase Even though Coinbase has a mobile application so you’re able to check your balance on the go, I prefer using their API instead so I can setup custom alerts not available on their platform. (是也乎: Coinbase, 哈, 一看名字就知道是相关什么 ) 使用 bower 通过 Django 管理静态文件 django Sharing a way to manage libraries like bootstrap, jquery with bower without using any external app. (是也乎: 所以, PHP 发明之初就内置的工具, Django 一直在嗯哼 ) 自动模型选择:H2O AutoML modeling In this post, we will use H2O AutoML for auto model selection and tuning. This is an easy way to get a good tuned model with minimal effort on the model selection and parameter tuning side. (是也乎: 叕一个 AI 框架. ) Python 中的逻辑回归 sklearn 好物 ~ 包/模块/库/片段… ...