~ 文章, Blog, 教程...

Building recommender systems today requires specialized expertise in analytics, machine learning and software engineering, and learning new skills and tools is difficult and time-consuming. In this post, we will start from scratch, covering some basic fundamental techniques and implementations in Python. In the future posts, we will cover more sophisticated methods such as content-based filtering and collaborative based filtering.



Machine-Learning-with-Python/Recommender Systems - The Fundamentals.ipynb at master · susanli2016/Machine-Learning-with-Python

是的 jupyter 上直接撸的


In the last post, we saw how we could use simple correlational techniques to create a measure of similarity between the books’ users based on their rating records. In this post, we will explain how you can use those same sort of similarity metrics to recommend books to a book’s readers.

What should be a really simple function has turned into a fifty-line gargantuan that’s too hard to read properly because of the sheer number of lines. The culprit; a seriously long if-elsif-else chain. But not to fear; there’s a better way!

TypeError: object() takes no parameters

Modern microprocessors are a very complex piece of machinery with a lot of different parts. I've learned assembler and microprocessors in my undergraduate course some years ago but, as I've been working on higher level software languages for quite some time now, I forgot many things. Lately I decided to revisit some of the topics on microprocessors and to build a very simple model of a microprocessor in Python for education purposes (I work as CS professor). You can find the final source code and some samples at

Plotly has a new member of the Plotly.js chart family: The Sankey diagram. Jupyter notebook is at above the footnote of the blogpost.


所谓蛇窝图... )

I got my hands on a dataset on traffic accidents in Metro Manila early this year, and decided to enter the realm of data science with a simple cleaning and visualization project. The primary goal: supplement the dataset’s human readable location data with geographic coordinates.

Have you ever noticed that Python supports integers of any size? Here is a quick glance at it.

I wanted to make a short post on using Slack’s incoming webhooks feature to post messages to Slack using the human-friendly Requests API in Python3.

Code packages available in PyPI contained modified installation scripts.

In this short blogpost, I will explore few topics to illustrate the interactivity of the jupyter environment and the python availability of high quality libraries in the ecosystem.

The term desktop notifications refer to a graphical control element that communicates certain events to the user without forcing them to react to this notification immediately. In other words, it is a simple application which produces a notification message in form of a pop-up message on desktop.


关键是跨平台哪亲...notify 已经挫了,所以, notify2?

NotifyOSD,takluyver / pynotify2 — Bitbucket ...

依赖 dbus 这个无法安装的模块.... )

Geospatial analysis applies statistical analysis to data that has geographical or geometrical components. In this tutorial, we’ll use Python to learn the basics of acquiring geospatial data, handling it, and visualizing it. More specifically, we’ll do some interactive visualizations of the United States!


GeoPandas 哗...

关键直接支持 中国地图... )

The current blog deals with the case how to implement web analytics in Python. I am enthusiastic about the options that are available inside Google Analytics. Google Analytics has a rich variety of metrics and dimensions available. It has a good visualization and an intuitive Graphic User Interface (GUI). However, in certain situations it makes sense to automate webanalytics and add advanced statistics and visualizations. In the current blog, I will show how to do that using Python.

Transit networks with higher frequency and shorter waiting times will yield a more reliable and empowering experience for passengers than those with lower frequency and longer waiting times.

I needed a quick way to remotely perform system operations: adjusting & muting the system volume, screen brightness, and putting the display to sleep. After exploring several options, I found none of them to be viable for me, and thus, I set out to develop my own solution.


可惜已被和谐了, 只能借鉴思路,在其它 bot 上嗯哼了...


In the example below, I’ve demonstrated how this can be done using Python in a way that doesn’t require deep knowledge of CUDA and its intricacies. For this example, I suggest using the Anaconda Python distribution, which makes managing different Python environments a breeze. Follow the download and setup instructions for Anaconda as given here for your specific operating system.


很久没有说这个游戏了... )

How to share code snippets from command line?


一直有 API 的, 好象也有 subl 的扩展... )

Some time ago we decided to move part of our logic to celery. Several tasks was wrote and in one of them bash script was called, and this task never applied correct: first half of script was executed and then halted. I found that script running in processes, and can’t understand why it just stoped. Then I set some breakpoints in bash script and realised, that script stops at

From dummy variables to Deep category embedding and Cat2vec?—?Part 1 (Basic Methods).

You can join two GeoPandas GeoDataFrames through conventional means with merge, but you can also use sjoin to capitalize on the spatial relationship between two frames.


是的, 没中文什么事儿...



~ 包/模块/库/片段...

2D and 3D Face alignment library build using pytorch


PyTorch 实例...




Responsible for visualization the vulhub or docker.


Vulhub Team做为以收集/制作docker漏洞靶场为基础,并发展Docker相关的开发,MetaDockers用于管理vulhub以及自实现的Docker可视化。build ing...


所以,国货, 只是哪有命令行的自动化效能?这只是给习惯了 excel 的人员用的...


Like posts of my girlfriend's Instagram using web api, don't need any api key and access tokens just login and password


叕一个程序猿嗯哼不存在的铝朋友的好工具... )

Print ASCII graphs in the terminal.



怎么说呢...叕一个看图软件 只是对中文也是无解的...


Convert excel xlsx file's table to csv file, A GUI application on top of python/pyqt and other opensource softwares.


叕一个 office->csv 的工具, 只是这哪儿有头哪... )

( ̄▽ ̄)

    • 猛烈, 这才是语言和工具的正常关系吧...
  • PyConChina2017 议题征集开始
    • 申报表单:





2017年10月22日 8:30  17:00


结果立即在 CPyUG 列表中引发了各种嗯哼, 并有行者组织了议题问卷, 得到稍有不同的期待, 所以, 大会的举行真心得看坚持了. )




关于 ~ DebugUself with DAMA ;-)
点击注册~> 获得 100$ 体验券: DigitalOcean Referral Badge

订阅 substack 体验古早写作:

关注公众号, 持续获得相关各种嗯哼:


**2021.01.11** 因大妈再次创业暂停定期开设, 转换为预约触发:
  • + 扫描预约入群, 学员每满 42 人即启动新一期训练营 ;-)
  • 101camp22.7
  • + 任何问题, 随时邮件提问可也: