SSH connection to Google Colaboratory and Transfering files from Google Drive

Do like to access the Google Colaboratory directly from your machine? Running your script via terminal and having shell access? Then there is a good news, just do the followings: SSH to Google Colaboratory 1. Install colab_ssh on Google Colaboratory

Add cloudflared and password for root user:

2. Install cloudflared on your machine …

SSH connection to Google Colaboratory and Transfering files from Google Drive Read More »

Developing Redis applications with C++

I have found the following libraries to develop redis applications with c++ : hiredis (only available for c) redis-plus-plus (based on hiredis, available for C++) cpp-redis Asynchronous Multi-Platform, no dependency Installation of redis-plus-plus First lets install hiredis

Then we install redis-plus-plus

Using redis-plus-plus in your application I have created the following CMake to …

Developing Redis applications with C++ Read More »

Mastering git, Part 11, View git history (commit log) of specific lines of code in a file

git blame The git blame command is used to know who/which commit is responsible for the latest changes made to a file. The author/commit of each line can also been seen. git blame does not show the per-line modifications history in the chronological sense. It only shows who was the last person to have changed …

Mastering git, Part 11, View git history (commit log) of specific lines of code in a file Read More »

Metrics for Evaluating Machine Learning Models – Classification

Confusion Matrix Let’s say we have a binary classifier cats and non- cats, we have 1100 test images, 1000 non cats, 100 cats. The output of the classifier is either Positive  which means “cat” or Negative which  means non-cat. The following is called confusion matrix: How to interpret these term is as follows: Correctness of …

Metrics for Evaluating Machine Learning Models – Classification Read More »