周刊
各种来源的…
background
世界高速变化
goal
定期 review 一周以来主要变化
trac
汇集各种渠道的周刊, 以及自己每周内省小结吧…
refer.
…TBD
各种来源的…
世界高速变化
定期 review 一周以来主要变化
汇集各种渠道的周刊, 以及自己每周内省小结吧…
…TBD
原文: Import Python Weekly Newsletter - Issue No 156 欢迎, 来 PyChina/weekly 共同翻译/增订/推荐 周刊 蠎消息 ;-) 该读 ~ 文章, Blog, 教程… 贵宾犬/哈巴狗还是维也纳狗? 用 Python 和 Flask 部署一个 Dog Identification TensorFlow 模型 machine learning In this post, we’ll create a demo to see how simple it is to develop a machine learning-based service using Python’s Flask library. 在Python> = 3.6中唯一化列表的最快方法 core-python This is an update to a old blog post from 2006 called Fastest way to uniquify a list in Python. But this, time for Python 3.6. Why, because Python 3.6 preserves the order when inserting keys to a dictionary. How, because the way dicts are implemented in 3.6, the way it does that is different and as an implementation detail the order gets preserved. Then, in Python 3.7, which isn’t released at the time of writing, that order preserving is guaranteed. 与 Paige Bailey 来机器学习101- Podcast podcast This week on the show Scott talks to Data Scientist and AI expert Paige Bailey. What’s the difference between machine learning and deep learning? Do I need to learn R and Python to use machine learning models? Do models need to deploy regularly or can I use them forever? All these questions and more, this week! 用Python构建穷人的深度学习相机 - Make Art with Python deep learning Imagine being able to use a camera that’s able to tell when you’re playing a guitar, or creating a new dance, or just learning new skateboard tricks. It could use the raw image data to tell if you landed a trick or not. Or if you’re doing a new dance routine, what the series of poses are, and how they fit to the music. Python Community is at its Peak at North Bay Python community Generators «- Functions ( R 程序猿视角) R I got in a small argument at a meetup about R. Something about python being a BetterLanguage[tm] than R. One of the arguments was that python is better because the language has support for generators. This was an interesting moment because I definately agree that the way that generators work in python is great. I would even argue that there are parts in python that work better for many tasks than R might (and vise versa). But I wouldn’t argue that R does not a very similar feature to generators in python, but they do require you to think differently. 您 Python Web 应用程序的性能如何? performance This post tries to explain web application performance. Performance means the number of requests per second that can be served by a deployed application. Msgpack vs JSON(使用gzip) msgpack I was curious, how much more efficient is Msgpack at packing a bunch of data into a file I can emit from a web service. 信用卡欺诈检测中的类不平衡 - 第1部分:理解对模型准确性的影响 machine learning Whenever we do classification in ML, we often assume that target label is evenly distributed in our dataset. This helps the training algorithm to learn the features as we have enough examples for all the different cases. For example, in learning a spam filter, we should have good amount of data which corresponds to emails which are spam and non spam. Julia vs. Python: Julia语言在数据科学 | InfoWorld datascience, julia Python has turned into a data science and machine learning mainstay, while Julia was built from the ground up to do the job. (是也乎: 所以, 在 Jupyter 的大光中其它数据分析语言, 也有了一丝活路? ) Python Release Python 3.6.4 new release Python 3.6.4 is the fourth maintenance release of Python 3.6. 2017年十大Python库 - Tryolabs Blog packages (是也乎: 分别是: Pipenv ; PyTorch ; Caffe2 ~ 叕一个 Fb 发现的 DSL ; Pendulum ; Dash ; PyFlux ; Fire ~ 叕一个 CLI 工具构造框架 ; imbalanced-learn ; FlashText ~ 叕一个正则表达式增强工具 ; Luminoth 作者又额外推荐了: PyVips ~ 全新的图片处理模块 ; Requestium ; skorch ~ PyTorch+scikit-learn ) ...
原文: Import Python Weekly Newsletter - Issue No 155 欢迎, 来 PyChina/weekly 共同翻译/增订/推荐 周刊 蠎消息 ;-) 该读 ~ 文章, Blog, 教程… 开源 MonkeyType - 来自 Instagram instagram, opensource Today we are excited to announce we’re open-sourcing MonkeyType, our tool for automatically adding type annotations to your Python 3 code via runtime tracing of types seen. (是也乎: 简单的说, 凡是深入大规模部署 Python 几年后, 无人忍受的了官方版本, 都在根据自己的业务来嗯哼出新的分支… ) Dict to now retain insertion order core-python Tweet 介绍为 Python 的 PrettyPrinter prettify PrettyPrinter is a powerful, syntax-highlighting, and declarative pretty printer for Python 3.6+. It uses a modified Wadler-Leijen layout algorithm, similar to those used in Haskell pretty printer libraries prettyprinter and ansi-wl-pprint, JavaScript’s Prettier, Ruby’s prettyprinter.rb and IPython’s IPython.lib.pretty. It combines the best parts of each and builds more on top to produce the most powerful pretty printer in Python to date. (是也乎: 叕一个对象输出美化模块, 只是, 这种只能满足程序猿私人观赏需求的,能存活多久? ) Python – 正则表达式实用指南 regular expression Regular Expressions are commonly used in Linux command line tools like sed, awk, grep etc. Most programming languages support them in either built – in or through an external library. The main problem of using them is that they difficult to understand, but they are well worth the effort to learn. Using a regular expression can save you a lot of time. (是也乎: 啊…伟大精致易沉迷的 正则表达式 哪… ) Kenneth Reitz – Episode 139 – Podcast.init kenneth Kenneth Reitz has contributed many things to the Python community, including projects such as Requests, Pipenv, and Maya. He also started the community written Hitchhiker’s Guide to Python, and serves on the board of the Python Software Foundation. This week he talks about his career in the Python community and digs into some of his current work. (是也乎: kenneth 老爹继承者之一… ) enlighten command line Enlighten Progress Bar is a console progress bar module for Python. (Yes, another one.) The main advantage of Enlighten is it allows writing to stdout and stderr without any redirection. (是也乎: 叕一个 CLI 进度条模块 ) Twitter 上的 Python 技巧日报 tweet Compare two floats with math.isclose() to see if they are nearly equal #python https://t.co/y9QiKtpbNP" (是也乎: 早已订阅, 然后,无法分享… ) Microsoft 考虑将 Python 作为正式脚本语言添加到 Excel 中 excel Microsoft is considering adding Python as one of the official Excel scripting languages, according to a topic on Excel’s feedback hub opened last month. (是也乎: 迟了20年了…. ) 专家 - Cartoon humor (是也乎: 又一个伪装成程序猿的职业漫画家 ) Django Girls 的三潘市嗯哼 django-girls If you’ve never coded before and want to learn how to make websites, we have good news for you: we are holding a one-day workshop for beginners! It will take place on February 25, 2018 at Collective Health in San Francisco. (是也乎: 去年获得老爹认可的传教活动… ) HereIsWally tensorflow HereIsWally is a Tensorflow project that includes a model for solving Where’s Wally puzzles. It uses Faster RCNN Inception v2 model initially trained on COCO dataset and retrained for finding Wally using transfer learning with Tensorflow Object Detection API. (是也乎: COCO 数据集? 那个电影的? ) 好物 ~ 包/模块/库/片段… ...
原文: Import Python Weekly Newsletter - Issue No 154 欢迎, 来 PyChina/weekly 共同翻译/增订/推荐 周刊 蠎消息 ;-) 该读 ~ 文章, Blog, 教程… 专访:站在数据科学最重要工具背后的人 pandas Interview with none other then Wes McKinney of Pandas. (是也乎: Pandas 之父 Wes McKinney …. ) 优化ed Python docker Turns out there are some optimizations you can do when compiling Python 3.5 and 3.6 that give you some significant speed improvements without any real downside. We’ve paired with with Google’s base Debian image that rips out systemd and all it’s dependencies which yields a MUCH smaller image. (是也乎: 也就是说专用版本的 Python 发行有了标准的渠道 ) 概率论基础 - Peter Norvig probabilty This notebook covers the basics of probability theory, with Python 3 implementations. (You should have some background in probability and Python.) (是也乎: 叕一个 py3 完成的基础学科教程 ) 比较5个数据可视化 Python 工具 visualization It could be challenging to pick the right data visualization tool in Python. There are so many options available. Summarizing most common tools, then testing and comparing different techniques would help to pick the best fit and method for the needed visualization. (是也乎: 5大常见数据可视化框架的比较: 果断 Bokeh 最均衡 ) misocoin bitcoin Barebones bitcoin-like protocol implemented in Python 3.6. (是也乎: 叕一个 Btc-样 协议框架 ) Python 3 整备 pypi This site shows Python 3 support for 360 most downloaded packages on PyPI. (是也乎: 动态统计 py 3 环境下载使用频率最高的 Top 360 包 ) 推荐引擎 - Yelp machine learning Using user review data from Yelp, our aim was to develop a recommendation system to provide a new restaurant suggestion that a user might like. The project was motivated by the fact that recommendation problems are ubiquitious, including the infamous Netflix challenge and “similar items you might like” suggestions from Amazon. Given the diverse application of this problem, we wanted to learn how to develop and implement such system using machine learning. (是也乎: 实战的推荐系统架构经验 ) html5lib-python 1.0 released open source, new release Yesterday, Geoffrey released html5lib 1.0 [1]! The changes aren’t wildly interesting.The more interesting part for me is how the release happened. I’m going to spend the rest of this post talking about that. Those looking to manage / understand the workings behind becoming a maintainer of a open source project should read this. (是也乎: 叕一个尝试嗯哼 H5 的库… ) 为 Selenium Chrome 和 Python 设置 Digital Ocean 服务器 testing (是也乎: FF 发疯关闭 扩展渠道后, 基于 Chrome 扩展的工具就多了起来… ) 用 Wallaroo 在 Python 中嗯哼 Multi-Stream 处理 distributed computing Wallaroo is a high-performance, open-source framework for building distributed stateful applications. (是也乎: 叕一个分布式计算框架 ) Kaggle 内核简介 machine learning On this episode of AI Adventures, find out what Kaggle Kernels are and how to get started using them. Though there’s no popcorn in this episode, but I can assure that Kaggle Kernels are popping! (是也乎: 叕一个 ML 入门教材 ) 用 Python 优化你的 Cryptocurrency 组合 cryptocurrency Bitcoin is now mainstream. While the debate on whether it’s a speculative bubble or the greatest thing since the internet continues, one thing that is irrefutable is that it has attracted a significant amount of investor interest to cryptocurrency and digital assets. (是也乎: 数字货币的入门最佳姿势, 总是从 py 开始… ) 在 Python 中更专业的嗯哼日期时间对象 datetime (是也乎: 多谢 @Geek Cheng 的嗯哼, 一时不查露过了机器翻译的… ) 使用 Apache Spark DataFrames API 进行结构化流式传输 spark 使用 Facebook 的 Prophet 库预测比特币价格 prediction This is just a quick post to show how you can use Facebook’s Prophet forecasting library in python to forecast bitcoin hourly bitcoin prices. 介绍 pymatch 包 pymatch The pymatch Python package implements Propensity Score Matching (PSM) techniques intended for use with observational study designs. It was inspired by and adapted from Jasjeet Singh Sekhon’s Matching package in R. I wrote an adaptation in Python that is better suited for my work at Mozilla (是也乎: 倾向分数匹配(PSM)技术, Mozilla 适用版本… ) 好物 ~ 包/模块/库/片段… ...
原文: Import Python Weekly Newsletter - Issue No 153 欢迎, 来 PyChina/weekly 共同翻译/增订/推荐 周刊 蠎消息 ;-) 该读 ~ 文章, Blog, 教程… Awesome python talks videos An opinionated list of awesome videos related to Python, with a focus on training and gaining hands-on experience. (是也乎: 没有中文分享… ) 对象模型 core-python, oops Here, then, is a (very) brief run through the inner workings of objects in four very dynamic languages. I don’t think I really appreciated objects until I’d spent some time with Python, and I hope this can help someone else whet their own appetite. 用于数据分析的Python - 关键性逐行回顾 pandas A not so nice review of Python for Data Analysis Book (是也乎: 最怕逐行解释的图书了… ) Python软件基金会新闻: PSF 从 Mozilla 开放源代码项目中获得 $ 170,000 赠款,以提高 PyPI 的可持续性 PSF, mozilla Today we are excited to announce that we have applied for, and been awarded, a grant to help improve the sustainability of the Python Package Index in the amount of $170,000. This has been awarded by Mozilla, through the Foundational Technology track of their Open Source Support Program. We would like to thank Mozilla for their support. (是也乎: 细思恐极…mozilla? ) 免费 Apache Spark™ 指南 ebook, advert, free The Definitive Guide to Apache Spark. Download today! (是也乎: 这种广告越多越好 ) 使用 Python 的 Pathlib 模块 - 实用商用 Python pathlib The pathlib module was first included in python 3.4 and has been enhanced in each of the subsequent releases. Pathlib is an object oriented interface to the filesystem and provides a more intuitive method to interact with the filesystem in a platform agnostic and pythonic manner. I recently had a small project where I decided to use pathlib combined with pandas to sort and manage thousands of files in a nested directory structure. Once it all clicked, I really appreciated the capabilities that pathlib provided and will definitely use it in projects going forward. That project is the inspiration for this post. (是也乎: 最常用, 也最无奈的一个模块, 特别是遇到中文… ) 使用 NLTK 可视化 我最爱 专辑的歌词 NLTK A few weeks ago I was enrolled in Python for Data Science by UCSD on EdX.org. It is an introductory course so it starts with the basics but by the end of it you have worked with Twitter’s API, predicted weather using Machine Learning and even done some Natural Language Processing using NLTK. (是也乎: 前提是 lyrics 的语种都兼容吧? 果然和中文歌曲没什么关系 ) python cheat sheet core-python pypika sql PyPika is a Python API for building SQL queries. The motivation behind PyPika is to provide a simple interface for building SQL queries without limiting the flexibility of handwritten SQL. Designed with data analysis in mind, PyPika leverages the builder design pattern to construct queries to avoid messy string formatting and concatenation. It is also easily extended to take full advantage of specific features of SQL database vendors. (是也乎: 可以说叕一个 SQL 的 Py DSL ) 好物 ~ 包/模块/库/片段… ...