The Lipschutz continuity definition inspired me on how to distort a curve to “smooth out” outliers. Smoothing out means that we want to retain most characteristics of a curve if it falls within proximity of the mean (for whatever definition of proximity and mean) and for the part that the...
[more]
Malherbe & Vayatis (2017) Global optimization of Lipschitz functions
A paper on optimization of a Lipschitz continuous function. Algorithms
provided. Useful if the evaluation of function is expensive.
[more]
Python docstring coding standards
Everyone comes up with their own coding standard. Hence we have standards
proliferate, https://xkcd.com/927/:
[more]
Reading DOM in CEFPython3
Scrapy can’t handle Javascript. Therefore I use PhantomJS in Selenium, via GhostDriver, instead. But this is now marked as deprecated (PhantomJS people disagree). Even if it is not, there are some weakness in Selenium+GhostDriver. Most noticeably is that I have no way to tell if the browser is finish rendering...
[more]
A game using Python speech recognition
While trying with the Google AIY voice kit, I developed a math drill game. A
nice try, but the result is not as smooth as what I expected.
[more]