date_range Jan. 17, 2019 - Thursday
The contour plot that showing the path of gradient descent often appears in the introductory part of machine learning. The following plot is an classic example from Andrew Ng’s CS229. In this article, I’d like to try and take a record on how to draw such a Gradient Descent contour plot in Python.
date_range Jan. 16, 2019 - Wednesday
Short Answer:
You can do this in vim using the !
command. For instance to count the number of words in the current file you can do:
:! wc %
The %
is replaced by the current filename. To run a script you could call the interpreter on the file - for instance if you are writing a python script:
:! python %
date_range Jan. 16, 2019 - Wednesday
I’ve struggled with Jupyter Notebook for a long time and I have to write it down this time - I don’t like it! And I feel relieved when I found that I’m not alone. And here’re the reasons …
date_range Jan. 14, 2019 - Monday
Use Python
random
library to initialize the pseudo-random number generator.
date_range Dec. 28, 2018 - Friday
Here is a planning for the Maching Learning/Programming Basics knowledge study in the next three month. The plan basically covers Stanford CS229, CS231 and MIT 6.006.
date_range Dec. 28, 2018 - Friday
pandas is an open source, BSD-licensed library providing high-performance, easy-to-use data structures and data analysis tools for the Python programming language.
date_range Dec. 10, 2018 - Monday
This post note a full understanding of a generator in Python.
date_range Dec. 10, 2018 - Monday
As described in the title, it’s exactly what I need currently. Here is an excellent post on this:
There are a bunch of steps for the installation and requires a lot of time for compiling. In this post I’ll update my progress on trying it out on my own home server. Hope it works!
date_range Dec. 10, 2018 - Monday
Recently I was struggling with tensorflow-gpu installation my home server. After couple of rounds of attempts and re-installation. I have to choose Ubuntu-18.04 only (due to my mother board version, both ubuntu-16.04 and debian-9 have network driver issues).
During the time when re-installing the system, setting a static IP address is a common routine that make other computer in the home network easy to access the server. Here I’ll show how to configure static IP Address in Ubuntu 18.04 with netplan.