Shaojun ZhangDSIE 6.3.4 second highest saleThere are several ways to to solve this problem.Oct 19, 2017Oct 19, 2017
Shaojun ZhangDSIE 6.3.1 consecutive numberFind all job ids that appear at least twice consecutively.Oct 19, 2017Oct 19, 2017
Shaojun ZhangUnderstanding bias-variance tradeoffSuppose we have already fitted a model. Given the true model f and a new observation (x, y), we assume thatOct 17, 2017Oct 17, 2017
Shaojun ZhangConfiguration of PostgreSQL on MacFirst install PostgreSQL following the instructions. Remember to replace the version in the path. After installation, there will be two…Oct 14, 2017Oct 14, 2017
Shaojun ZhangRunning Jupyter Notebook in the backgroundWhen using Jupyter Notebook from the server, it is useful to run it in the background as follows to avoid various disconnection issues. I…Oct 12, 20173Oct 12, 20173
Shaojun ZhangComparing means using partially paired dataIn many cases, we may get data that are partially paired. Some of the data may come from the same subjects and are thus correlated. Here is…Oct 12, 2017Oct 12, 2017