How to Install Caffe

Install Caffe on Linux Ubuntu 16.04 My Configurations Linux: Ubuntu 16.04 LTS Anaconda: Anaconda 2 (64-bit), CPU or GPU: CPU Install Caffe 1. Install CUDA 8 (Optional. I failed this installation.) Go to the CUDA download page( ‘ Go to the directory where the downloaded file is located.

I got an error. Hit CTRL+ALT+F1 […]

Kruskal’s Algorithm

Kruskal’s Algorithm Approach: greedy approach Purpose: to find a minimum spanning tree in a weighted graph Example   References Kruskal’s Algorithm | Essay Assignment | Seminar on Advanced Mathematics Spanning Tree | tutorialspoint Kruskal’s Spanning Tree Algorithm | tutorialspoint Prim’s Spanning Tree Algorithm | tutorialspoint


In practice, quicksort outperforms merge sort, and it significantly outperforms selection sort and insertion sort. The average-case running time of quicksort is as good as mergesort’s. That’s because the constant factor hidden in the big-Θ notation for quicksort makes mergesort quite faster than mergesort. Not using additional storage. pivot, split point Example References Overview of quicksort | […]

Black-Scholes Model

The Black-Scholes Equation   : the price of the stock : the price of a derivative(e.g., option) : the strike price of the option : the annualized risk-free interest rate : the standard deviation of the stock’s return : a time in year Other notations in the context : the strike date : the remained time […]

Start to Develop C Programs Using Eclipse in Ubuntu

Installation Open the terminal. Ctrl+Alt+t Update apt-get program

enter the user password Yes-type ‘y’- to all the questions while the installation. Install Java JDK

(You can change jdk version by switching 6 to the version you want.) Yes-type ‘y’- to all the questions while the installation. Install Eclipse

Yes-type ‘y’- to all […]

The Empty String, the Empty List, and Zero All Evaluate to False

The empty string, the empty list, the empty dictionary, the empty set, and zero all evaluate to False.


Conversion Between Str and Bytes

Diagram: Conversion Between Str and Bytes Conversion to String

  Conversion To Bytes

  Write a File in Write Binary Mode (‘wb’)

  Write a File in Write Character Mode (‘w’)