OpenAI Gym Board Games Env for 0.9.6 Above

Since Gym 0.9.6, the board games environment has been removed from the default package as they are not maintained by OpenAI [ref]. This article helps who would like to run their AI on Go or Hex in OpenAI Gym.     Continue Reading
Abner Chou's avatar
Abner Chou Aug 06, 2018

Leetcode VS EPI

This article is still work in progress. Here is a list of problems which both on Leetcode and EPI1. In my opinion, these common appeared questions are more important. Hope this could help job seekers to prepare for their final interviews.     Continue Reading
Abner Chou's avatar
Abner Chou Jul 19, 2018

A Real Scenario Machine Learning Question

Recently I got a real scenario machine learning question, which does not have existing models. I would like to record my thoughts here which may save my time later. Here is the question: A company receives thousands of documents everyday uploaded by our users. Generally these documents are invoices or bills. We would like to extract the vendor​ and amount​ from these documents automatically (i.e. using software rather than human inspection). They store the following pieces of information for each document: The pdf document uploaded by the user (please see example.pdf attached) The text extracted from that pdf (please see example.txt attached - Note: often the extracted text would not be in an order that seems natural to a human reader) Labels of what the vendor and amount should be for each document (in the attached example, vendor would be “Marketing Fuel Biz.”, and amount would be “747.50”). Question: Describe a machine learning solution to this problem. Additon: Some percentage of the stored labels may be incorrect. What would you change to mitigate this problem. The sample pdf and OCR output txt is downloadable.     Continue Reading
Abner Chou's avatar
Abner Chou Jun 18, 2018

DIY SLI Liquid Cooling GPU Computer

It’s kind of shame to say, as a computer science major professional, I have never build my own desktop computer ever, until recent. All because the old desktop dead (purchased 2012), I finally made the decision to DIY a powerful amateur deep learning machine. Here I will record all the pitfalls, caveats, and tricks during the building processes. Hope could provide some help or hint for people would like to build their dream game (or amateur machine learning) machine.     Continue Reading
Abner Chou's avatar
Abner Chou Aug 10, 2017

Auto Sync Github Forked Repos

As a Github heavy user, when I saw an interested repos, I would fork them to my “secret” organization to read/use in future. However, when checked them later, most of the time (99%), the repos have already out of synced. There are three options I normally choose: delete the forked repo and re-fork; manually merge to the latest commit; use the PR and switch the source and destination (ref).     Continue Reading
Abner Chou's avatar
Abner Chou Jul 22, 2017

Build SSL HTTPS Website Using Docker

When you’re visiting my website, you may not see the https in the URL, which means you have been directed to a CDN node other than my VPS server. This doesn’t mean the method doesn’t work. Anyway, let’s begin the talk. The purpose of this post is to help people to avoid the pitfalls that I encountered, and severs as a note for future reference.     Continue Reading
Abner Chou's avatar
Abner Chou Nov 18, 2016

Hexo Top 10 Popular Themes

Hexojs is one of the most popular static site generator based on nodejs [ref]. There are around 75 themes list on the website, here is the top 10 popular ones.     Continue Reading
Abner Chou's avatar
Abner Chou Oct 16, 2016

Goodby Microsoft TechReward

The Microsoft TechRewards Program will close on January 6, 2017. (ref) All challenges have cleaned up now (Oct-06-2016). Really don’t have any hard feeling about this. The only reward attracted me was the AppToCerts, which rewarded you the MS certificate if passed two challenges. Other than it, to achieve a $2 reward, you have to complete at least 3 challenges, and the rewards are all donations. So here I will list the reasons why I think it is going to fail:     Continue Reading
Abner Chou's avatar
Abner Chou Oct 06, 2016

Set up HTTPS Free

Nowadays, it is easy to get an TLS certificate to create HTTPS website (Ref), but it requires the full control of server and configuration to maintain. However, for the casual user, like me this blog, I host my content on a third party server (Github Pages), which strictly forbids to customize server settings. To bypass those limits on server side, we need a middle layer to control all traffics, the Cloudflare is the best tool.     Continue Reading
Abner Chou's avatar
Abner Chou Sep 22, 2016

Coding Play and Learn

I have been planing to come up a list of games that teach people to program. Luckily with the chance got requested to answer on Quora, I spent some time to organize the list.     Continue Reading
Abner Chou's avatar
Abner Chou Sep 03, 2016