Recently I converted a python program to C. The python program will run for about 1 hour to finish the task: $ /usr/bin/time -v taskset -c 35 python_program .... ...... User time (seconds): 3553.48 System time (seconds): 97.70 Percent of CPU this job got:... (more…)
Read more »
This article describes techniques to accelerate a Python codebase by exposing parallelized C++ functions using PyBind. It then analyzes the results of the optimization in which parallelizing one 40-line function in a 700-line program yielded up to a 3X en... (more…)
Read more »
Published February 24, 2020Yesterday, we announced an offical Node.js client for the Sight API. That was a short blog post. For Node.js developers all around the world, we reduced the friction of doing state-of-the-art text recogntion to merely specifying... (more…)
Read more »
In this post, I will try to gather all my thoughts on the topic of automatic code formatting and why I personally don't like this approach... (more…)
Read more »
A decision tree can be visualized. A decision tree is one of the many Machine Learning algorithms.
It’s used as classifier: given input data, it is class A or class B? In this lecture we will visualize a decision tree using the Python module pydotplus and... (more…)
Read more »